Automation to make sure E's white noise is at correct volume
This commit is contained in:
@ -417,3 +417,25 @@
|
||||
input:
|
||||
garbage_collection_entity: sensor.garbage_collection_large_pickup
|
||||
holiday_entity: calendar.holidays
|
||||
- id: '1667341156218'
|
||||
alias: Emma White Noise Volume
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.white_noise_emma_bedroom
|
||||
to: 'on'
|
||||
from: 'off'
|
||||
condition: []
|
||||
action:
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 5
|
||||
milliseconds: 0
|
||||
- service: media_player.volume_set
|
||||
data:
|
||||
volume_level: 0.35
|
||||
target:
|
||||
entity_id: media_player.emma_bedroom_speaker
|
||||
mode: single
|
||||
|
Reference in New Issue
Block a user