From 82242264831eccc6d99c582d5fdc5b34902aed1c Mon Sep 17 00:00:00 2001 From: NilsGrunwald Date: Mon, 8 Nov 2021 18:26:17 +0100 Subject: [PATCH] corrected open/close initial state --- garage.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/garage.yaml b/garage.yaml index a19d056..46eb1e2 100644 --- a/garage.yaml +++ b/garage.yaml @@ -11,7 +11,7 @@ esphome: - binary_sensor.is_off: SensorOben then: - lambda: |- - id(GarageStatus) = 0; + id(GarageStatus) = 2; - if: condition: and: @@ -19,7 +19,7 @@ esphome: - binary_sensor.is_on: SensorOben then: - lambda: |- - id(GarageStatus) = 2; + id(GarageStatus) = 0; - if: condition: and: