mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Updated media directory name
This commit is contained in:
@@ -5,20 +5,17 @@ mode: single
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: template
|
||||
value_template: "{% if is_state('binary_sensor.nursery_door_person_occupancy','on') and is_state('binary_sensor.nursery_door','off')%}true{%endif%}"
|
||||
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.black_bed_occupied
|
||||
from: "on"
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id: input_boolean.white_bed_occupied
|
||||
from: "on"
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
- platform: state
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.nursery_door
|
||||
from: "off"
|
||||
to: "on"
|
||||
@@ -95,7 +92,7 @@ action:
|
||||
entity_id: binary_sensor.garage_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- service: script.blink_garage_lights
|
||||
- action: script.blink_garage_lights
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -103,7 +100,7 @@ action:
|
||||
entity_id: binary_sensor.computer_area_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
- action: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: rtsp_cam08_sub
|
||||
@@ -117,7 +114,7 @@ action:
|
||||
entity_id: binary_sensor.front_room_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- service: webrtc.dash_cast
|
||||
- action: webrtc.dash_cast
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: rtsp_cam08_sub
|
||||
@@ -127,7 +124,7 @@ action:
|
||||
|
||||
- delay: "00:10:00"
|
||||
|
||||
- service: media_player.turn_off
|
||||
- action: media_player.turn_off
|
||||
entity_id: media_player.front_room_hub, media_player.computer_area_hub
|
||||
|
||||
# - alias: "Flash some lights"
|
||||
|
||||
Reference in New Issue
Block a user