Better white noise handling for multiple rooms
This commit is contained in:
@ -469,7 +469,7 @@
|
|||||||
garbage_collection_entity: sensor.garbage_collection_large_pickup
|
garbage_collection_entity: sensor.garbage_collection_large_pickup
|
||||||
holiday_entity: calendar.holidays
|
holiday_entity: calendar.holidays
|
||||||
- id: '1667341156218'
|
- id: '1667341156218'
|
||||||
alias: Emma White Noise Volume
|
alias: White Noise Volume
|
||||||
description: ''
|
description: ''
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
@ -477,19 +477,66 @@
|
|||||||
- input_boolean.white_noise_emma_bedroom
|
- input_boolean.white_noise_emma_bedroom
|
||||||
to: 'on'
|
to: 'on'
|
||||||
from: 'off'
|
from: 'off'
|
||||||
|
id: emma
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.white_noise_basement
|
||||||
|
to: 'on'
|
||||||
|
from: 'off'
|
||||||
|
id: basement
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- input_boolean.white_noise_kallen_bedroom
|
||||||
|
to: 'on'
|
||||||
|
from: 'off'
|
||||||
|
id: kallen
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- delay:
|
- choose:
|
||||||
hours: 0
|
- conditions:
|
||||||
minutes: 0
|
- condition: trigger
|
||||||
seconds: 5
|
id: emma
|
||||||
milliseconds: 0
|
sequence:
|
||||||
- service: media_player.volume_set
|
- delay:
|
||||||
data:
|
hours: 0
|
||||||
volume_level: 0.35
|
minutes: 0
|
||||||
target:
|
seconds: 5
|
||||||
entity_id: media_player.emma_bedroom_speaker
|
milliseconds: 0
|
||||||
mode: single
|
- service: media_player.volume_set
|
||||||
|
data:
|
||||||
|
volume_level: 0.35
|
||||||
|
target:
|
||||||
|
entity_id: media_player.emma_bedroom_speaker
|
||||||
|
- conditions:
|
||||||
|
- condition: trigger
|
||||||
|
id: basement
|
||||||
|
sequence:
|
||||||
|
- delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 5
|
||||||
|
milliseconds: 0
|
||||||
|
- service: media_player.volume_set
|
||||||
|
data:
|
||||||
|
volume_level: 0.5
|
||||||
|
target:
|
||||||
|
entity_id: media_player.basement_google_speaker
|
||||||
|
- conditions:
|
||||||
|
- condition: trigger
|
||||||
|
id: kallen
|
||||||
|
sequence:
|
||||||
|
- delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 5
|
||||||
|
milliseconds: 0
|
||||||
|
- service: media_player.volume_set
|
||||||
|
data:
|
||||||
|
volume_level: 0.3
|
||||||
|
target:
|
||||||
|
entity_id: media_player.kallen_bedroom_speaker
|
||||||
|
mode: parallel
|
||||||
|
max: 6
|
||||||
- id: '1671584633378'
|
- id: '1671584633378'
|
||||||
alias: Delivery Mode Cleanup
|
alias: Delivery Mode Cleanup
|
||||||
description: ''
|
description: ''
|
||||||
|
Reference in New Issue
Block a user