mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-30 05:13: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. |
||
|---|---|---|
| .. | ||
| custom_translations | ||
| translations | ||
| __init__.py | ||
| api.py | ||
| average_utils.py | ||
| binary_sensor.py | ||
| config_flow.py | ||
| const.py | ||
| coordinator.py | ||
| data.py | ||
| diagnostics.py | ||
| entity.py | ||
| manifest.json | ||
| period_utils.py | ||
| price_utils.py | ||
| sensor.py | ||
| services.py | ||
| services.yaml | ||