Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
update lib to 1.1.0 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Jan 13, 2022
1 parent 326aa1a commit 4e5c378
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request: ~

env:
DEFAULT_PYTHON: 3.9
DEFAULT_PYTHON: "3.10"

jobs:
validate-hacs:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/deebot/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"config_flow": true,
"documentation": "https://deebot.readthedocs.io/integrations/home-assistant",
"issue_tracker": "https://github.com/DeebotUniverse/Deebot-4-Home-Assistant/issues",
"requirements": ["deebot-client==1.0.0", "numpy>=1.21.2"],
"requirements": ["deebot-client==1.1.0", "numpy>=1.21.2"],
"codeowners": ["@DeebotUniverse", "@edenhaus"],
"iot_class": "cloud_polling"
}
2 changes: 1 addition & 1 deletion custom_components/deebot/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async def on_volume(event: VolumeEvent) -> None:
def icon(self) -> Optional[str]:
"""Return the icon to use in the frontend, if any."""
if self._attr_value is not None:
arrays = array_split( # type: ignore
arrays = array_split(
range(self._attr_min_value + 1, self._attr_max_value + 1), 3
)
if self._attr_value == self._attr_min_value:
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.9
python_version = 3.10
show_error_codes = true
follow_imports = silent
ignore_missing_imports = true
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# if code from specifix branch is needed
# git+https://github.com/DeebotUniverse/client.py@main#deebot-client==0.0.1b1
deebot-client==1.0.0
deebot-client==1.1.0

homeassistant>=2021.12.0.b0,<2022.01
mypy==0.931
Expand Down

0 comments on commit 4e5c378

Please sign in to comment.