Skip to content

v0.6.5 — Actually fix the options-flow 500

Choose a tag to compare

@nodomain nodomain released this 04 Jun 21:52

Fixed

  • The Configure cog still 500'd in 0.6.4 because async_get_options_flow was still calling RainWarnerOptionsFlow(config_entry). With the constructor gone, the parent OptionsFlow.__init__ (= object.__init__) rejects the positional argument and raises TypeError: RainWarnerOptionsFlow() takes no arguments. Modern Home Assistant injects self.config_entry on the handler itself, so the factory now returns RainWarnerOptionsFlow() with no args and the options dialog finally opens.

Verified live: POST /api/config/config_entries/options/flow now returns HTTP 200 with the expected schema (data_source / radius / nowcast_engine).

Full Changelog: v0.6.4...v0.6.5