Updated with Number of Online cameras.
This commit is contained in:
parent
64f4398918
commit
047da64886
|
@ -172,6 +172,18 @@ sensor:
|
||||||
{% else %}
|
{% else %}
|
||||||
0
|
0
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
camera_count:
|
||||||
|
friendly_name: 'Number of online Cameras'
|
||||||
|
value_template: >
|
||||||
|
{%- set domains = ['camera'] -%}
|
||||||
|
{%- for domain in domains -%}
|
||||||
|
{%- for item in states[domain] -%}
|
||||||
|
{% if loop.first %}
|
||||||
|
{{loop.length}}
|
||||||
|
{% endif %}
|
||||||
|
{%- endfor -%}
|
||||||
|
{%- endfor -%}
|
||||||
|
|
||||||
|
|
||||||
group:
|
group:
|
||||||
tweet_stats:
|
tweet_stats:
|
||||||
|
@ -189,6 +201,7 @@ group:
|
||||||
- sensor.lights_count
|
- sensor.lights_count
|
||||||
- sensor.tracker_count
|
- sensor.tracker_count
|
||||||
- sensor.protect_count
|
- sensor.protect_count
|
||||||
|
- sensor.camera_count
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 152 KiB |
Loading…
Reference in New Issue