This commit is contained in:
Mateusz Gruszczyński
2026-08-26 22:30:10 +02:00
parent 6a35096c5d
commit f8d6bc2304
21 changed files with 410 additions and 84 deletions
@@ -225,8 +225,7 @@ class GreeControllerDeviceFeatureSwitch(CoordinatorEntity[GreeControllerCoordina
)
async def _set(self, value: bool) -> None:
await self.coordinator.client.command(self._device_id, {self._field: value})
await self.coordinator.async_request_refresh()
await self.coordinator.async_device_command(self._device_id, {self._field: value})
async def async_turn_on(self, **kwargs: Any) -> None:
await self._set(True)