|
|
|
@ -35,7 +35,14 @@ automation:
|
|
|
|
- person.carlo
|
|
|
|
- person.carlo
|
|
|
|
- person.stacey
|
|
|
|
- person.stacey
|
|
|
|
from: 'not_home'
|
|
|
|
from: 'not_home'
|
|
|
|
to: 'home'
|
|
|
|
to: 'home'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- platform: state
|
|
|
|
|
|
|
|
entity_id:
|
|
|
|
|
|
|
|
- person.carlo
|
|
|
|
|
|
|
|
- person.stacey
|
|
|
|
|
|
|
|
to: 'not_home'
|
|
|
|
|
|
|
|
from: 'home'
|
|
|
|
|
|
|
|
|
|
|
|
action:
|
|
|
|
action:
|
|
|
|
- choose:
|
|
|
|
- choose:
|
|
|
|
@ -53,24 +60,26 @@ automation:
|
|
|
|
media_content_id: 'hide garage camera'
|
|
|
|
media_content_id: 'hide garage camera'
|
|
|
|
media_content_type: custom
|
|
|
|
media_content_type: custom
|
|
|
|
|
|
|
|
|
|
|
|
- conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
|
|
|
# - conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
|
|
|
sequence:
|
|
|
|
# sequence:
|
|
|
|
- service: media_player.play_media
|
|
|
|
# - service: media_player.play_media
|
|
|
|
data:
|
|
|
|
# data:
|
|
|
|
entity_id: media_player.alarm_panel_1
|
|
|
|
# entity_id: media_player.alarm_panel_1
|
|
|
|
media_content_id: 'show garage camera'
|
|
|
|
# media_content_id: 'show garage camera'
|
|
|
|
media_content_type: custom
|
|
|
|
# media_content_type: custom
|
|
|
|
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
- service: media_player.play_media
|
|
|
|
- service: media_player.play_media
|
|
|
|
|
|
|
|
target:
|
|
|
|
|
|
|
|
entity_id: media_player.kitchen
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
entity_id: media_player.kitchen_show
|
|
|
|
|
|
|
|
media_content_id: 'show garage camera'
|
|
|
|
media_content_id: 'show garage camera'
|
|
|
|
media_content_type: custom
|
|
|
|
media_content_type: custom
|
|
|
|
- delay: '00:20:00'
|
|
|
|
- delay: '00:20:00'
|
|
|
|
- service: media_player.play_media
|
|
|
|
- service: media_player.play_media
|
|
|
|
|
|
|
|
target:
|
|
|
|
|
|
|
|
entity_id: media_player.kitchen
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
entity_id: media_player.kitchen_show
|
|
|
|
|
|
|
|
media_content_id: 'hide garage camera'
|
|
|
|
media_content_id: 'hide garage camera'
|
|
|
|
media_content_type: custom
|
|
|
|
media_content_type: custom
|
|
|
|
|
|
|
|
|
|
|
|
|