Climate shows relays assignment on dump config
This commit is contained in:
@@ -128,9 +128,11 @@ script:
|
|||||||
#endif
|
#endif
|
||||||
if (!id(is_uploading_tft)) {
|
if (!id(is_uploading_tft)) {
|
||||||
static const char *const TAG = "nspanel_ha_blueprint";
|
static const char *const TAG = "nspanel_ha_blueprint";
|
||||||
uint cooler_relay = ${cooler_relay};
|
const uint cooler_relay = ${cooler_relay};
|
||||||
uint heater_relay = ${heater_relay};
|
const uint heater_relay = ${heater_relay};
|
||||||
ESP_LOGCONFIG(TAG, "Add-on climate:");
|
ESP_LOGCONFIG(TAG, "Add-on climate:");
|
||||||
|
if (cooler_relay != 0) ESP_LOGCONFIG(TAG, " Relay (cooler): %u", cooler_relay);
|
||||||
|
if (heater_relay != 0) ESP_LOGCONFIG(TAG, " Relay (heater): %u", heater_relay);
|
||||||
#ifdef NSPANEL_HA_BLUEPRINT_ADDON_CLIMATE_COOL
|
#ifdef NSPANEL_HA_BLUEPRINT_ADDON_CLIMATE_COOL
|
||||||
ESP_LOGCONFIG(TAG, " Cool: Enabled");
|
ESP_LOGCONFIG(TAG, " Cool: Enabled");
|
||||||
if (cooler_relay == 1 or cooler_relay == 2)
|
if (cooler_relay == 1 or cooler_relay == 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user