I have the below code that works great. The code is actually much larger and encompasses just about anything that is not in a baseline mode and auto builds an (auto-)entities card. I love it.
Though, I’d like to only show “entity_id: sensor.saros_z70_current_room” (the last line) if the “entity_id: sensor.saros_z70_status” is not in an “idle” state. Essentially basing the display of one entity based on the status of another entity. All inside a single auto-entities card. Is this possible?
- type: custom:auto-entities
card:
type: entities
show_header_toggle: false
state_color: true
filter:
include:
- domain: lock
state: unlocked
- domain: cover
not:
state: closed
attributes:
device_class: garage
- entity_id: sensor.saros_z70_status
not:
state: idle
- entity_id: sensor.saros_z70_current_room