Climate fan and swing settings in Home Assistant's words

The climate card's fan and swing rows showed the raw mode names (Auto, Low, Medium, High) in every language.
Home Assistant names the common ones itself (Laag, Mittel, Élevée): ha-words now copies those into screen.ha, and
the card looks a mode up there; an integration's own mode still reads as its name. ha-words also says how many
words it really changed. Found in the second test pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Max Gramser
2026-09-19 20:17:32 +02:00
parent a3a5d11c54
commit 85feb9a740
26 changed files with 257 additions and 34 deletions
+17 -2
View File
@@ -267,6 +267,21 @@ constexpr uint16_t ha_binary_window_off = 302;
constexpr uint16_t ha_button_activate = 303;
constexpr uint16_t ha_button_run = 304;
constexpr uint16_t ha_button_press = 305;
constexpr uint16_t ha_climate_fan_auto = 306;
constexpr uint16_t ha_climate_fan_low = 307;
constexpr uint16_t ha_climate_fan_medium = 308;
constexpr uint16_t ha_climate_fan_high = 309;
constexpr uint16_t ha_climate_fan_middle = 310;
constexpr uint16_t ha_climate_fan_focus = 311;
constexpr uint16_t ha_climate_fan_diffuse = 312;
constexpr uint16_t ha_climate_fan_top = 313;
constexpr uint16_t ha_climate_fan_on = 314;
constexpr uint16_t ha_climate_fan_off = 315;
constexpr uint16_t ha_climate_swing_on = 316;
constexpr uint16_t ha_climate_swing_off = 317;
constexpr uint16_t ha_climate_swing_both = 318;
constexpr uint16_t ha_climate_swing_vertical = 319;
constexpr uint16_t ha_climate_swing_horizontal = 320;
constexpr uint16_t date_weekdays = 18;
constexpr uint16_t date_weekdays_count = 7;
constexpr uint16_t date_weekdays_short = 25;
@@ -278,6 +293,6 @@ constexpr uint16_t date_months_count = 12;
constexpr uint16_t date_months_short = 51;
constexpr uint16_t date_months_short_count = 12;
} // namespace txt
constexpr uint16_t KEY_COUNT = 306;
constexpr uint32_t KEYS_HASH = 0x5DBB4605u;
constexpr uint16_t KEY_COUNT = 321;
constexpr uint32_t KEYS_HASH = 0x8FB53847u;
} // namespace screen_text