-
Notifications
You must be signed in to change notification settings - Fork 31
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
Values published to Home Assistant do not have unique_id and cannot be managed through the UI. #91
Comments
How come it is not unique? |
UniqueIDs, is a feature of the Home assistant registry for individual entries, which is supposed to be set by the creating integration, in our case this should be EMHASS. EMHASS doesn't correctly set these uniqueIDs so I would request this issue be reopened pending further investigation. |
Reopened. I just thought that this was easily solved by a user-provided unique custom ID. |
unique_id can be registered at the same time as the entity creation: https://developers.home-assistant.io/docs/entity_registry_index Any entity that is added to Home Assistant which specifies the unique_id attribute will be registered in the registry. Unique ID of last resort |
Just an update to this. I cant seem to find any possibility of adding a |
I don't know if the |
I agree, I hope this could be change in the future, or separate rest call option to generate a sensor with a |
Following actual documentation below is NOT working:
|
Something similar to bramstroker/homeassistant-powercalc#2708 would be needed to generate the required UUID for EMHASS. I'm not sure if only integrations can generate UUIDs in this fashion, or if Add-On's can also generate entities in this manner. |
Using core emhass version: 0.8.6
In the HA user interface, the settings dialog for e.g. sensor.p_pv_forecast can be accessed but produces the message:
This entity ('sensor.p_pv_forecast') does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.
This makes it harder for a user to e.g. put the EMHASS data into an "Area" in HA and put onto dashboards etc.
The text was updated successfully, but these errors were encountered: