Closed bo4arov closed 1 year ago
I will try to do a fix to avoid the locale issue
I have create a beta. Can you please test ? https://github.com/gvigroux/hon/releases/tag/0.5.2-Beta
Wow, thank you! i did give a try and it allowed me to log in!
Though, looks like some of the features aren't working :( e.g. when i try to change AC temperature, it returns me and error
Failed to call service climate/set_temperature. 'float' object has no attribute 'replace'.
So there are probably the other things to be tweaked. Unfortunately can't say what exactly since i'm not really a python guy :(
You have an AC with the 0.5 precision (I don't have it, I guess that's why). I will do another fix
Let's try this one :) https://github.com/gvigroux/hon/releases/tag/0.5.2-Beta2
I'm closing this because it should work now
App version: latest Stacktrace:
Greetings! After trying to login into the app i receive the unexpected error, please see the above. Looking into the logs, it looks like it's somehow connected to the locale settings. I added additional logging after the user login to dump the Cognito user info into the log. From it, I can see server's response containing
salesForceUser.locale
=it_IT
,salesForceUser.custom_attributes.Country
=PL
,salesForceUser.custom_attributes.UserLanguage
=en_GB
. I tried changing the country in my profile toGB
, but this didn't change anything. Also i have no idea why the locale is set to Italy - do they host their infra in Italy?Please advise.