Skip to content

Commit

Permalink
Bugfix invalid device info (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekman authored Sep 19, 2023
1 parent 6257622 commit 02c3816
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/purei9/purei9.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,5 @@ def create_device_attrs(params: Params):
"sw_version": params.firmware,
# We don't know the exact model, i.e. Pure i9 or Pure i9.2,
# so only report a default model
"default_model": const.MODEL
"model": const.MODEL
}
2 changes: 1 addition & 1 deletion custom_components/purei9/vacuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def device_info(self) -> DeviceInfo:
"sw_version": self._params.firmware,
# We don't know the exact model, i.e. Pure i9 or Pure i9.2,
# so only report a default model
"default_model": const.MODEL
"model": const.MODEL
}

@property
Expand Down

0 comments on commit 02c3816

Please sign in to comment.