syssi / xiaomi_fan

Xiaomi Mi Smart Fan integration for Home Assistant
Apache License 2.0
428 stars 118 forks source link

fan.turn_on no longer working #240

Closed tsmanz closed 9 months ago

tsmanz commented 9 months ago

I have 3 Xiaomi 2S fans that were working perfectly. Recently I noticed calling the fan.turn_on service fails with unknown error. When trying to turn on the entity I get the following error.

XiaomiGenericDevice.async_turn_on() takes from 1 to 2 positional arguments but 3 were given

I run HassOS with all updates as well as the latest HACS update for this integration.

NzKyle commented 9 months ago

See #239

syssi commented 9 months ago

Please update the custom component to version 2023.12.0.0. The issue is fixed here.