Update bthome.cpp

This commit is contained in:
t0urista 2024-10-29 13:37:18 +01:00 committed by GitHub
parent 0a15e03972
commit 1f067faa34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -375,10 +375,13 @@ void BTHome::dump_config() {
} }
#ifdef USE_BINARY_SENSOR #ifdef USE_BINARY_SENSOR
LOG_BINARY_SENSOR(" ", "Window", this->window_); LOG_BINARY_SENSOR(" ", "Window", this->window_);
LOG_BINARY_SENSOR(" ", "Motion", this->motion_);
#endif #endif
#ifdef USE_SENSOR #ifdef USE_SENSOR
LOG_SENSOR(" ", "Illuminance", this->illuminance_); LOG_SENSOR(" ", "Illuminance", this->illuminance_);
LOG_SENSOR(" ", "Battery Level", this->battery_level_); LOG_SENSOR(" ", "Battery Level", this->battery_level_);
LOG_SENSOR(" ", "Temperature", this->temperature_);
LOG_SENSOR(" ", "Humidity", this->humidity_);
#endif #endif
} }