Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from walthowd/model-2021-9
Browse files Browse the repository at this point in the history
Fixes automower in 2021.9
  • Loading branch information
walthowd authored Sep 15, 2021
2 parents 5c865bd + 8681913 commit c7aac2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/automower/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ def __init__(self, meta, api):
_LOGGER.debug("Initializing device: %s", meta['name'])
self._id = meta['id']
self._name = meta['name']
self._model = meta['model']
"""Husqvarna API stoppped returning model number, HA prior to 2021.9 defaulted to none."""
self._model = None
self._state = None
self._mower_status = None
self._stored_timestamp = None
Expand Down
2 changes: 1 addition & 1 deletion custom_components/automower/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"documentation": "https://github.com/walthowd/ha-automower/",
"dependencies": [],
"codeowners": ["@walthowd"],
"version": "1.1.2",
"version": "1.1.3",
"requirements": ["pyhusmow==0.1.1"]
}

0 comments on commit c7aac2d

Please sign in to comment.