HA is complaining that my device does not have a unique ID. What am I missing here?
A true unique_id
is used internally, to uniquely identify the entity, and doesn’t appear in an entity’s list of attributes.
What is the integration that produced that sensor?
Or did you use Manual Customization to add a custom unique_id
attribute to the sensor? If so, that technique merely creates an attribute with the name “unique_id” but it’s not a unique_id
property.
Assuming that’s the proper addon (guessed from the sdrmr
in the “fake” unique_id), check out this link, that explains the issue.
Thanks for the link. That is the same addon although I’ve created my own fork.
Looks like using a template is the only option.
template:
- sensor:
- name: "23876447"
unique_id: "23876447"
state: ''