-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
question for temperatur, decimal separator problem in german #41
Comments
I also hear Twentythird degree four instead of twentythree dot four degrees (in German dreiundzwanzigster vier Grad) |
I looked now in the source and I see that the number transferred to the alexa api, not a string, so it must be a bug in Alexa software itself.
Maybe because amazon know, that is not correct... But maybe it is possible to round the number, so that there are no decimal places, at least if the language setting is german. In my opinion the decimal places are not so important for the temperature. Kind regards, |
Hi, so I think I'm hearing the issue is that alexa is not pronouncing the temperature request correctly in German with regards to the decimal? For Celsius values we simply pass whatever value comes from OH to Alexa. Do you know if your OH instance is reporting something that might be giving it issues? Like maybe more than one decimal place ( eg 23.55 ) ? It sounds like an issue on Amazon's side, but I wonder if there is a way to avoid it without rounding the number up or down to a whole. The expected return value is a Float type, so amazon does expect a number with at least one decimal place. According to the smarthome docs this should be supported in German
*** EDIT *** |
|
We do support specifically German in the app meta information , but this is not something in code, but rather how its deployed and distributed. There is not language specifics in the smart home skill api. I don't think rounding C values is the right answer here, that would affect our UK and other Celsius users. Since German is not suppose to work in this case (not sure how it is), we may need to wait for them to support it properly. |
Hi, I think this is based on wrong format of given value. Could you please give me a hint on how to transform the value? Regards |
Hi Patrick, Items (The first one is the sensor itself, the second the rounded which is provided to alexa):
Rule:
Regards, |
Hi Michael, thanks for clarification and code snippets. Regards |
Seems to be solved now. |
Yes! I can confirm it, it works now! Thank you Dom1n1c for your hint! |
Hi,
If I ask alexa for a temperatur, I got the answer "23.5 Grad" (Which sounds '25er 5 Grad'), but it should be in German "23,5 Grad". So I think there is a problem with the decimal separator which should in german ',' instead of '.'
Is this a bug in the alexa software or is there a possibility in the skill to handle this?
Anyway, your skill is very useful! Thanks!
Kind regards,
Michael
The text was updated successfully, but these errors were encountered: