platform: command_line
name: “HASS Installed version”
command: “head -5 /config/.HA_VERSION”
In order to know what my current version of Hassio was. It produced too many errors so I removed it.
Now when I go to check the config I get this error: “Component not found: confwig”
No other changes, what is this component and how do I deal with this?
First off, please format your code correctly. See the banner at the top of the forum.
Second, are you trying to add a sensor or remove a sensor?
If remove, post the code (properly formatted) that is currently being used and causing the error.
If you want to pull the currently installed version there is a native component.
As a heads up, this is a slightly better option for checking the available version for hassio. A HA version can be available on pypi but not yet available on hassio.
Apologies for the code formatting, 1st timer. Will not do again.
I had removed the code fromthe vonfig file and in doing so lost the “Configuration” item in Lovelace.
Couldn’t sort it out so, reloaded via snapshot.
Thanks