Skip to content

Commit

Permalink
Use new helper properties in netatmo options flow (home-assistant#129781
Browse files Browse the repository at this point in the history
)

* Use new helper properties in netatmo options flow

* Update homeassistant/components/netatmo/config_flow.py

* Apply suggestions from code review

* Improve

* Keep options

* Simplify
  • Loading branch information
epenet authored Nov 6, 2024
1 parent 5679b06 commit 33016c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion homeassistant/components/netatmo/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class NetatmoOptionsFlowHandler(OptionsFlow):

def __init__(self, config_entry: ConfigEntry) -> None:
"""Initialize Netatmo options flow."""
self.config_entry = config_entry
self.options = dict(config_entry.options)
self.options.setdefault(CONF_WEATHER_AREAS, {})

Expand Down

0 comments on commit 33016c2

Please sign in to comment.