natekspencer / pylitterbot

Python package for controlling a Whisker connected self-cleaning litter boxes and feeders
MIT License
87 stars 12 forks source link

Login fails when password contains a non-ASCII character #15

Closed risteristevski closed 2 years ago

risteristevski commented 2 years ago

I was trying to set-up the Home Assistant Litter-Robot integration when I was unable to log in to my litter-robot account. Digging through the logs I found out that the issue stems from this library.

The error I got is the following: UnicodeEncodeError: 'ascii' codec can't encode character '\xa3' in position 15: ordinal not in range(128)

A work-around was to remove the pound symbol (£) from my password.

natekspencer commented 2 years ago

2022.8.0b0 should fix this as well as add support for the Litter-Robot 4 https://github.com/home-assistant/core/pull/75790

natekspencer commented 2 years ago

Resolved in 2022.8.0