diff --git a/homeassistant/components/overkiz/cover_entities/vertical_cover.py b/homeassistant/components/overkiz/cover_entities/vertical_cover.py index 4ad1c401d73..ec502a403ad 100644 --- a/homeassistant/components/overkiz/cover_entities/vertical_cover.py +++ b/homeassistant/components/overkiz/cover_entities/vertical_cover.py @@ -3,7 +3,13 @@ from __future__ import annotations from typing import Any, cast -from pyoverkiz.enums import OverkizCommand, OverkizState, UIClass, UIWidget +from pyoverkiz.enums import ( + OverkizCommand, + OverkizCommandParam, + OverkizState, + UIClass, + UIWidget, +) from homeassistant.components.cover import ( ATTR_POSITION, @@ -132,5 +138,7 @@ class LowSpeedCover(VerticalCover): position = 100 - kwargs.get(ATTR_POSITION, 0) await self.executor.async_execute_command( - OverkizCommand.SET_CLOSURE_AND_LINEAR_SPEED, position, "lowspeed" + OverkizCommand.SET_CLOSURE_AND_LINEAR_SPEED, + position, + OverkizCommandParam.LOWSPEED, ) diff --git a/homeassistant/components/overkiz/manifest.json b/homeassistant/components/overkiz/manifest.json index 833441442b2..1c5d6b1b685 100644 --- a/homeassistant/components/overkiz/manifest.json +++ b/homeassistant/components/overkiz/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/overkiz", "requirements": [ - "pyoverkiz==1.3.6" + "pyoverkiz==1.3.8" ], "zeroconf": [ { diff --git a/requirements_all.txt b/requirements_all.txt index 5fea13dd6e6..925df830952 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1753,7 +1753,7 @@ pyotgw==1.1b1 pyotp==2.6.0 # homeassistant.components.overkiz -pyoverkiz==1.3.6 +pyoverkiz==1.3.8 # homeassistant.components.openweathermap pyowm==3.2.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 676464c76cb..2a44bfa6361 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1125,7 +1125,7 @@ pyotgw==1.1b1 pyotp==2.6.0 # homeassistant.components.overkiz -pyoverkiz==1.3.6 +pyoverkiz==1.3.8 # homeassistant.components.openweathermap pyowm==3.2.0