Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circuit name sourced from Vue after rename #336

Open
sepiroth887 opened this issue Jan 4, 2025 · 1 comment
Open

Circuit name sourced from Vue after rename #336

sepiroth887 opened this issue Jan 4, 2025 · 1 comment

Comments

@sepiroth887
Copy link

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

@magico13
Copy link
Owner

magico13 commented Jan 5, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants