home assistant is a pain. it looks nice but has little functionality.
they choose to force yamel and jinja on everything and jinja does not work in most cases - not that it does not do what you want but just it deos not work at all. typical examle would be:
light:
- platform: group
name: "Alle Wohnzimmer"
entities: >
{%set data = namespace(lamps=[], offlamps=[])-%}
{%set area = "wohnzimmer" -%}
{%set arealamps = states.light | selectattr('entity_id', 'in', area_entities(area)) |
rejectattr('entity_id','==', "light." ~ area) | map(attribute='entity_id') | list-%}
{%for lmp in arealamps-%}
{%if is_state(lmp, "on")-%}
{%set data.lamps = data.lamps + [lmp]-%}
{%else-%}
{%set data.offlamps = data.offlamps + [lmp]-%}
{%endif-%}
{%endfor-%}
{%if data.lamps | count -%}
{{data.lamps}}
{%else-%}
{{data.offlamps}}
{%endif-%}
the more i want to do the less it seems to be capable of doing.
yes using the automatic integrations work - as long as they work. as soon as i have something that does not do it automatically i am stuck.
and that home assistant has no other option outside of static yammel and basically little support for scripting over all it's just sad.
but - the integrations are great, the ui is perfect.