Phype / purei9_unofficial

This project includes a client/library to connect to Electrolux and AEG cleaner robots.
https://pypi.org/project/purei9-unofficial
MIT License
27 stars 5 forks source link

Ability to get/set eco mode #9

Closed Ekman closed 2 years ago

Ekman commented 2 years ago

Ability to get/set eco mode.

Let me know if you have any comments or suggestions.

Phype commented 2 years ago

I'm fine with the PR. One question: Have you tested this on both versions of the Purei9 Robot? I'm asking because the Purei9.2 has 3 Power Modes (Eco/Normal/Power) while the old one only has 2. I only have the old one to test.

Ekman commented 2 years ago

I can test this on the newer model later today. I have them both nowadays.

Phype commented 2 years ago

I reworked the code in 6eb3b7e because it did not work with the newer model (i got access to one to test). It should now work with both versions, feel free to test. Also, if you want to include this functionality in the homeassistant integration and want me to make a release to pypy, ping me and i'll try to do it.

Ekman commented 2 years ago

Appreciate it!

Yes, a release to pypip would be awesome.

Phype commented 2 years ago

Yes, a release to pypip would be awesome.

I've pushed version 0.0.4.

Ekman commented 2 years ago

Thank you