Fix broadlink creating duplicate unique IDs (2) (#53622)
This commit is contained in:
parent
4df56bad9e
commit
419bcd939b
1 changed files with 0 additions and 1 deletions
|
@ -146,7 +146,6 @@ class BroadlinkSwitch(BroadlinkEntity, SwitchEntity, RestoreEntity, ABC):
|
|||
self._attr_assumed_state = True
|
||||
self._attr_device_class = DEVICE_CLASS_SWITCH
|
||||
self._attr_name = f"{device.name} Switch"
|
||||
self._attr_unique_id = device.unique_id
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
"""Call when the switch is added to hass."""
|
||||
|
|
Loading…
Add table
Reference in a new issue