From 673fd121242adc4d31f6ceb7be6a814c2f9accfb Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sat, 21 Mar 2026 15:25:18 +0000 Subject: [PATCH] Switch to disable failsafe charging schedule --- car-charger.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/car-charger.yaml b/car-charger.yaml index c6d7491..ba03e0b 100644 --- a/car-charger.yaml +++ b/car-charger.yaml @@ -9,6 +9,13 @@ packages: device_base: !include templates/mystrom.yaml time: !include templates/time.yaml +switch: + - platform: template + name: "Failsafe schedule" + id: failsafe_schedule + restore_mode: RESTORE_DEFAULT_ON + optimistic: true + time: - platform: sntp id: sntp_time @@ -21,6 +28,7 @@ time: then: - if: condition: + - switch.is_on: failsafe_schedule - switch.is_off: mystrom_relay then: - logger.log: >-