Hi @Tomas_Smedberg I’ve merged your topic in with a similar request. As James noted, it would be helpful if you could provide more details on your use case.
It seems like the primary use cases we’ve seen so far are around changing tile color based on Temperature and Humidity values, though there has some been interest in other attributes (eg. Lux) for use in Hero Attribute tiles.
didn’t see this thread before, I commented about this on a different thread, but I’ll add it here too for head count on this thread. I would also like to have custom thresholds and tile colors. For example, if my FREEZER temp reports > 0F, then I’d like the tile to turn to a custom chosen color. There should be capability to select multiple thresholds or ranges to make different colors show.
It would be a very useful feature for the tile to change color based on value. This could usefully apply to temperature and humidity and possibly luminance and power and maybe even to the Weather Tile for precipitation. Given the wide range it would be important to allow maximum flexibility on color range. For example temperature may only vary by a few degrees but still need a color change.
I will also add, for those of us who have air quality sensors such as PurpleAir, having the ability to change the color of a single tile based on value would be ideal!
Currently I utilize multiple separate switch tiles using the Hero layout. I turn ON the one representing the range/category of the current air quality level while turning the rest OFF. I would love to simplify my dashboard to reduce all those extra tiles!
In this particular setup, do you mean that you would want a single tile showing the Air Quality and you would want to have 6 different color ranges / thresholds on that one tile (based on the screenshot displayed?)
Yes, that is correct. I envision a single tile that can be configured to show different colors based on thresholds (in this case AQI level)…
Edit: in the case of air quality there are 6 specific color categories. When I think of things like temperature or humidity, I would envision tiles that would feature perhaps even more colors (maybe a different color for every 10 degrees for temp or 10% for humidity)…
I highly recommend PurpleAir. I’ve only had mine for about a month or so but its been very useful to me. I live in an area where air pollution is a regular problem, so I like seeing how conditions fluctuate locally. And I can see my station readings compared to other nearby stations on the PurpleAir web map.
It only measures particulate matter pollution (not ground level ozone) but for less than $250 you can have your own local air quality station, and it seems to be very accurate.
We’ve noted the requests around setting tile color based on other attributes (eg. Humidity, Lux, CO2, Power, etc) and are working on extending the new ‘State Mapping’ feature that’s used in the Temperature tile to work in the Hero Attribute tile.
Love this addition and looking forward to being able to use it on a Hero Attribute tile. One use case I’d like to see is the ability to change color and icon based on an attribute being returned as status of my Ring Alarm system, ex status=off, status=home, status=away.