No update since months…still no tap_action customization. It’s sad, because it’s a very beautiful card. I’m out, not up to wait anymore, switched to gauge-card-pro.
It was such a good start and a really great card, so I hope that if there is really no more progress, at least somebody would take up all these perfect ideas so that the initial work is not totally lost. I see no other card that could replace this one in all the different options.
Guys, as with everything in this community it all depends on the time the owner can and wants to invest in it.
It has been a very interesting project, if for whatever reason they can’t work on it either for a while or good, that is perfectly fine.
You can always use the ideas and code to vote for upstream changes.
what are you all talking about?
last response here from Neponn was 18 days ago! Stating he is working on stuff his users requested.
Seems a bit out of touch (putting it mildly for the sake of this community) if you next state this card has been out of development.
You are absolute right, 18 days is much less than months. So let him work and wait for the next update. HA shall be fun, no stress.
Not sure if you are still looking for info and workaround for ring tile in layout-card.
Background of why this specific issue with ring-tile and card_mod is
- ring-tile uses
_cfgas its config variable. Most other cards use eitherconfigor_configwhich is what card_mod looks for in parent element of ha-card. So card_mod does not find config to look for its config on the ring-tile element. - card_mod tries once more to find config from the parent of the parent. For standard Frontend card containers like stack cards, the container card is hui_card which does have the config in
configso card_mod finds it. - With layout-card, it does not use
hui-cardas a wrapper (hui-card is more modern in HA world) so there is no fallback for card_mod to find the config.
Workaround
As there is ha-card in use in ring-tile, card_mod applies but just without config. Also ring-tile applies a class type-tile, not sure why, probably because it would have been there when looking at standard tile card with card_mod installed. Now you may be able to use this to your advantage with theme. However you would target tile card as well as ring-tile card, as card_mod will apply class type-tile to standard tile cards.
Use card_mod theming (see docs) with the following in your card_mod_card section.
card-mod-card: |
ha-card.type-tile {
background: transparent !important;
border: none !important;
border-width: 0 !important;
}
Way forward
- ring-tile should use
configor_configor use the developer mode card_mod api call to apply card_mod. Either way, card_mod would just work. - over time custom cards will pick up using hui-card as a wrapper. This is what I have done for work with expander-card (melled fork).
See my post above. Once you understand how card_mod works, change _cfg to _config and hapy days ![]()
Checking the code, ring-tile supports the old style HA action format. So try
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.show_bromus_details
EDIT (at my 3 post limit!): Shout out to @neponn (Nick). Maintaining a custom card is not an easy undertaking. I have included some information on card_mod and tap_action which should give some users what they need while Nick finds time for maintaining the repo.
thanks a lot for this very good description
Thanks all for the discussion.
My apologies - I have not been able to spend as much time on this as I had hoped in the last little while. As noted in a previous post, a dead NVME drive on my HA server threw me a curve ball right through the time I had hoped to come back to work on the open issues. I have moved my system from HA supervised to HAOS, adding Proxmox to the equation. It’s gone well, and I’m happy with my new system, but the whole endeavour took much longer than I expected.
I do understand the frustration that progress has been slow. As noted in my OP, frontend development is new to me and definitely a very part-time side-hustle. I fully intend to keep working on this project - I use ring-tile throughout my dashboards, so I’m motivated to keep improving it. But you can be sure that I will be slow.
For full disclosure: my server rebuild has now run into a period of intense work travel, taking me through to the end of November, so things are not likely to get better quickly.
So if this is all too slow for you, I sympathise with your frustration and understand if you choose to move onto another option.
Of course, I would absolutely welcome PRs on Github if frontend development is your thing.
Lastly - thanks @dcapslock for the super helpful input on how to make ring-tile card play better with card_mod. They look like simple things I can do to make it easier to deal with. As you’ve noticed, my starting point for ring-tile card was the inbuilt tile card, so there is probably a bit of unnecessary cruft left over.
Stay tuned…
works! Thanks
is there a way to offset north on the compass layout?
idealy i would like it offset by about 336 degree so north is pointing north if that is possible
Hi @philsbits - the short answer is no - not at the moment. You could define a template sensor to do the same thing.
But I’m not quite sure I get the use case… “so north is pointing north”? What’s the problem you are hoping to solve?
I was trying to get the” compass” bit of it to track the sun and moon in real time so it points to where it is in the sky. No reason really, just was seeing what was possible with the card. I did find a way with the card mod to rotate the whole card, but I could get the background to be clear…
Still playing with cards and seeing what is possible, keep up the cracking work.