mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
IntelliFire Fan - Bug fix on off funciton (#79819)
fix: Fan was double calling off as well as calling an async without an await
This commit is contained in:
parent
9850709b37
commit
04f07cecba
@ -125,6 +125,5 @@ class IntellifireFan(IntellifireEntity, FanEntity):
|
|||||||
|
|
||||||
async def async_turn_off(self, **kwargs: Any) -> None:
|
async def async_turn_off(self, **kwargs: Any) -> None:
|
||||||
"""Turn off the fan."""
|
"""Turn off the fan."""
|
||||||
self.coordinator.control_api.fan_off()
|
|
||||||
await self.entity_description.set_fn(self.coordinator.control_api, 0)
|
await self.entity_description.set_fn(self.coordinator.control_api, 0)
|
||||||
await self.coordinator.async_request_refresh()
|
await self.coordinator.async_request_refresh()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user