debug messages

This commit is contained in:
GrKoR
2021-10-29 20:00:05 +03:00
parent a9e6171280
commit 8f4bdbd199
2 changed files with 2 additions and 1 deletions

View File

@@ -2289,6 +2289,7 @@ class AirCon : public esphome::Component, public esphome::climate::Climate {
_debugMsg(F("current status:"), ESPHOME_LOG_LEVEL_DEBUG, __LINE__);
_debugMsg(F(" _hw_initialized = %02X"), ESPHOME_LOG_LEVEL_DEBUG, __LINE__, this->_hw_initialized);
_debugMsg(F(" _has_connection = %02X"), ESPHOME_LOG_LEVEL_DEBUG, __LINE__, this->_has_connection);
_debugMsg(F(" _ac_state = %02X"), ESPHOME_LOG_LEVEL_DEBUG, __LINE__, this->_ac_state);
}
if (!get_hw_initialized()) return;