diff --git a/packages/nous_a1t.yaml b/packages/nous_a1t.yaml index d1743b657445734b486079b3f06ec808795acbf3..bc4c407102b991827f7db3698d7307becb3bfda3 100644 --- a/packages/nous_a1t.yaml +++ b/packages/nous_a1t.yaml @@ -4,6 +4,7 @@ substitutions: esp8266: board: esp8285 + restore_from_flash: true light: - platform: status_led @@ -13,7 +14,6 @@ light: inverted: true binary_sensor: - # toggle relay on/off - platform: gpio id: button_state pin: @@ -25,8 +25,8 @@ binary_sensor: switch: - platform: template name: "Power" - optimistic: true id: power + restore_mode: RESTORE_DEFAULT_OFF lambda: |- if (id(relay).state) { return true;