From 419bcd939b9fd3807c9606a640685e7c590afac3 Mon Sep 17 00:00:00 2001 From: Felipe Martins Diel <41558831+felipediel@users.noreply.github.com> Date: Wed, 28 Jul 2021 13:53:34 -0300 Subject: [PATCH] Fix broadlink creating duplicate unique IDs (2) (#53622) --- homeassistant/components/broadlink/switch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 0f380b6cca2..9fb7215e2a9 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -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."""