mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix broadlink creating duplicate unique IDs (2) (#53622)
This commit is contained in:
parent
4df56bad9e
commit
419bcd939b
@ -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…
x
Reference in New Issue
Block a user