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:
@@ -0,0 +1,8 @@
|
||||
template:
|
||||
- sensor:
|
||||
- name: "Frigate: Offline Cameras"
|
||||
unique_id: 86a8904e-5713-4dac-8d59-fd65afcc8f83
|
||||
state: "{{ states.camera | map(attribute='entity_id') | select ('in',integration_entities('frigate')) | select('is_state', 'unavailable') | list | count }}"
|
||||
icon: mdi:cctv-off
|
||||
attributes:
|
||||
cameras: "{{ states.camera | map(attribute='entity_id') | select ('in',integration_entities('frigate')) | select('is_state', 'unavailable') | list }}"
|
||||
Reference in New Issue
Block a user