Skip to content

Latest commit

Β 

History

History
66 lines (64 loc) Β· 1.44 KB

File metadata and controls

66 lines (64 loc) Β· 1.44 KB

<- Back to README

Statistics πŸ“Š

I have 7,271 states (πŸ“ˆ80) in Home Assistant. By domain these are:

  • 2 ai_task
  • 2 alarm_control_panel πŸ“ˆ1
  • 387 automation πŸ“ˆ13
  • 719 binary_sensor πŸ“ˆ10
  • 238 button πŸ“‰35
  • 53 calendar πŸ“ˆ1
  • 12 camera πŸ“‰1
  • 18 climate
  • 5 conversation πŸ“ˆ1
  • 1 counter
  • 25 cover
  • 373 device_tracker πŸ“‰66
  • 45 event πŸ“ˆ20
  • 3 fan πŸ“ˆ1
  • 16 group
  • 8 image πŸ“ˆ7
  • 1 infrared πŸ“ˆ1
  • 101 input_boolean πŸ“ˆ2
  • 9 input_datetime πŸ“ˆ2
  • 117 input_number πŸ“ˆ3
  • 4 input_select
  • 65 input_text πŸ“‰3
  • 75 light πŸ“‰1
  • 9 lock πŸ“‰1
  • 28 media_player πŸ“ˆ1
  • 9 notify πŸ“ˆ8
  • 331 number πŸ“‰1
  • 4 person
  • 104 predbat πŸ“ˆ1
  • 1 radio_frequency πŸ“ˆ1
  • 3 remote
  • 70 scene πŸ“‰8
  • 4 schedule
  • 142 script πŸ“ˆ1
  • 235 select πŸ“ˆ7
  • 3170 sensor πŸ“ˆ57
  • 1 sun
  • 563 switch πŸ“ˆ25
  • 2 tag
  • 31 text πŸ“ˆ16
  • 24 timer πŸ“ˆ3
  • 32 todo πŸ“ˆ1
  • 4 tts
  • 206 update πŸ“ˆ15
  • 1 vacuum
  • 3 weather
  • 11 zone

How To βœ‹

To get the above numbers, use the template from here

{% set ns = namespace(domains=[]) %}
{%- for s in states -%}
{%- set ns.domains = (ns.domains + [s.domain])|unique|list -%}
{%- endfor %}
I have {{ states|length  }} states in Home Assistant.
By domain these are;
{%- for domain in ns.domains %}
- {{ states[domain]|length }} {{ domain }}
{%- endfor %}