mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix program switches unique ID at Home Connect (#128397)
This commit is contained in:
parent
d8a06777fe
commit
fee1bde231
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user