Skip to content

Commit

Permalink
Update config_flow.py
Browse files Browse the repository at this point in the history
closes #40
  • Loading branch information
pinkywafer committed Apr 7, 2020
1 parent 393632a commit 7edf00a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/anniversaries/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def is_not_date(date):
class OptionsFlowHandler(config_entries.OptionsFlow):
def __init__(self, config_entry):
self.config_entry = config_entry
self._data = config_entry.options
self._data = {}
self._data["unique_id"] = config_entry.options.get("unique_id")

async def async_step_init(self, user_input=None):
self._errors = {}
Expand Down

0 comments on commit 7edf00a

Please sign in to comment.