simple-thermostat
simple-thermostat copied to clipboard
Localization for modes none, eco, away, sleep, home, comfort
Is your feature request related to a problem? Please describe. I have HomeAssistant in my local language, but the modes of Simple Thermostat are only displayed in English. I would really like to see NONE, ECO, AWAY, SLEEP and COMFORT in my own language.
How can I get this to work?
You can translate this yourself with something like:
control:
hvac:
heat:
name: Allumé
'off':
name: Éteint
preset:
Full power: false
Manufacturer specific: false
Energy heat:
name: Éco
icon: false
none:
name: Normal
icon: false
The card shows "heat/off" for the hvac controls, and "Full Power", "Manufacturer specific", "Energy heat" and "none" for the presets. This changes the hvac controls to "Allumé"/"Éteint", hides the "Full Power" and "Manufacturer specific" presets, and translated the other 2 to "Éco" and "Normal"
Thanks for the suggestion. It does require that anyone looking to change the defaults needs to start translating and hack config files. Which seems odd particularly as this is a front-end/UX issue. From a UX perspective having sensible defaults aligned with the local language seems the better choice. Is there any way to localize the indicators outside of coding the config file? I'd sign up myself instantly to provide for a Dutch translation.
Edit: And let's not forget the users who don't speak English - There are plenty of countries where English is not in the top 5. The world is a big place! Just as a reminder: I had to dig into the Developer Tools > Entities page to understand which values where available, so that I could program an automation.
I'm just a user who started using simple-thermostat this weekend, I don't know if there are better ways of handling translations ^^
As illustration: here are the default thermostat and the Simple Thermostat vertically stacked. Notice how the default has localized settings name (I didn't put them there). So it's apparently possible to localize UI elements. Whereas Simple Thermostat only has the English variants.