Troubleshooting the Installation and setup of HASS.Agent¶
Getting Help¶
There are lots of places you can get help, we have more info in the Getting Help section.
Frequent Issues¶
Entity Naming Warning¶
If you are seeing entity name warnings in the Home Assistant console it is most likely due to a change made a while ago to the way entities are named.
What changed? Technical overview
HA automatically appends device names now¶
The change HA implemented is that it now automatically appends device names to the start of entity names. So if your device is named my-pc
and the entity is called gpu-temp HA will automatically join these to create my-pc_gpu-temp
.
Why do I need to do anything¶
If you don't do anything, and you have currently named your entities with the device at the start(was default in V1) it will show as a console error because the entity will be named: my-pc
+ my-pc_gpu-temp
creating: my-pc_my-pc_gpu-temp
.
Solution¶
HASS.Agent V2 comes bundled with a compat_names
arguement that can be passed to the .exe to automatically fix the names. You can use it by following these steps:
- Type in powershell into windows search and run it as admin.
- Use this command to switch to HASS.Agent directory:
cd C:\Users\YOURUSERNAME\AppData\Local\Hass.Agent\Client
- You should now be in an admin powershell window inside of the hass.agent directory, type in the following command:
.\HASS.Agent.exe compat_names
- You should see a popup like the one below and no errors in the console, after it completes it will close and you can close all the windows before re-opening HASS.Agent.