Kód: Vybrat vše
{%- for domain in states | map(attribute='domain') | unique %}
{{ domain ~ 's : ' ~ states[domain] | count }}
{%- endfor %}
{{ ' Celkem: ' ~ states | count }}
Kód: Vybrat vše
{%- for domain in states | map(attribute='domain') | unique %}
{{ domain ~ 's : ' ~ states[domain] | count }}
{%- endfor %}
{{ ' Celkem: ' ~ states | count }}
Kód: Vybrat vše
alarm_control_panels : 2
automations : 75
binary_sensors : 112
buttons : 3
calendars : 7
cameras : 43
climates : 3
config_editors : 1
device_trackers : 77
fans : 1
input_booleans : 2
input_datetimes : 1
input_numbers : 1
input_selects : 1
input_texts : 6
lights : 29
media_players : 7
numbers : 5
persistent_notifications : 1
persons : 2
remotes : 3
scenes : 11
scripts : 115
selects : 13
sensors : 673
suns : 1
switchs : 140
timers : 1
updates : 25
vacuums : 1
weathers : 2
zones : 2
Celkem: 1366