ha-emporia-vue
ha-emporia-vue copied to clipboard
Circuit name sourced from Vue after rename
Hi, first of all, great integration. I added a vue3 recently and integrated it into HA before I had named all circuits (still working on actually mapping them). I noticed that once names are set in HA the names never update if they are changed in Emporia. I only tried re-loading the integration and waiting for a while, I don't want to remove and re-add the integration.
Is there a way to pull the latest sensor names again and have HA update the entities accordingly?
Also, I found that the names given to sensors in HA do not line up with the circuit numbering in Emporia app. Is there a way to correctly reference them? I.e. i got a sensor called {MyHome} 1 in HA but is actually {My Home} 12 in Emporia. This makes identifying the circuit a lot more challenging :D
The backing unique id is set by the device id and the channel id, which are pretty fixed by the hardware so the good news is that it should remap if you remove and re-add the integration. But the names in the frontend are set by the data in the Vue app when the entity is created, and once set you would have to manually rename them since I don't think Home Assistant will allow them to change otherwise.
I strongly advise removing and re-adding, it won't lose any history and it will update the names to match. Automations will still work if they use devices/areas, but if they use entities directly you may need to update them.