From 663f6841b1d57a0b7ac412c204aa1d1754baebae Mon Sep 17 00:00:00 2001 From: Jannik Berges <git@jabertwo.de> Date: Thu, 15 Dec 2022 00:36:02 +0100 Subject: [PATCH] Fixed status --- intern/docker_esphome/templates/config/esphome_plug05.yaml | 2 +- intern/docker_esphome/templates/config/esphome_status.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/intern/docker_esphome/templates/config/esphome_plug05.yaml b/intern/docker_esphome/templates/config/esphome_plug05.yaml index 65d1e6e0..42255a28 100644 --- a/intern/docker_esphome/templates/config/esphome_plug05.yaml +++ b/intern/docker_esphome/templates/config/esphome_plug05.yaml @@ -37,7 +37,7 @@ switch: - platform: gpio id: relay name: "${plug_name}_Relay" - restore_mode: ALWAYS_OFF + restore_mode: RESTORE_DEFAULT_OFF pin: GPIO14 on_turn_on: - light.turn_on: led diff --git a/intern/docker_esphome/templates/config/esphome_status.yaml b/intern/docker_esphome/templates/config/esphome_status.yaml index 515d5b4e..2aa55069 100644 --- a/intern/docker_esphome/templates/config/esphome_status.yaml +++ b/intern/docker_esphome/templates/config/esphome_status.yaml @@ -38,4 +38,5 @@ binary_sensor: name: "warpzone Status" device_class: presence filters: - - autorepeat \ No newline at end of file + - autorepeat + - invert -- GitLab