Adding new back yard thermostat

This commit is contained in:
CeeWeasel
2025-07-27 07:59:14 -04:00
parent 029babc976
commit 6638faaf14
12 changed files with 209 additions and 118 deletions
+11 -13
View File
@@ -4,27 +4,25 @@ id: automation_wake_clint
initial_state: on
#description:
trigger:
platform: time
at: input_datetime.clint_next_alarm
# condition:
# - condition: state
# entity_id: binary_sensor.is_workday
# state: 'on'
trigger: time
at:
entity_id: input_datetime.clint_next_alarm
offset: "-300"
action:
- service: input_boolean.turn_off
data:
entity_id: input_boolean.master_bedroom_asleep
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: media_player.volume_set
data:
entity_id: media_player.master_bedroom_clock
volume_level: 0.95
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
volume_level: 0.50
- choose:
- conditions:
@@ -15,18 +15,6 @@ trigger:
from: 'on'
to: 'off'
# - id: projector_off
# platform: state
# entity_id: switch.shelly_projector
# from: 'on'
# to: 'off'
# - id: projector_on
# platform: state
# entity_id: switch.shelly_projector
# from: 'off'
# to: 'on'
- id: setting_change
platform: state
entity_id:
@@ -40,8 +28,8 @@ action:
- choose:
- conditions:
- condition: state
entity_id: switch.shelly_projector
state: 'on'
entity_id: media_player.downstairs_roku
state: 'playing'
sequence:
- service: light.turn_off
target:
@@ -61,8 +49,8 @@ action:
entity_id: input_boolean.great_room_cycle_same
state: 'on'
- condition: state
entity_id: switch.shelly_projector
state: 'off'
entity_id: media_player.downstairs_roku
state: 'idle'
sequence:
- service: light.turn_on
target:
@@ -109,8 +97,8 @@ action:
entity_id: input_boolean.great_room_cycle_same
state: 'on'
- condition: state
entity_id: switch.shelly_projector
state: 'on'
entity_id: media_player.downstairs_roku
state: 'playing'
sequence:
- service: light.turn_on
target:
@@ -280,8 +268,8 @@ action:
- choose: # If the projector is off, go ahead and reference all the lights
- conditions:
- condition: state
entity_id: switch.shelly_projector
state: 'off'
entity_id: media_player.downstairs_roku
state: 'idle'
sequence:
- service: light.turn_on
data_template:
@@ -18,7 +18,7 @@ condition:
entity_id: input_boolean.kristy_home
state: 'on'
- alias: "Before 10:00PM and after 4:00AM"
- alias: "Before 9:00PM and after 4:00AM"
condition: time
before: '21:00:00'
after: '04:00:00'
@@ -7,8 +7,8 @@ trigger:
to: "off"
action:
- action: media_player.media_stop
- action: media_player.turn_off
data: {}
target:
device_id: d534ab473e271021b537397cbc6fe700
entity_id: media_player.ma_master_bedroom_clock
@@ -15,7 +15,7 @@ action:
data:
volume_level: 0.25
target:
device_id: d534ab473e271021b537397cbc6fe700
entity_id: media_player.ma_master_bedroom_clock
#- service: script.goodnight_kids_youtube_music
@@ -25,13 +25,13 @@ action:
data:
shuffle: false
target:
device_id: d534ab473e271021b537397cbc6fe700
entity_id: media_player.ma_master_bedroom_clock
- action: media_player.repeat_set
metadata: {}
data:
repeat: "off"
repeat: "all"
target:
device_id: d534ab473e271021b537397cbc6fe700
entity_id: media_player.ma_master_bedroom_clock
- action: music_assistant.play_media
metadata: {}
data:
@@ -39,12 +39,5 @@ action:
media_type: track
enqueue: replace
target:
device_id: d534ab473e271021b537397cbc6fe700
- action: music_assistant.play_media
target:
device_id: d534ab473e271021b537397cbc6fe700
data:
media_id: library://track/101
media_type: track
enqueue: add
entity_id: media_player.ma_master_bedroom_clock
@@ -17,21 +17,33 @@ action:
target:
entity_id: media_player.ma_nursery_hub
#- service: input_select.select_option
# data:
# entity_id: input_select.nursery_mode
# option: 'Off'
- action: media_player.volume_set
data:
volume_level: 0.25
target:
entity_id: media_player.ma_nursery_hub
# The kids can turn on their own sounds. Just stop the music
# - service: media_player.volume_set
# data:
# volume_level: 0.6
# target:
# entity_id: media_player.nursery_hub
# - service: media_player.play_media
# target:
# entity_id: media_player.nursery_hub
# data:
# media_content_id: media-source://media_source/local/sounds/relaxing/thunderstorm/thunderstorm.mp3
# media_content_type: audio/mpeg
#- service: script.goodnight_kids_youtube_music
- action: media_player.shuffle_set
metadata: {}
data:
shuffle: false
target:
entity_id: media_player.ma_nursery_hub
- action: media_player.repeat_set
metadata: {}
data:
repeat: "all"
target:
entity_id: media_player.ma_nursery_hub
- action: music_assistant.play_media
metadata: {}
data:
media_id: library://track/101
media_type: track
enqueue: replace
target:
entity_id: media_player.ma_nursery_hub