Added binary sensors to dump_config in sensor hub
This commit is contained in:
1 parent
8a9291c8ac
commit
31c3e4aba9
1 file changed
+4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user