mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
so many freaking changes!
This commit is contained in:
@@ -22,7 +22,7 @@ action:
|
||||
- action: media_player.volume_set
|
||||
data:
|
||||
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
volume_level: 0.50
|
||||
volume_level: 0.60
|
||||
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
@@ -35,7 +35,10 @@ action:
|
||||
entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
data:
|
||||
media_type: playlist
|
||||
media_id: library://playlist/32
|
||||
#media_id: library://playlist/7
|
||||
media_id: >
|
||||
{% set playlists = ['library://playlist/33','library://playlist/32','library://playlist/21','library://playlist/28','library://playlist/27','library://playlist/22','library://playlist/29','library://playlist/36','library://playlist/23','library://playlist/12','library://playlist/34','library://playlist/35','library://playlist/19'] %}
|
||||
{{ playlists|random }}
|
||||
enqueue: replace
|
||||
|
||||
- action: script.wake_the_bedroom
|
||||
|
||||
@@ -98,7 +98,7 @@ action:
|
||||
- action: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam01_sub
|
||||
url: cam01_sub_opus
|
||||
force: true
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -112,7 +112,7 @@ action:
|
||||
- action: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp_cam01_sub
|
||||
url: cam01_sub_opus
|
||||
force: true
|
||||
extra:
|
||||
mode: webrtc
|
||||
|
||||
@@ -28,31 +28,10 @@ action:
|
||||
target:
|
||||
entity_id: media_player.ma_boys_room_clock
|
||||
|
||||
- action: media_player.volume_set
|
||||
data:
|
||||
volume_level: 0.30
|
||||
target:
|
||||
entity_id: media_player.ma_boys_room_clock
|
||||
|
||||
#- action: script.goodnight_kids_youtube_music
|
||||
|
||||
- action: media_player.shuffle_set
|
||||
metadata: {}
|
||||
- action: script.search_and_play_playlist
|
||||
data:
|
||||
speaker: media_player.ma_boys_room_clock
|
||||
search_term: CleverThunderstorm
|
||||
volume: 0.3
|
||||
repeat: all
|
||||
shuffle: false
|
||||
target:
|
||||
entity_id: media_player.ma_boys_room_clock
|
||||
- action: media_player.repeat_set
|
||||
metadata: {}
|
||||
data:
|
||||
repeat: "all"
|
||||
target:
|
||||
entity_id: media_player.ma_boys_room_clock
|
||||
- action: music_assistant.play_media
|
||||
metadata: {}
|
||||
data:
|
||||
media_id: library://track/101
|
||||
media_type: track
|
||||
enqueue: replace
|
||||
target:
|
||||
entity_id: media_player.ma_boys_room_clock
|
||||
|
||||
@@ -4,7 +4,7 @@ description: "Handles the lights in the furnace room"
|
||||
mode: queued
|
||||
triggers:
|
||||
- id: door_open
|
||||
entity_id: binary_sensor.water_softener_multisensor_door
|
||||
entity_id: binary_sensor.furnace_room_multisensor_door
|
||||
from: "off"
|
||||
to: "on"
|
||||
trigger: state
|
||||
@@ -12,7 +12,7 @@ triggers:
|
||||
When one of the door sensors detect that the furnace room door has been
|
||||
opened
|
||||
- id: door_closed
|
||||
entity_id: binary_sensor.water_softener_multisensor_door
|
||||
entity_id: binary_sensor.furnace_room_multisensor_door
|
||||
to: "off"
|
||||
for: "00:10:00"
|
||||
trigger: state
|
||||
|
||||
@@ -103,7 +103,7 @@ action:
|
||||
- action: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam08_sub
|
||||
url: cam08_sub_opus
|
||||
force: true
|
||||
extra:
|
||||
mode: webrtc
|
||||
@@ -117,7 +117,7 @@ action:
|
||||
- action: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp_cam08_sub
|
||||
url: cam08_sub_opus
|
||||
force: true
|
||||
extra:
|
||||
mode: webrtc
|
||||
|
||||
@@ -29,31 +29,10 @@ action:
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_hub
|
||||
|
||||
- action: media_player.volume_set
|
||||
- action: script.search_and_play_playlist
|
||||
data:
|
||||
volume_level: 0.25
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_hub
|
||||
|
||||
#- action: script.goodnight_kids_youtube_music
|
||||
|
||||
- action: media_player.shuffle_set
|
||||
metadata: {}
|
||||
data:
|
||||
shuffle: false
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_hub
|
||||
- action: media_player.repeat_set
|
||||
metadata: {}
|
||||
data:
|
||||
repeat: "all"
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_hub
|
||||
- action: music_assistant.play_media
|
||||
metadata: {}
|
||||
data:
|
||||
media_id: library://track/101
|
||||
media_type: track
|
||||
enqueue: replace
|
||||
target:
|
||||
entity_id: media_player.ma_girls_room_hub
|
||||
speaker: media_player.ma_girls_room_hub
|
||||
search_term: Clever Kids Goodnight Songs
|
||||
volume: 0.25
|
||||
repeat: all
|
||||
shuffle: false
|
||||
@@ -7,35 +7,10 @@ trigger:
|
||||
to: "on"
|
||||
|
||||
action:
|
||||
#- action: input_select.select_option
|
||||
# data:
|
||||
# entity_id: input_select.master_bedroom_mode
|
||||
# option: 'Off'
|
||||
- action: media_player.volume_set
|
||||
- action: script.search_and_play_playlist
|
||||
data:
|
||||
volume_level: 0.25
|
||||
target:
|
||||
device_id: 8350a88218fdf3807d190142a9e2dc18
|
||||
|
||||
#- action: script.goodnight_kids_youtube_music
|
||||
- action: music_assistant.play_media
|
||||
metadata: {}
|
||||
data:
|
||||
media_id: library://track/101
|
||||
media_type: track
|
||||
enqueue: replace
|
||||
target:
|
||||
device_id: 8350a88218fdf3807d190142a9e2dc18
|
||||
|
||||
# - action: media_player.shuffle_set
|
||||
# metadata: {}
|
||||
# data:
|
||||
# shuffle: false
|
||||
# target:
|
||||
# entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
# - action: media_player.repeat_set
|
||||
# metadata: {}
|
||||
# data:
|
||||
# repeat: "all"
|
||||
# target:
|
||||
# entity_id: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
speaker: media_player.ma_home_assistant_voice_097b44_media_player
|
||||
search_term: CleverThunderstorm
|
||||
volume: 0.25
|
||||
repeat: all
|
||||
shuffle: false
|
||||
@@ -33,6 +33,12 @@ condition:
|
||||
entity_id: light.utility_room_vanity
|
||||
state: "on"
|
||||
|
||||
variables:
|
||||
switch_name: switch.utility_room_motion_switch
|
||||
light_name: utility_room_hue
|
||||
mode_name: input_select.utility_room_mode
|
||||
automatic_profile: input_select.automatic_light_profile
|
||||
|
||||
action:
|
||||
- alias: "Make sure Z-Wave switch is turned on"
|
||||
action: homeassistant.turn_on
|
||||
@@ -47,10 +53,10 @@ action:
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
entity_id: "scene.utility_room_hue_{{states('input_select.automatic_light_profile').lower().replace(' ','_')}}"
|
||||
entity_id: "scene.{{light_name}}_{{states(automatic_profile).lower().replace(' ','_')}}"
|
||||
default:
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
entity_id: "scene.utility_room_hue_{{states('input_select.utility_room_mode').lower().replace(' ','_')}}"
|
||||
entity_id: "scene.{{light_name}}_{{states(mode_name).lower().replace(' ','_')}}"
|
||||
|
||||
- delay: 1
|
||||
|
||||
Reference in New Issue
Block a user