Fix isy994 fan when turn on is not called with a percentage (#49531)

* Fix isy994 fan when turn on is not called with a percentage

* Make insteon/fan.py logic
This commit is contained in:
J. Nick Koston 2021-06-27 08:35:58 -10:00 committed by GitHub
parent 120fd633b2
commit a10847bef3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@ class ISYFanEntity(ISYNodeEntity, FanEntity):
**kwargs,
) -> None:
"""Send the turn on command to the ISY994 fan device."""
await self.async_set_percentage(percentage)
await self.async_set_percentage(percentage or 67)
async def async_turn_off(self, **kwargs) -> None:
"""Send the turn off command to the ISY994 fan device."""