I was looking for a nice lovelace card to show my Steam friends and what they are doing, in Home Assistant. I could really only find one working existing solution (perhaps I’m bad at searching), and that hadn’t been updated in years. I also needed something a lot more compact as I have tens of Steam friends I wanted to show on my HASS dashboard. So, I ended up using this card I found as a base and built on top of that. And here is the end result: https://github.com/jesmak/steam-card-compact. The card I used as a base is Kibibit’s kb-steam-card, so thanks to Kibibit for his/her work.
It has two modes (just like Kibibit’s original). Showing a list of Steam accounts in a card or a single Steam account in a card. Both are a lot more compact than in the original. List mode shows accounts in two columns, sorted by first status and then name. Single user cards work nicely either in full width, or when placed in a horizontal-stack.
Also, if you are using Steam integration you might have noticed a problem with entities going unavailable very often. That’s because of Steam restricting the amount of queries executed against its API. There is a fix that works that I can suggest until Steam integration itself gets fixed (if it will). Check out this post here by mkanet.
A way to auto-populate the card with the entities created by the Steam integration.
Ability assign nicknames to accounts.
Compact Mode: Option to display ‘Last Online’ status as per the actual Steam friends list.
Compact Mode: Option to section & group/order accounts by status eg. ‘Playing’ at the top, followed by ‘Online’ and then ‘Offline’ friends.
Option to only show ‘Last Online’ attribute when account is actually offline, as per Steam default.
More or less features that just bring it in line with the current Steam friends list behavior.
Getting this on HACS would be amazing too.
Good work so far.
Edit:
So a few of these I have accomplished by using Thomas Loven’s ‘Auto-Entities’ card in combination with this card which renders in Single Card mode, and then splitting it into sections based on state.
Can you please show your auto-entities example? It won’t work for me it just shows an error. (Using the other steam card to test cuz it also supports Xbox)
Seeing that you have so many friends to keep tabs on, it’s excellent that you figured out how to get your Home Assistant dashboard to show the activities of your Steam buddies. When there’s little room, compact solutions are always a benefit, and it’s fascinating to see how you modified an earlier solution to suit your needs. It’s fantastic that you could build on the strong foundation Kibibit’s early efforts laid. I would highly suggest looking into this card for offical sportzfy who wants to include their Steam activities into Home Assistant. It’s a good place to start, and you can adjust it to fit your system exactly with a little work.
It is possible to install this through HACS, although it seems I had forgotten to update the readme regarding this. I’ve now added the HACS installation guide there (custom repo needs to be added).