mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Bump PyOverkiz and improve code quality (late review) (#67075)
This commit is contained in:
parent
cb190a7b17
commit
5e938ea61b
@ -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,
|
||||
)
|
||||
|
@ -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": [
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user