You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix postcode lookup and options flow; clean up dependencies
Switch to the new carbon_intensity_uk API library and pin it
(carbon_intensity_uk==1.0.1) so Home Assistant reliably installs and
upgrades it. This fixes postcode validation in the config flow.
Clean up manifest requirements: drop aiohttp (provided by Home
Assistant core) and numpy (a transitive dependency of the library).
Fix the options flow for Home Assistant 2025.12+, where
OptionsFlow.config_entry became a read-only property: stop assigning
it in the handler and read the entry options in async_step_init
instead. Raise the HACS minimum Home Assistant version to 2024.11.0
accordingly (older versions also lacked APIs the integration already
uses).
Bump the integration version to 1.0.2 and clarify the postcode field
label (outward code, e.g. SW1).
Verified end-to-end on Home Assistant 2025.1.4: config flow, options
flow, and all 10 sensors populated from the live API.
0 commit comments