Open odu14ick opened 2 years ago
Hi @odu14ick. I found solution. You have to change this line "vol.Required(ATTR_WORK_STATUS): vol.All(vol.Coerce(int), vol.Range(min=1, max=5))," in this file Xiaomi-Smart-Multipurpose-Kettle/custom_components/xiaomi_miio_health_pot/init.py to "vol.Required(ATTR_WORK_STATUS): vol.All(vol.Coerce(int), vol.Range(min=0, max=5))," And use status 0 - to stop cooking. I hope i help you.
More of a question really.
Tried to call 'set_work' service with service data: { "id": 18, "status": 5, "entity_id": %proper_entity_id% }
but that doesn't really cancel cooking.
In the log I see following:
so is there really a proper way to cancel the cooking?
I must say the only statuses that worked for me were 2 (to start cooking) and 1 (reservation) anything else doesn't work for me either.