Has anyone worked out how to pick up the version of operating system, rather than hard-coding it. I tried:
platform: command_line name: "operating_system" command: "grep PRETTY_NAME /etc/os-release | sed 's/PRETTY_NAME=\"//' | sed 's/\"//'"
but that just give me Alpine, as I’m running in a docker - duh! On the Supervisor tab, under System you get the underlying OS - any idea how to get that?
That’s a tall order. I recommend starting with searching the forums for HACS (Home Assistant Community Store) and learning how to install it. It will allow you to install custom cards. Then install all the custom cards used in this setup. Once that’s done, you’ll have to learn each custom card and it’s attributes or you can try to replace the current entities that are used.
This post by @CentralCommand appears to get information from the supervisor. This method probably has the ability to get the OS and it’s version. He might be able to confirm that.
Well, that’s a start. It’s difficult to understand which documentation is outdated. I actually thought HACS was the community addons that show up naturally…and of course Custom Cards is not there. I’ll work on getting the HACS installed.
So, if I just want to monitor data about my NUC, I can just use the sensor code in my configuration.yaml file, correct? From liamstears post 3days ago.
What the heck am I doing wrong.
I have all the cards needed installed through HACS. Also listed in the ui-lovelace file.
But as one of the posters stated I get…
If you’re using chrome, hit f12 on your keyboard. In the lower right corner should be a console and it will have JS errors, take a screenshot and post it here. You might also be able to see these errors in the home-assistant.log file as well, I cant remember though because I hid all JS errors.
Do you also have card-mod installed? I missed it and it was causing me all sorts of problems like this. Double check you have all the cards installed.
If you don’t have card-mod then go into HACS, search for card-mod in “Frontend” - it won’t find it, so click on the “Explore & add repositories” big blue button at the bottom right of the screen to add the Thomas Loven Github repo, and then you can add card-mod.