From b64ef0e21f75430fe71557d410651cd35d41d130 Mon Sep 17 00:00:00 2001 From: neri Date: Sat, 2 Mar 2024 03:10:59 +0100 Subject: [PATCH] no init --- mlock-common.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mlock-common.yaml b/mlock-common.yaml index 65c36fa..ee3f662 100644 --- a/mlock-common.yaml +++ b/mlock-common.yaml @@ -15,19 +15,19 @@ esphome: name: mlock-${name_of_board} platform: ESP8266 board: d1_mini - on_boot: - - priority: -100 - then: - - if: # return LED to switch state before - condition: - switch.is_on: mlock_${name_of_board}_switch - then: - - light.addressable_set: { id: status_led, red: 0%, green: 100%, blue: 0% } - else: - - light.addressable_set: { id: status_led, red: 100%, green: 0%, blue: 0% } - - priority: 600 - then: - - light.addressable_set: { id: status_led, red: 0%, green: 0%, blue: 50% } + # on_boot: + # - priority: -100 + # then: + # - if: # return LED to switch state before + # condition: + # switch.is_on: mlock_${name_of_board}_switch + # then: + # - light.addressable_set: { id: status_led, red: 0%, green: 100%, blue: 0% } + # else: + # - light.addressable_set: { id: status_led, red: 100%, green: 0%, blue: 0% } + # - priority: 600 + # then: + # - light.addressable_set: { id: status_led, red: 0%, green: 0%, blue: 50% } # Enable logging logger: