Skip to content

Commit

Permalink
Fix inital setup error
Browse files Browse the repository at this point in the history
  • Loading branch information
amosyuen committed Apr 8, 2023
1 parent 62e4b11 commit e044006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions custom_components/mikucare/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@


def _get_auth_schema(data: dict[str:Any]):
if data is None:
data = {}
return {
vol.Required(CONF_USERNAME, default=data.get(CONF_USERNAME, "")): str,
vol.Required(CONF_PASSWORD, default=data.get(CONF_PASSWORD, "")): str,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mikucare/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/amosyuen/ha-mikucare/issues",
"requirements": ["boto3>=1.26.59"],
"version": "1.0.1"
"version": "1.0.2"
}

0 comments on commit e044006

Please sign in to comment.