✨ first scripts
This commit is contained in:
parent
e1cf2b1117
commit
00364bf4c7
@ -1 +1 @@
|
|||||||
2023.2.3
|
2023.3.5
|
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
# Base configuration.
|
||||||
homeassistant:
|
homeassistant:
|
||||||
name: nerdhaus
|
name: nerdhaus
|
||||||
latitude: !secret home_latititude
|
latitude: !secret home_latititude
|
||||||
@ -12,5 +13,5 @@ homeassistant:
|
|||||||
|
|
||||||
automation: !include automations.yaml
|
automation: !include automations.yaml
|
||||||
automation manual: !include_dir_merge_list automations/
|
automation manual: !include_dir_merge_list automations/
|
||||||
script: !include scripts.yaml
|
script: !include_dir_merge_named scripts
|
||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
[]
|
24
scripts/bedtime.yaml
Normal file
24
scripts/bedtime.yaml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
bedtime:
|
||||||
|
alias: Bedtime
|
||||||
|
sequence:
|
||||||
|
- service: media_player.turn_off
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- media_player.main_floor
|
||||||
|
- media_player.lg_tv
|
||||||
|
- service: light.turn_off
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: light.main_floor_tv_area
|
||||||
|
- service: light.turn_on
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- light.hallway_main_lights
|
||||||
|
- service: scene.turn_on
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: scene.bedroom_relax
|
||||||
|
mode: single
|
||||||
|
icon: mdi:bed
|
16
scripts/showtime.yaml
Normal file
16
scripts/showtime.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
showtime:
|
||||||
|
alias: Showtime
|
||||||
|
sequence:
|
||||||
|
- service: media_player.turn_on
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- media_player.main_floor
|
||||||
|
- service: light.turn_on
|
||||||
|
data:
|
||||||
|
brightness_pct: 5
|
||||||
|
target:
|
||||||
|
entity_id: light.main_floor_tv_area
|
||||||
|
mode: single
|
||||||
|
icon: mdi:television
|
Loading…
x
Reference in New Issue
Block a user