-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid literal for int() #16
Comments
Hi, I fixed it and cast it to a float now. |
Whoops I messed up, please try version |
Hey thanks for your quick responses! Something that worries me a little and that I noticed later was how the value is using a coma instead of a dot to separate digits. I'm in France and I'm wondering if the server is formatting that to whatever locale the user is in (we would format it |
Hey, I take care of it and also used a replace. I saw this and found it also a little strange why they localize the api values. But here in Germany we also use comma as separator and I know these formatting problems well. |
Brilliant, I'll test your patch tonight, thanks for your help! |
Hey thanks, I can confirm the fix works. I'll look into supporting DW devices though I can't promise anything. |
Hi I've just connected a dishwasher for fun an giggles, here's the stack trace I'm getting.
I'm guessing one of the sensors is expecting an int when the server is returning a float
The text was updated successfully, but these errors were encountered: