mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
everything's gotta change
This commit is contained in:
@@ -95,31 +95,28 @@ action:
|
||||
entity_id: binary_sensor.computer_area_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.computer_area_hub
|
||||
- action: dash_cast.load_url
|
||||
data:
|
||||
media:
|
||||
media_content_id: media-source://camera/camera.frigate_cam01
|
||||
media_content_type: image/jpeg
|
||||
metadata:
|
||||
title: Frigate Cam01
|
||||
thumbnail: /api/camera_proxy/camera.frigate_cam01
|
||||
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
|
||||
force: true
|
||||
url: http://192.168.1.7:1984/stream.html?src=cam01_sub
|
||||
# - action: media_player.play_media
|
||||
# target:
|
||||
# entity_id: media_player.computer_area_hub
|
||||
# url: cam01_sub
|
||||
# force: true
|
||||
# extra:
|
||||
# mode: webrtc
|
||||
# data:
|
||||
# media:
|
||||
# media_content_id: media-source://camera/camera.frigate_cam01
|
||||
# media_content_type: image/jpeg
|
||||
# metadata:
|
||||
# title: Frigate Cam01
|
||||
# thumbnail: /api/camera_proxy/camera.frigate_cam01
|
||||
# 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
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -127,67 +124,31 @@ action:
|
||||
entity_id: binary_sensor.front_room_occupied
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.front_room_hub
|
||||
- action: dash_cast.load_url
|
||||
data:
|
||||
media:
|
||||
media_content_id: media-source://camera/camera.frigate_cam01
|
||||
media_content_type: image/jpeg
|
||||
metadata:
|
||||
title: Frigate Cam01
|
||||
thumbnail: /api/camera_proxy/camera.frigate_cam01
|
||||
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
|
||||
force: true
|
||||
url: http://192.168.1.7:1984/stream.html?src=cam01_sub
|
||||
# - action: media_player.play_media
|
||||
# target:
|
||||
# entity_id: media_player.front_room_hub
|
||||
# url: cam01_sub
|
||||
# force: true
|
||||
# extra:
|
||||
# mode: webrtc
|
||||
# data:
|
||||
# media:
|
||||
# media_content_id: media-source://camera/camera.frigate_cam01
|
||||
# media_content_type: image/jpeg
|
||||
# metadata:
|
||||
# title: Frigate Cam01
|
||||
# thumbnail: /api/camera_proxy/camera.frigate_cam01
|
||||
# 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
|
||||
|
||||
- delay: "00:10:00"
|
||||
|
||||
- action: media_player.turn_off
|
||||
entity_id: media_player.front_room_hub, media_player.computer_area_hub
|
||||
|
||||
# - alias: "Flash some lights"
|
||||
# repeat:
|
||||
# count: 6
|
||||
# sequence:
|
||||
# - delay: 1
|
||||
# - action: light.toggle
|
||||
# target:
|
||||
# entity_id:
|
||||
# - light.entryway_hue
|
||||
# - light.computer_area_hue
|
||||
# - light.front_room_hue
|
||||
#- delay: '00:00:02'
|
||||
|
||||
# - alias: "Fix computer area lights"
|
||||
# action: automation.trigger
|
||||
# target:
|
||||
# entity_id: "automation.computer_area_lights_to_{{ computer_area }}"
|
||||
# data:
|
||||
# skip_condition: true
|
||||
|
||||
# - alias: "Fix front room lights"
|
||||
# action: automation.trigger
|
||||
# target:
|
||||
# entity_id: "automation.front_room_lights_to_{{ front_room }}"
|
||||
# data:
|
||||
# skip_condition: true
|
||||
|
||||
# - alias: "Fix entryway lights"
|
||||
# action: automation.trigger
|
||||
# target:
|
||||
# entity_id: "automation.entryway_lights_to_{{ entryway }}"
|
||||
# data:
|
||||
# skip_condition: true
|
||||
|
||||
Reference in New Issue
Block a user