Noob question:
How get I an attribute of a configured device show on a frontend card?
e.g.
device: light.mqtt_circadian
attribute to show: brigntness
Any help would be appreciated!
Noob question:
How get I an attribute of a configured device show on a frontend card?
e.g.
device: light.mqtt_circadian
attribute to show: brigntness
Any help would be appreciated!
You could create a template sensor with the attribute you want or use the custom entity attributes card.
Thank you for your respond @Tediore !
Just another noob question, isn’t it possible to set it directly into a card configuration?
Something like:
light.mqtt_circadian.attributes[“brightness”]
Not currently at least. That’s why someone created that custom card.
Clear! Thank you for your explanation, it’s appreciated!
Yes, something like that!
How did you accomplish that?
Take a look at this thread:
My yaml looks like this:
- entity: light.breakfast_nook
type: "custom:secondaryinfo-entity-row"
secondary_info: "Brightness: [[ if(light.breakfast_nook == 'off', '0', light.breakfast_nook.attributes.brightness) ]]"