Skip to content

AirPurifier: set_favorite_level not working #103

Closed
@holger8080

Description

@holger8080

Hi there,

thanks a lot for the great code! My Air Purifier works very well, except for setting the favorite level.
I get:

>>> import miio as mi
>>> x=mi.AirPurifier()
[... setting token and ID ]
>>> x.set_mode(OperationMode.Auto)
['ok']
>>> x.raw_command('set_favorite_level', 5)
{'error': {'message': 'Method not found.', 'code': -10000}, 'id': 148}

Same for the raw command:

>>> x.raw_command('set_favorite_level', 10)
{'error': {'message': 'Method not found.', 'code': -10000}, 'id': 149}

I'm using version 0.3.0 on my raspberry pi.

Can someone help, please?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions