mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
Changed all selector option keys from uppercase to lowercase to comply with Home Assistant's hassfest validation pattern [a-z0-9-_]+. Fixed inconsistency in PEAK_PRICE_MIN_LEVEL_OPTIONS where some values were uppercase while others were lowercase. Changes: - translations/*.json: All selector keys now lowercase (volatility, price_level) - const.py: Added .lower() to all PEAK_PRICE_MIN_LEVEL_OPTIONS values - binary_sensor.py: Added .upper() conversion when looking up price levels in PRICE_LEVEL_MAPPING to handle lowercase config values Impact: Config flow now works correctly with translated selector options. Hassfest validation passes without selector key errors. |
||
|---|---|---|
| .. | ||
| de.json | ||
| en.json | ||
| nb.json | ||
| nl.json | ||
| sv.json | ||