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