Skip to content

Commit

Permalink
IntelliFire Fan - Bug fix on off funciton (home-assistant#79819)
Browse files Browse the repository at this point in the history
fix: Fan was double calling off as well as calling an async without an await
jeeftor authored Oct 7, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9850709 commit 04f07ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion homeassistant/components/intellifire/fan.py
Original file line number Diff line number Diff line change
@@ -125,6 +125,5 @@ async def async_turn_on(

async def async_turn_off(self, **kwargs: Any) -> None:
"""Turn off the fan."""
self.coordinator.control_api.fan_off()
await self.entity_description.set_fn(self.coordinator.control_api, 0)
await self.coordinator.async_request_refresh()

0 comments on commit 04f07ce

Please sign in to comment.