From 12cfc7ef7efd720b413103c02fba69f07ad37c5e Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 8 Apr 2023 22:34:21 +0200 Subject: [PATCH] Turn 3d printer lights back on --- scripts/10.modes.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts/10.modes.yaml b/scripts/10.modes.yaml index 9f1c375..8e3100a 100644 --- a/scripts/10.modes.yaml +++ b/scripts/10.modes.yaml @@ -135,6 +135,14 @@ good_morning: target: entity_id: - climate.bedroom_thermostat + - choose: + - conditions: + - condition: state + entity_id: switch.3d_printer + state: 'on' + sequence: + - service: light.turn_on + entity_id: light.3d_printer_light mode: single icon: mdi:weather-sunny @@ -241,5 +249,13 @@ arrive_home: target: entity_id: - climate.office_thermostat + - choose: + - conditions: + - condition: state + entity_id: switch.3d_printer + state: 'on' + sequence: + - service: light.turn_on + entity_id: light.3d_printer_light mode: single icon: mdi:home-import-outline \ No newline at end of file