diff --git a/esp-home-rewrite.yaml b/esp-home-rewrite.yaml index 8a3ccab..980460e 100644 --- a/esp-home-rewrite.yaml +++ b/esp-home-rewrite.yaml @@ -1034,7 +1034,6 @@ output: write_action: - lambda: |- id(gauge0_red_on) = state; - { const char* _s = state ? "LED 0 3 255 0 0\n" : "LED 0 3 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge0_green_indicator_output @@ -1042,7 +1041,6 @@ output: write_action: - lambda: |- id(gauge0_green_on) = state; - { const char* _s = state ? "LED 0 4 0 255 0\n" : "LED 0 4 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge0_status_red_output @@ -1050,7 +1048,6 @@ output: write_action: - lambda: |- id(gauge0_status_red_on) = state; - { const char* _s = state ? "LED 0 5 255 0 0\n" : "LED 0 5 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge0_status_green_output @@ -1058,7 +1055,6 @@ output: write_action: - lambda: |- id(gauge0_status_green_on) = state; - { const char* _s = state ? "LED 0 6 0 255 0\n" : "LED 0 6 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge1_red_indicator_output @@ -1066,7 +1062,6 @@ output: write_action: - lambda: |- id(gauge1_red_on) = state; - { const char* _s = state ? "LED 1 3 255 0 0\n" : "LED 1 3 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge1_green_indicator_output @@ -1074,7 +1069,6 @@ output: write_action: - lambda: |- id(gauge1_green_on) = state; - { const char* _s = state ? "LED 1 4 0 255 0\n" : "LED 1 4 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge1_status_red_output @@ -1082,7 +1076,6 @@ output: write_action: - lambda: |- id(gauge1_status_red_on) = state; - { const char* _s = state ? "LED 1 5 255 0 0\n" : "LED 1 5 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge1_status_green_output @@ -1090,7 +1083,6 @@ output: write_action: - lambda: |- id(gauge1_status_green_on) = state; - { const char* _s = state ? "LED 1 6 0 255 0\n" : "LED 1 6 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge2_red_indicator_output @@ -1098,7 +1090,6 @@ output: write_action: - lambda: |- id(gauge2_red_on) = state; - { const char* _s = state ? "LED 2 3 255 0 0\n" : "LED 2 3 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge2_green_indicator_output @@ -1106,7 +1097,6 @@ output: write_action: - lambda: |- id(gauge2_green_on) = state; - { const char* _s = state ? "LED 2 4 0 255 0\n" : "LED 2 4 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge2_status_red_output @@ -1114,7 +1104,6 @@ output: write_action: - lambda: |- id(gauge2_status_red_on) = state; - { const char* _s = state ? "LED 2 5 255 0 0\n" : "LED 2 5 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge2_status_green_output @@ -1122,7 +1111,6 @@ output: write_action: - lambda: |- id(gauge2_status_green_on) = state; - { const char* _s = state ? "LED 2 6 0 255 0\n" : "LED 2 6 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge3_red_indicator_output @@ -1130,7 +1118,6 @@ output: write_action: - lambda: |- id(gauge3_red_on) = state; - { const char* _s = state ? "LED 3 3 255 0 0\n" : "LED 3 3 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge3_green_indicator_output @@ -1138,7 +1125,6 @@ output: write_action: - lambda: |- id(gauge3_green_on) = state; - { const char* _s = state ? "LED 3 4 0 255 0\n" : "LED 3 4 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge3_status_red_output @@ -1146,7 +1132,6 @@ output: write_action: - lambda: |- id(gauge3_status_red_on) = state; - { const char* _s = state ? "LED 3 5 255 0 0\n" : "LED 3 5 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } - platform: template id: gauge3_status_green_output @@ -1154,7 +1139,6 @@ output: write_action: - lambda: |- id(gauge3_status_green_on) = state; - { const char* _s = state ? "LED 3 6 0 255 0\n" : "LED 3 6 0 0 0\n"; ESP_LOGI("uart_tx", "TX: %s", _s); id(arduino_uart).write_str(_s); } # --------------------------------------------------------------------------- # Native HA lights