mirror of
https://github.com/home-assistant/core.git
synced 2026-09-01 18:24:52 -05:00
Fix program switches unique ID at Home Connect (#128397)
This commit is contained in:
@@ -188,6 +188,7 @@ class HomeConnectProgramSwitch(HomeConnectEntity, SwitchEntity):
|
||||
)
|
||||
super().__init__(device, SwitchEntityDescription(key=program_name))
|
||||
self._attr_name = f"{device.appliance.name} {desc}"
|
||||
self._attr_unique_id = f"{device.appliance.haId}-{desc}"
|
||||
self._attr_has_entity_name = False
|
||||
self.program_name = program_name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user