aboutsummaryrefslogtreecommitdiffhomepage
path: root/kauf-plug-minimal.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kauf-plug-minimal.yaml')
-rw-r--r--kauf-plug-minimal.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kauf-plug-minimal.yaml b/kauf-plug-minimal.yaml
index 992f624..463279f 100644
--- a/kauf-plug-minimal.yaml
+++ b/kauf-plug-minimal.yaml
@@ -124,12 +124,14 @@ switch:
pin:
number: GPIO2
inverted: true
+ restore_mode: RESTORE_DEFAULT_ON
# relay output
- platform: gpio
id: relay
name: $friendly_name
pin: GPIO4
+ restore_mode: RESTORE_DEFAULT_ON
# automatically make blue led equal relay state
on_turn_on: