Closed rhoriguchi closed 2 years ago
That's a limitation in Home Assistant. Nothing I can do, unfortunately.
@thomasloven, could you elaborate on the reason this limitation exists on Home Assistant? I'm also struggling with this pain point and would like to either open an issue with them or work on a PR to fix it
Try to create this simple test:
type: entities
title: test
entities:
- entity: light.xxxxxxxxxx
- type: custom:fold-entity-row
head: group.lights_yyyyyyyyyyy
open: true
entities:
- light.yyyyyyyyyy_1
- light.yyyyyyyyyy_1
- ....
- light.yyyyyyyyyy_5
This is how it looks in UI editor:
Note that the "Show header toggle" = ON by default - but the header toggle is NOT added:
It happens because HA adds the toggle only if more the one "toggleable row" is present (input_boolean
, switch
).
Here HA thinks that only ONE "toggleable row" is present - HA seems to not consider this custom row as "toggleable".
Then add some input_boolean
row:
- entity: input_boolean.test_boolean
And see what happens - the header toggle is added, and it works only for conventional rows:
Conclusion - the header toggle works with conventional rows only.
My Home Assistant version: 2021.12.10
What I am doing: Toggle the top card toggle.
What I expected to happen: The top toggle should toggle all lights on also the group and its sub lights.
What happened instead: It only toggles the
Living room
light but not theEntrance
light group and its sub lights (Hallway
,Window
).Minimal steps to reproduce:
configuration.yaml
ui-lovelace.yaml
Error messages from the browser console: None