diff --git a/intern/docker_esphome/templates/config/esphome_plug05.yaml b/intern/docker_esphome/templates/config/esphome_plug05.yaml
index 65d1e6e01637645e3c4a146b49fafd6a2fb5daf2..42255a28e1098316d62979434d0dc3df76c76d6d 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 515d5b4ea42c8b0fc2ea705dc8142d71c35a9cf0..2aa55069c6cfd6b52b0238842bd9484ed2683358 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