I thought it was time to share a project I’ve been working on for a while. I love Home Assistant’s tile card - they have made it easy to quickly build great looking dashboards. But I’ve always felt that sensor tiles needed something more. So I built ring-tile card, based on Home Assistant’s tile card.
You can use ring-tile to bring your sensor tile cards to life.
PS: frontend development is new to me, and definitely a very part-time side-hustle. So apologies in advance if things break and / or I am slow to respond.
Hey that’s great - so pleased to hear you like them!
I’ve noticed the same snafu - I will have to investigate. I must admit I had thought the problem affected all cards, not just ring-tile, but I will take a closer look.
On the unrelated entity, it might be that this is already covered, depending on what you have in mind. You can use a combination of entity, which affects the info area and ring_entity, which affects the rendering of the ring. These can be two entirely separate entities.
Here is an example in which I wanted to represent the Wi-Fi signal strength of an ESPHome irrigation controller with the ring, but show the name of the connected Wi-Fi access point in the info area:
Lastly, if you want to show entity state as a number in the ring, you can choose between showing the value (which maps to entity) and ring_value (which maps to ring_entity). More info.
Let me know if you are trying to achieve something else.
Thanks to you I have been able to rework my local weather panel to this. The temperature now show expected high and low, current temp as well as trend. I would lover to show trend as an arrow icon. This would mean the ability to use a template. This is currently not possible but could be a good addition to this card.
Trend arrows are an interesting idea. I’m curious to hear more about what would work for you. Would you use a custom sensor to detect the trend, or have ring-tile compute the trend based on the recent history of the entity? Do you have any examples of where you’ve done something like this in the past?
Also - I’m interested in the way the wind compass rendered for you. The wind direction marker seems to have rendered as a dot, rather than an arrow. I can’t immediately think of how that could be done - I’ve tried the YAML you pasted, but I get a different result. Is the dot preferred?
Thanks again for sharing - cool to see the different ways these get used.
For barometric pressure my weather station provides a sensor with a text value as it does for temperature. However I decided I preferred to show min and max temps instead of trend. If I could add trend as an icon as top_element that would be cool. As to the compass showing a point instead of an arrow I would prefer an arrow but can’t find the right setting. All in all your card is proving to be quite useful.
I would recommend looking at the source for Entity Progress Card for their UI configuration as it works really well and could probably be used similarly with this card (just an assumption as I am not a programmer ).
I get what you have in mind with providing a trend arrow option for top_element - sounds like a good idea. I’ll add it to my list of things to do (GitHub issue).
Compass should show a marker arrow by default, so if it’s not, you may have found a bug. The following YAML should work:
If this still isn’t working, let me know your device / operating system / browser version etc and I’ll see if I can reproduce. One thing to check is that your wind direction entity (sensor.buienradar_wind_direction) produces a compass angle in degrees.
As it happens, tap_action is implemented, but because I haven’t tested it thoroughly yet, I haven’t documented it. Give it a try. Examples:
That’s because of the way I’ve done the default handling. Temperature sensors default to ring_type: open, whereas % sensors default to ring_type: closed. If you want to have min / max labelling, you need to use ring_type: open, so add that line to your YAML for the two % sensors.
I just changed it per your suggestion and now they all look the same… except for one of the ring not following the same gradient. I guess that’s another default I need to look into?
That’s right. Temperature sensors default to indicator: dot, whereas % sensors default to indicator: arc. I find that “level” metrics (eg temperature) work best with a dot, while “consumption” metrics (like %) benefit from an arc to better represent usage. But of course do what works best for you!
Worth reading the docs. The config page describes all the options, including default handling. You’ll also find more in depth descriptions of ring_type, indicator and so on.
This is great! There are already so many possibilities, and about the only thing missing for me at the moment is templating support.
I have no idea how hard it is to add it for every option, but it’d be great if you could do that.
One of the use cases for me is setting a dynamic marker color based on whether the absolute humidity outside is lower than inside, indicating that it’s worth it to air the room.
But there are countless possibilities once every option can be templated.