lesleyxyz / python-homewizard-kitchen

Python PIP Library to interact with HomeWizard Kitchen (only Ketttle implemented)
MIT License
1 stars 1 forks source link

Add missing kettle statuses #1

Closed ghys closed 1 year ago

ghys commented 1 year ago

Thank you very much for this project! I bought this kettle a few days ago and was eager to integrate it with my home automation (which I did: https://gist.github.com/ghys/ea549402e88876e6daa3ac9aa403ec9f)

I have found a few statuses that are not in the KettleStatus enum.

ValueError: 'heating' is not a valid KettleStatus

ValueError: 'cooling_to_target' is not a valid KettleStatus

These are encountered when you enable the "boil before target" function and start.

lesleyxyz commented 1 year ago

Thanks for contributing! Glad to know someone else is using it as well :) I've also made an Home Assistant integration but it's not yet ready for release 😅

I'll merge & make a new pip release :)

lesleyxyz commented 1 year ago

Released as 0.2.2

ghys commented 1 year ago

Thanks for merging, a Home Assistant integration would be very welcome, I'm sure.

I do use Home Assistant, it is a great project, but I'm also a maintainer of another similar project, which has another look on things somewhat. There was an initiative from some of our former maintainers to devise a new completely agnostic convention for exposing IoT things, so there's where the Homie stuff comes from, which you might be interested in perhaps: https://homieiot.github.io