From 99ef3a90a30b51e7d76ca1935d3622caa6f7d608 Mon Sep 17 00:00:00 2001 From: Christian Kauer Date: Wed, 3 Nov 2021 20:37:57 +0100 Subject: [PATCH] good night script --- scripts/good_night.yaml | 26 ++++++++++++++++++++++++++ scripts/telegram_test.yaml | 1 + 2 files changed, 27 insertions(+) create mode 100644 scripts/good_night.yaml diff --git a/scripts/good_night.yaml b/scripts/good_night.yaml new file mode 100644 index 0000000..aa2d8f9 --- /dev/null +++ b/scripts/good_night.yaml @@ -0,0 +1,26 @@ +# https://www.home-assistant.io/integrations/script +alias: Gute Nacht Skript +sequence: + - service: light.turn_on + target: + entity_id: light.attic_ceiling_spots + data: + brightness: 130 + rgb_color: [255,0,0] + - service: switch.turn_off + target: + entity_id: switch.metered_wall_plug_switch_node4 + - delay: + # supports seconds, milliseconds, minutes, hours + minutes: 3 + - service: scene.turn_on + target: + entity_id: scene.schalfenszeit +mode: single + + + + + + + \ No newline at end of file diff --git a/scripts/telegram_test.yaml b/scripts/telegram_test.yaml index 8d8af54..d3f7f8b 100644 --- a/scripts/telegram_test.yaml +++ b/scripts/telegram_test.yaml @@ -1,3 +1,4 @@ +# https://www.home-assistant.io/integrations/script alias: Telegram Test1 sequence: - service: telegram_bot.send_message