Added binary sensors to dump_config in sensor hub

master
HB 5 years ago
parent 8a9291c8ac
commit 31c3e4aba9

@ -18,6 +18,10 @@ void EmptySensorHub::dump_config(){
for(auto *text_sensor : this->text_sensors_){ for(auto *text_sensor : this->text_sensors_){
LOG_TEXT_SENSOR(" ", "Text sensor", text_sensor); LOG_TEXT_SENSOR(" ", "Text sensor", text_sensor);
} }
for(auto *binary_sensor : this->binary_sensors_){
LOG_BINARY_SENSOR(" ", "Binary sensor", binary_sensor);
}
} }
} //namespace empty_sensor_hub } //namespace empty_sensor_hub

Loading…
Cancel
Save