Closed moskovskiy82 closed 6 years ago
Oh, I guess that is where the hack stops working 🤔
The filter card will override the entities prop. If you are rendering a single entity card, like media player, the entities option is just ignored. With an entities card not so much.
Any chances of another behavior being implemented? This will be an extremely useful feature de cluttering the frontend
It was a failure to abuse entity filter for this.
This is maybe an option, not sure if we want it in core
- type: conditional-card
conditions:
- entity: light.test
state: "on"
- entity: switch.test
state_not: "off"
card:
type: glance
Yes, my bad @c727 😞 Will open a PR to remove the example.
I think a conditional card is 👍 However, we'll still run into #127
Will reference #125
The demo shows that filtering is possible. It works with a media player card but not with other types. For example below config when state is satisfied:
Renders only:
Same if we change for glance type card: