diff --git a/automations/outside/outdoor_lights_on.yaml b/automations/outside/outdoor_lights_on.yaml index 895ebda..b03dd8f 100644 --- a/automations/outside/outdoor_lights_on.yaml +++ b/automations/outside/outdoor_lights_on.yaml @@ -11,8 +11,8 @@ trigger: condition: - alias: "before 22:00" condition: time - after: " 15:00:00" - before: " 22:00:00" + after: "15:00:00" + before: "22:00:00" # weekday: # - " mon" action: diff --git a/automations/system/start_notification.yaml b/automations/system/start_notification.yaml index 7c2023f..3138d15 100644 --- a/automations/system/start_notification.yaml +++ b/automations/system/start_notification.yaml @@ -9,10 +9,10 @@ action: - service: notify.dev_telegram data: message: Home Assistant is starting up again - - delay: '00:00:15' + # mount nas - but shellcommand doesnt work: https://community.home-assistant.io/t/mount-remote-smb-share-on-hassio/116734/101 - #- service: shell_command.mount_nas - # + #- service: shell_command.mount_nas + # - service: hassio.addon_stdin data: addon: a0d7b954_ssh @@ -21,4 +21,4 @@ action: # - service: notify.chk_telegram # data: - # message: Home Assistant is starting up again \ No newline at end of file + # message: Home Assistant is starting up again diff --git a/scenes/attic_sleeptime.yaml b/scenes/attic_sleeptime.yaml index 13b7b60..516c379 100644 --- a/scenes/attic_sleeptime.yaml +++ b/scenes/attic_sleeptime.yaml @@ -5,7 +5,7 @@ entities: light.attic_ceiling_spots: state: "off" light.wohnzimmerlichter: - state: "off" + state: "off" light.stricklicht: state: "off" light.esszimmerlichter: diff --git a/scripts/create_backup.yaml b/scripts/create_backup.yaml index d2c0494..c69d256 100644 --- a/scripts/create_backup.yaml +++ b/scripts/create_backup.yaml @@ -1,4 +1,4 @@ -alias: create backup +alias: Skript Backup erstellen sequence: - service: notify.dev_telegram data: diff --git a/scripts/good_morning.yaml b/scripts/good_morning.yaml new file mode 100644 index 0000000..44022d6 --- /dev/null +++ b/scripts/good_morning.yaml @@ -0,0 +1,10 @@ +# https://www.home-assistant.io/integrations/script +alias: Skript Guten Morgen +sequence: + - service: scene.turn_on + target: + entity_id: scene.attic_breakfast_time + - delay: "00:30:00" + - service: script.sonos_group_livingroom + data: {} +mode: single diff --git a/scripts/good_night.yaml b/scripts/good_night.yaml index aa2d8f9..9e41b91 100644 --- a/scripts/good_night.yaml +++ b/scripts/good_night.yaml @@ -1,12 +1,12 @@ # https://www.home-assistant.io/integrations/script -alias: Gute Nacht Skript -sequence: +alias: Skript Gute Nacht +sequence: - service: light.turn_on target: entity_id: light.attic_ceiling_spots data: brightness: 130 - rgb_color: [255,0,0] + rgb_color: [255, 0, 0] - service: switch.turn_off target: entity_id: switch.metered_wall_plug_switch_node4 @@ -17,10 +17,3 @@ sequence: target: entity_id: scene.schalfenszeit mode: single - - - - - - - \ No newline at end of file diff --git a/scripts/mount_test.yaml b/scripts/mount_test.yaml index a21fa61..3b155eb 100644 --- a/scripts/mount_test.yaml +++ b/scripts/mount_test.yaml @@ -1,7 +1,7 @@ -alias: mount nas -sequence: +alias: Skript Mount nas (Test) +sequence: - service: hassio.addon_stdin data: addon: a0d7b954_ssh input: >- - mkdir -p /nas && mount -t nfs4 192.168.178.70:/volume1/netshare /nas \ No newline at end of file + mkdir -p /nas && mount -t nfs4 192.168.178.70:/volume1/netshare /nas diff --git a/scripts/sonos_group_livingroom.yaml b/scripts/sonos_group_livingroom.yaml new file mode 100644 index 0000000..9a04b28 --- /dev/null +++ b/scripts/sonos_group_livingroom.yaml @@ -0,0 +1,23 @@ +# https://www.home-assistant.io/integrations/sonos/ +# https://www.home-assistant.io/integrations/media_player/ +alias: Skript Wohnzimmer gruppieren und TV-Modus +sequence: + - service: sonos.join + data: + master: media_player.wohnzimmer + entity_id: media_player.wohnzimmer_2 + - service: media_player.select_source + data: + entity_id: media_player.wohnzimmer_2 + source: Line-in + - service: media_player.volume_set + data: + entity_id: media_player.wohnzimmer_2 + volume_level: 0.5 + - service: media_player.media_play + data: + entity_id: media_player.wohnzimmer + - service: notify.dev_telegram + data: + message: sonos wohnzimmer gruppiert +mode: single diff --git a/scripts/telegram_test.yaml b/scripts/telegram_test.yaml index acc2429..cb7edce 100644 --- a/scripts/telegram_test.yaml +++ b/scripts/telegram_test.yaml @@ -1,6 +1,6 @@ # https://www.home-assistant.io/integrations/script -alias: Telegram Test1 -sequence: +alias: Skript Telegram Test1 +sequence: - service: telegram_bot.send_message data: message: test from Telegram Test1 @@ -9,11 +9,10 @@ sequence: data: message: test from Telegram with service "notify.dev_telegram" mode: single - # alias: Telegram Test1 # mode: single # sequence: # - service: telegram_bot.send_message # data: # message: Sonne17 -# target: -391668323 \ No newline at end of file +# target: -391668323