Style/Icon State Mapping for Custom Attributes

Request: It would be great if the Hero Attribute tile could have a State Mapping feature similar to what’s available in the Temperature Sensor tile.

The fully customizable state mapping feature is currently only for Temperature Sensor tiles.

image

Other tile types like Switch, Contact Sensor, and others with a fixed set of states have a simplified state mapping feature.

image

Maybe this Color States could be one of the customization selections for the theme/style so it work with all tiles, like “Value Color States”. And with the existing features request for a Color state template. Just a thought, thanks.

Would love to see this and use this!!

1 Like

This could help to display variety of things: Status of Alarm states, Home Modes, Status of group of lights, Status of group of Contacts sensors, Status of group of batteries, Status of group of presence sensors, Weather forecast tile…etc for example:
Icon red: Alarm Away, yellow: Alarm Stay, green: Alarm Disarm
Icon red: All doors open, yellow: at least one door open, green: all doors closed
Tomorrow Forecast Icon: red: hot day, green: nice day, light blue: Cold, blue: freeze…

I’d find this very useful. My primary use case would be the following (but I know I could use it for other stuff too):
Thermostat state: off blank, heating red flame, cooling blue snowflake, fan-only grey fan

1 Like

Vote for it my friend !!..hoping this feature is gaining places on the top list …!

2 Likes

I did vote for it, I think its a great idea :slight_smile:

1 Like

Living in an area with wildfires, this would be very helpful for my air quality index number.
Voted.

1 Like