Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation of device.changeFanSpeed #365

Open
realJustinLee opened this issue Jun 9, 2022 · 3 comments
Open

Deprecation of device.changeFanSpeed #365

realJustinLee opened this issue Jun 9, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@realJustinLee
Copy link

This plugin threw an error from the characteristic 'Rotation Speed': Unhandled error thrown inside write handler for characteristic: device.changeFanSpeed is not a function. See https://homebridge.io/w/JtMGR for more info.

@realJustinLee realJustinLee added the bug Something isn't working label Jun 9, 2022
@realJustinLee realJustinLee changed the title Deprecaton of Deprecation of device.changeFanSpeed Jun 9, 2022
@rajattrehan21
Copy link

I am having the same issue..

@nenych
Copy link

nenych commented Jul 26, 2022

The same problem

@horodchukanton
Copy link

Adding debug logs:

 MiioDevice {
   model=zhimi.airpurifier.v7,
   types=miio:air-purifier, sensor, miio, air-purifier,
   capabilities=fan-speed, miio:buzzer, miio:led-brightness, miio:switchable-led, pm2.5, relative-humidity, temperature, switchable-mode, mode, switchable-power, restorable-state, power, state
 }
[7/1/2023, 3:03:36 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Rotation Speed': Unhandled error thrown inside write handler for characteristic: device.changeFanSpeed is not a function. See https://homebridge.io/w/JtMGR for more info.
[7/1/2023, 3:03:36 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.changeFanSpeed is not a function
     at RotationSpeed.setHandler (/homebridge/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/rotation-speed.ts:35:20)
     at processTicksAndRejections (node:internal/process/task_queues:95:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants