mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
Will pushing from the server break anything?
This commit is contained in:
@@ -24,7 +24,7 @@ sequence:
|
||||
data:
|
||||
media_player_entity_id: media_player.master_bedroom_clock
|
||||
message: >-
|
||||
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
|
||||
{{ (expand('binary_sensor.exterior_doors') | selectattr('state', 'eq', 'off')) | map(attribute='name') | list }}
|
||||
- delay: "00:00:02"
|
||||
# Wait for it to stop playing (2 minute timeout)
|
||||
- wait_template: "{{ is_state('media_player.master_bedroom_clock','idle') }}"
|
||||
|
||||
Reference in New Issue
Block a user