core: OpenWeatherMap doesn't follow language setting
The problem
Even though my language is set to English:
sensor ‘Weather’ is displayed in Dutch:
also, there is no icon for this sensor, so we need to customize it, and being in an incorrect language makes that difficult, because its is not following the condition classes but a localized language
Environment
- Home Assistant Core release with the issue: 117.2
- Last working Home Assistant Core release (if known): ?
- Operating environment (OS/Container/Supervised/Core): OS
- Integration causing this issue: OpenWeatherMap
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/openweathermap/
Problem-relevant configuration.yaml
Traceback/Error logs
Additional information
nothing further, this is all default
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 16 (12 by maintainers)
Will be fixed here #46166
just assume extra info, I received this from OpenWeastherMap:
and yet, though you said the weather sensor comes straight from the api, I saw these translations come by, and they’re not in the list:
and that’s only logging a couple of days, without many weather condition changes… So it’s still a bit unclear what really is happening. which must be a backend thing? because well check this:
currently code 802 is reported:
which according to the OWM list should lead to 'half bewolkt' in Dutch, but this is returned: which is the condition name for condition 801.So maybe this isnt simply a translation thing, but an even more core integration issue than noted before.