mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
Include the ID strings when printing the list of initial and repeating
messages during config dump.
This commit is contained in:
parent
a6d300a0b4
commit
b6345bb502
1 changed files with 2 additions and 2 deletions
|
@ -371,11 +371,11 @@ void OpenthermHub::dump_config() {
|
|||
ESP_LOGCONFIG(TAG, " Numbers: %s", SHOW(OPENTHERM_NUMBER_LIST(ID, )));
|
||||
ESP_LOGCONFIG(TAG, " Initial requests:");
|
||||
for (auto type : this->initial_messages_) {
|
||||
ESP_LOGCONFIG(TAG, " - %d", type);
|
||||
ESP_LOGCONFIG(TAG, " - %d (%s)", type, this->opentherm_->message_id_to_str((type)));
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, " Repeating requests:");
|
||||
for (auto type : this->repeating_messages_) {
|
||||
ESP_LOGCONFIG(TAG, " - %d", type);
|
||||
ESP_LOGCONFIG(TAG, " - %d (%s)", type, this->opentherm_->message_id_to_str((type)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue