Open Nickduino opened 1 month ago
I digged in the translation in Lokalise (I'm out of my depth here, not sure how all that works) and I found a key used by the Netatmo code from HA that says just that: "Frost guard" = "Hors-gel"
(You see the original key name is HG, as in Hors-Gel)
I can't do a PR or create a key in Lokalise because I'm an idiot but I hope you have most of what you need to correct things. Happy to answer further questions that may arise.
Thank you @Nickduino for bringing this up and investigating this issue.
@cgtobi Hi Tobias,
Could you check out this topic? Maybe HA should add an auto preset that could be used by all integrations?
@Nickduino this has nothing to do with the original issue, right? Please open a separate issue to track this. Thanks
@Nickduino this has nothing to do with the original issue, right? Please open a separate issue to track this. Thanks
Well, the opinion of the maintainer of a climate integration on the subject of presets vs HVAC modes is pretty related. I see 2024.11 has improved things dramatically, though.
As for the translation of the pressure trend, I deleted my message here and opened another issue.
The problem
@cgtobi Hi Tobias
I encountered an issue with two presets of the Netatmo Thermostat: they're not translated
In the climate.py, it seems you import some presets from HA's climate component, that are translated:
And you define some with hard-coded names:
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Netatmo
Link to integration documentation on our website
https://github.com/home-assistant/core/tree/536d702d96af511fc958e925fb3f5f7293f284f3/homeassistant/components/netatmo
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
I'd like to offer the following translations for French:
PRESET_FROST_GUARD = "Hors-gel" PRESET_SCHEDULE = "Planning" PRESET_MANUAL = "Manuel"
Translations for frost guard and schedule are what the Netatmo app calls them. There is no manual mode, though, I'm not sure what this is referring to.
I see they're missing icons as well. For
PRESET_FROST_GUARD = "Hors-gel"
, I would suggestmdi:snowflake
and forPRESET_SCHEDULE = "Planning"
, I would suggestmdi:calendar-month