diff --git a/lovelace/08_multimedia_view.yaml b/lovelace/08_multimedia_view.yaml
index b9832db..04e1bed 100644
--- a/lovelace/08_multimedia_view.yaml
+++ b/lovelace/08_multimedia_view.yaml
@@ -72,17 +72,5 @@ cards:
- media_player.snapcast_client_b827eb011e00
- media_player.snapcast_client_b827eb4445b1
- media_player.snapcast_client_b827eb505e2d
- - media_player.snapcast_client_b827eb8604f5
- media_player.snapcast_client_b827eba8e7ef
- - media_player.snapcast_client_b827ebaa08f7
-
- - type: entities
- title: Snapcast Group
- show_header_toggle: false
- entities:
- - media_player.snapcast_group_11d5f9f4e9a4bc3bf4f38b6d7e1517c6
- - media_player.snapcast_group_23dcee584dd2a739fcf92f4a4444a02f
- - media_player.snapcast_group_380a4b3f93e3f9711a672ccec499dc82
- - media_player.snapcast_group_601c73870a93e628a9afb6c31fd59921
- - media_player.snapcast_group_81a1c2dfa612e1718fe4084b641344fd
- - media_player.snapcast_group_bde597975a001d05519d2ae52103dba1
+ - media_player.snapcast_client_b827ebaa08f7
\ No newline at end of file
diff --git a/lovelace/09_settings_view.yaml b/lovelace/09_settings_view.yaml
index 7f57581..9f8c609 100644
--- a/lovelace/09_settings_view.yaml
+++ b/lovelace/09_settings_view.yaml
@@ -170,6 +170,25 @@ cards:
domain: input_boolean
action: working_in_garage
+ - type: horizontal-stack
+ cards:
+ - type: "custom:button-card"
+ name: Stream Cameras To Chromecast
+ entity: input_boolean.stream_camera2chromecast
+ icon: mdi:cctv
+ color_type: card
+ style:
+ - font-weight: bold
+ - color: rgb(0, 0, 5)
+ state:
+ - value: 'on'
+ color: var(--primary-color)
+ action: toggle
+ toggle:
+ domain: input_boolean
+ action: stream_camera2chromecast
+
+
- type: entities
title: Control Panel
diff --git a/lovelace/12_automations_view.yaml b/lovelace/12_automations_view.yaml
index b2af34a..b6ba627 100644
--- a/lovelace/12_automations_view.yaml
+++ b/lovelace/12_automations_view.yaml
@@ -46,7 +46,7 @@ cards:
title: Zone Based Alerts
show_header_toggle: false
entities:
- - automation.alert_life360_error
+ - automation.alert_life365_error
- automation.alert_private_zone_enter
- automation.alert_private_zone_leaves
- automation.alert_when_everyone_is_away
diff --git a/packages/cameras.yaml b/packages/cameras.yaml
index 007e0b1..835cffd 100644
--- a/packages/cameras.yaml
+++ b/packages/cameras.yaml
@@ -7,7 +7,6 @@
# WORK IN YOUR ENVIRONMENT!
###############################################################################
homeassistant:
- customize:
#
# The camera url format in secrets.yaml would look like this:
@@ -230,6 +229,8 @@ script:
#
stream_frontdoor_camera_to_chromecast:
sequence:
+ - condition: template
+ value_template: "{{ states('input_boolean.stream_camera2chromecast') == 'on' }}"
- service: script.stream2chromecast
data_template:
url: !secret frontdoor_camera_stream_url
@@ -237,6 +238,8 @@ script:
stream_driveway_camera_to_chromecast:
sequence:
+ - condition: template
+ value_template: "{{ states('input_boolean.stream_camera2chromecast') == 'on' }}"
- service: script.stream2chromecast
data_template:
url: !secret driveway_camera_stream_url
@@ -244,6 +247,8 @@ script:
stream_patio_camera_to_chromecast:
sequence:
+ - condition: template
+ value_template: "{{ states('input_boolean.stream_camera2chromecast') == 'on' }}"
- service: script.stream2chromecast
data_template:
url: !secret patio_camera_stream_url
@@ -251,6 +256,8 @@ script:
stream_playarea_camera_to_chromecast:
sequence:
+ - condition: template
+ value_template: "{{ states('input_boolean.stream_camera2chromecast') == 'on' }}"
- service: script.stream2chromecast
data_template:
url: !secret playarea_camera_stream_url
@@ -301,12 +308,12 @@ automation:
- binary_sensor.motion_sensor_158d00024ee084
to: 'on'
action:
+ - condition: template
+ value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
- service: script.stream2chromecast
data_template:
url: !secret frontdoor_camera_stream_url
name: 'frontyard'
- - condition: template
- value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
- condition: template
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
- service: image_processing.scan
@@ -381,12 +388,12 @@ automation:
- binary_sensor.motion_sensor_158d00024e57fb
to: 'on'
action:
+ - condition: template
+ value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
- service: script.stream2chromecast
data_template:
url: !secret driveway_camera_stream_url
name: 'driveway'
- - condition: template
- value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
- condition: template
value_template: "{{ states('alarm_control_panel.simplisafe') == 'armed_home' or states('alarm_control_panel.simplisafe') == 'armed_away' }}"
- service: image_processing.scan
@@ -535,10 +542,9 @@ automation:
entity_id:
- binary_sensor.motion_sensor_158d00024e842c
to: 'on'
- condition:
+ action:
- condition: template
value_template: "{{ states('input_boolean.notify_camera_alerts') == 'on' }}"
- action:
- service: script.stream2chromecast
data_template:
url: !secret playarea_camera_stream_url
@@ -627,7 +633,7 @@ automation:
# | __| '__/ _ \| '_ \| __/ _` |/ _ \ / _ \| '__|
# | | | | | (_) | | | | || (_| | (_) | (_) | |
# |_| |_| \___/|_| |_|\__\__,_|\___/ \___/|_|
-
+
- alias: Notify Frontdoor Camera Snapshots
initial_state: true
trigger:
diff --git a/packages/settings.yaml b/packages/settings.yaml
index 52babdc..15eea92 100644
--- a/packages/settings.yaml
+++ b/packages/settings.yaml
@@ -145,6 +145,11 @@ input_boolean:
initial: off
icon: mdi:movie-roll
+ stream_camera2chromecast:
+ name: Stream Cameras to Chromecast
+ icon: mdi:cctv
+ initial: off
+
home_security:
name: Home Security System
initial: off
diff --git a/zwcfg_0xd89c4f0c.xml b/zwcfg_0xd89c4f0c.xml
index 55b7bd3..813458e 100644
--- a/zwcfg_0xd89c4f0c.xml
+++ b/zwcfg_0xd89c4f0c.xml
@@ -22,7 +22,7 @@
-
+
@@ -34,10 +34,10 @@
-
+
-
+
@@ -168,7 +168,7 @@
-
+
@@ -217,8 +217,8 @@
-
-
+
+
@@ -350,7 +350,7 @@
-
+
@@ -379,7 +379,7 @@
-
+
@@ -490,7 +490,7 @@
-
+
@@ -601,7 +601,7 @@
-
+
@@ -612,7 +612,7 @@
-
+
@@ -635,7 +635,7 @@
-
+
@@ -728,9 +728,9 @@
-
-
-
+
+
+
@@ -1006,11 +1006,11 @@
-
-
-
+
+
+
-
+
@@ -1181,7 +1181,7 @@
-
+
@@ -1191,7 +1191,7 @@
-
+
@@ -1328,7 +1328,7 @@
-
+
@@ -1703,7 +1703,7 @@
-
+
@@ -2023,7 +2023,7 @@
-
+
@@ -2132,7 +2132,7 @@
-
+
@@ -2238,7 +2238,7 @@
-
+
@@ -2341,7 +2341,7 @@
-
+
@@ -2381,7 +2381,7 @@
-
+
@@ -2405,7 +2405,7 @@
-
+
@@ -2653,7 +2653,7 @@
-
+