mirror of
https://github.com/Andre0512/hon.git
synced 2026-05-10 18:56:53 +02:00
Fix climate not available #52
This commit is contained in:
@@ -387,8 +387,7 @@ class HonSwitchEntity(HonEntity, SwitchEntity):
|
||||
description: HonSwitchEntityDescription,
|
||||
) -> None:
|
||||
super().__init__(hass, entry, coordinator, device)
|
||||
self._coordinator = coordinator
|
||||
self._device = device
|
||||
|
||||
self.entity_description = description
|
||||
self._attr_unique_id = f"{super().unique_id}{description.key}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user