Closed
Description
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?