WTH why cant we set visibility condition on an entities attribute?

attribute isnt mentioned in Conditional card - Home Assistant

open FR for this: Add attribute condition (for visibility and conditional cards) · home-assistant/frontend · Discussion #21550 · GitHub

so we can set visibility like:

visibility:
  - condition: state
    entity: climate.thermostat
    attribute: hvac_mode
    state: heat

Same for ‘sun.sun’ and ‘rising’ attribute.

Today I am using helper template to generate new entity as a workaround.

1 Like

exactly the entity I also use (among others…) for conditions…
check