mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
4e0e55ac3c
- Updated nursery automation to use input booleans for bed occupancy instead of binary sensors. - Changed conditions in nursery automation to improve readability and consistency. - Modified binary sensor configurations for master bedroom and nursery to use input booleans. - Removed unused input number configurations related to master bed load cells. - Updated UI configurations to reflect changes in entity types from binary sensors to input booleans. - Cleaned up camera view configurations and adjusted styles for better layout. - Removed deprecated master bed YAML configuration and archived it for future reference. - Enhanced ESPHome configurations for white and black beds, including improved logging and diagnostics.
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
alias: Master Bedroom White Noise On
|
|
id: automation_master_bedroom_white_noise_on
|
|
|
|
trigger:
|
|
- platform: state
|
|
entity_id: input_boolean.master_bedroom_asleep
|
|
to: "on"
|
|
|
|
action:
|
|
#- service: input_select.select_option
|
|
# data:
|
|
# entity_id: input_select.master_bedroom_mode
|
|
# option: 'Off'
|
|
- action: media_player.volume_set
|
|
data:
|
|
volume_level: 0.25
|
|
target:
|
|
device_id: d534ab473e271021b537397cbc6fe700
|
|
|
|
|
|
#- service: script.goodnight_kids_youtube_music
|
|
|
|
- action: media_player.shuffle_set
|
|
metadata: {}
|
|
data:
|
|
shuffle: false
|
|
target:
|
|
device_id: d534ab473e271021b537397cbc6fe700
|
|
- action: media_player.repeat_set
|
|
metadata: {}
|
|
data:
|
|
repeat: "off"
|
|
target:
|
|
device_id: d534ab473e271021b537397cbc6fe700
|
|
- action: music_assistant.play_media
|
|
metadata: {}
|
|
data:
|
|
media_id: library://track/101
|
|
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
|
|
|