mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
everything's gotta change
This commit is contained in:
@@ -10,11 +10,6 @@ trigger:
|
||||
from: "on"
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.white_bed_occupied
|
||||
from: "on"
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.girls_room_door
|
||||
from: "off"
|
||||
@@ -100,13 +95,37 @@ action:
|
||||
entity_id: binary_sensor.computer_area_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: webrtc.dash_cast
|
||||
- action: dash_cast.load_url
|
||||
data:
|
||||
entity_id: media_player.computer_area_hub
|
||||
url: cam08_sub
|
||||
force: true
|
||||
extra:
|
||||
mode: webrtc
|
||||
url: http://192.168.1.7:1984/stream.html?src=cam03_sub
|
||||
|
||||
# - action: media_player.play_media
|
||||
# target:
|
||||
# entity_id: media_player.computer_area_hub
|
||||
# data:
|
||||
# media:
|
||||
# media_content_id: media-source://camera/camera.frigate_cam03
|
||||
# media_content_type: image/jpeg
|
||||
# metadata:
|
||||
# title: Frigate Cam03
|
||||
# thumbnail: /api/camera_proxy/camera.frigate_cam03
|
||||
# media_class: video
|
||||
# children_media_class: null
|
||||
# navigateIds:
|
||||
# - {}
|
||||
# - media_content_type: app
|
||||
# media_content_id: media-source://camera
|
||||
# browse_entity_id: media_player.computer_area_hub
|
||||
|
||||
# - action: webrtc.dash_cast
|
||||
# data:
|
||||
# entity_id: media_player.computer_area_hub
|
||||
# url: cam08_sub
|
||||
# force: true
|
||||
# extra:
|
||||
# mode: webrtc
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -114,13 +133,36 @@ action:
|
||||
entity_id: binary_sensor.front_room_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: webrtc.dash_cast
|
||||
- action: dash_cast.load_url
|
||||
data:
|
||||
entity_id: media_player.front_room_hub
|
||||
url: cam08_sub
|
||||
force: true
|
||||
extra:
|
||||
mode: webrtc
|
||||
url: http://192.168.1.7:1984/stream.html?src=cam03_sub
|
||||
# - action: media_player.play_media
|
||||
# target:
|
||||
# entity_id: media_player.front_room_hub
|
||||
# data:
|
||||
# media:
|
||||
# media_content_id: media-source://camera/camera.frigate_cam08
|
||||
# media_content_type: image/jpeg
|
||||
# metadata:
|
||||
# title: Frigate Cam08
|
||||
# thumbnail: /api/camera_proxy/camera.frigate_cam08
|
||||
# media_class: video
|
||||
# children_media_class: null
|
||||
# navigateIds:
|
||||
# - {}
|
||||
# - media_content_type: app
|
||||
# media_content_id: media-source://camera
|
||||
# browse_entity_id: media_player.front_room_hub
|
||||
|
||||
# - action: webrtc.dash_cast
|
||||
# data:
|
||||
# entity_id: media_player.front_room_hub
|
||||
# url: cam08_sub
|
||||
# force: true
|
||||
# extra:
|
||||
# mode: webrtc
|
||||
|
||||
- delay: "00:10:00"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user