You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to add a new device type THR320 and getting the following error -
This entity ('switch.1002a9XXXX') does not have a unique identifier; therefore, its settings cannot be managed via the user interface. Refer to the documentation for further details.
due to that i cannot use it in the HA.
at the ewelink works fine.
Thanks
Correction/clarification: the device is registered as THR320D (has the LCD display, shows temperature/humidity in real time) - not a plain THR320 as the issue title suggests. THR320D (UIID 181, type th_plug) is listed as supported in DEVICES.md, so this doesn't look like a "missing device support" case.
Current behavior: the switch and both sensors (temperature, humidity) work correctly - I can read all states and send on/off commands successfully via Developer Tools → Actions, and the dashboard toggle works too.
The problem is specifically: no unique_id is generated for any of the three entities (switch.1002a9c3db, sensor.1002a9c3db_t, sensor.1002a9c3db_h). They show the "no unique identifier" warning in the UI and cannot be assigned to a Device or Area.
I also have some leftover orphaned/unavailable entities from earlier pairing attempts not linked to any integration - not sure if related, but mentioning in case it's relevant to how the device was first added/re-added.
Happy to attach the diagnostics JSON (Settings → Devices & Services → Sonoff → Download diagnostics) or DEBUG log output if that would help pin down the actual UIID being reported - just let me know exactly what's most useful.
Activity
guyye commentedon Jul 8, 2026
Additional details that might help diagnose this:
Correction/clarification: the device is registered as THR320D (has the LCD display, shows temperature/humidity in real time) - not a plain THR320 as the issue title suggests. THR320D (UIID 181, type
th_plug) is listed as supported in DEVICES.md, so this doesn't look like a "missing device support" case.Current behavior: the switch and both sensors (temperature, humidity) work correctly - I can read all states and send on/off commands successfully via Developer Tools → Actions, and the dashboard toggle works too.
The problem is specifically: no
unique_idis generated for any of the three entities (switch.1002a9c3db, sensor.1002a9c3db_t, sensor.1002a9c3db_h). They show the "no unique identifier" warning in the UI and cannot be assigned to a Device or Area.I also have some leftover orphaned/unavailable entities from earlier pairing attempts not linked to any integration - not sure if related, but mentioning in case it's relevant to how the device was first added/re-added.
Happy to attach the diagnostics JSON (Settings → Devices & Services → Sonoff → Download diagnostics) or DEBUG log output if that would help pin down the actual UIID being reported - just let me know exactly what's most useful.
Thanks for maintaining this project!
guyye commentedon Jul 15, 2026
Any update ?
AlexxIT commentedon Jul 16, 2026
All entities from the integration have a unique identifier. If an object doesn't have an identifier, it's not from this integration.
guyye commentedon Jul 16, 2026
So how to resolve it ? Its a sonoff device?
[-]THR320[/-][+]Entity does not have a unique identifier[/+]AlexxIT commentedon Jul 17, 2026
You need to figure out where these entities come from.
guyye commentedon Jul 18, 2026
It is a new sonoff swith i connected. How to define an id to it ?