mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Bump aioswitcher to 5.1.0 (#132753)
* Bump aioswitcher to 5.0.0 * fix tests
This commit is contained in:
parent
bcedb004be
commit
790edea4a0
@ -6,6 +6,6 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/switcher_kis",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["aioswitcher"],
|
||||
"requirements": ["aioswitcher==5.0.0"],
|
||||
"requirements": ["aioswitcher==5.1.0"],
|
||||
"single_config_entry": true
|
||||
}
|
||||
|
@ -384,7 +384,7 @@ aiosteamist==1.0.0
|
||||
aiostreammagic==2.10.0
|
||||
|
||||
# homeassistant.components.switcher_kis
|
||||
aioswitcher==5.0.0
|
||||
aioswitcher==5.1.0
|
||||
|
||||
# homeassistant.components.syncthing
|
||||
aiosyncthing==0.5.1
|
||||
|
@ -366,7 +366,7 @@ aiosteamist==1.0.0
|
||||
aiostreammagic==2.10.0
|
||||
|
||||
# homeassistant.components.switcher_kis
|
||||
aioswitcher==5.0.0
|
||||
aioswitcher==5.1.0
|
||||
|
||||
# homeassistant.components.syncthing
|
||||
aiosyncthing==0.5.1
|
||||
|
@ -3,6 +3,7 @@
|
||||
from aioswitcher.device import (
|
||||
DeviceState,
|
||||
DeviceType,
|
||||
ShutterChildLock,
|
||||
ShutterDirection,
|
||||
SwitcherDualShutterSingleLight,
|
||||
SwitcherLight,
|
||||
@ -90,6 +91,8 @@ DUMMY_POSITION = [54]
|
||||
DUMMY_POSITION_2 = [54, 54]
|
||||
DUMMY_DIRECTION = [ShutterDirection.SHUTTER_STOP]
|
||||
DUMMY_DIRECTION_2 = [ShutterDirection.SHUTTER_STOP, ShutterDirection.SHUTTER_STOP]
|
||||
DUMMY_CHILD_LOCK = [ShutterChildLock.OFF]
|
||||
DUMMY_CHILD_LOCK_2 = [ShutterChildLock.OFF, ShutterChildLock.OFF]
|
||||
DUMMY_USERNAME = "email"
|
||||
DUMMY_TOKEN = "zvVvd7JxtN7CgvkD1Psujw=="
|
||||
DUMMY_LIGHT = [DeviceState.ON]
|
||||
@ -135,6 +138,7 @@ DUMMY_SHUTTER_DEVICE = SwitcherShutter(
|
||||
DUMMY_TOKEN_NEEDED4,
|
||||
DUMMY_POSITION,
|
||||
DUMMY_DIRECTION,
|
||||
DUMMY_CHILD_LOCK,
|
||||
)
|
||||
|
||||
DUMMY_SINGLE_SHUTTER_DUAL_LIGHT_DEVICE = SwitcherSingleShutterDualLight(
|
||||
@ -148,6 +152,7 @@ DUMMY_SINGLE_SHUTTER_DUAL_LIGHT_DEVICE = SwitcherSingleShutterDualLight(
|
||||
DUMMY_TOKEN_NEEDED5,
|
||||
DUMMY_POSITION,
|
||||
DUMMY_DIRECTION,
|
||||
DUMMY_CHILD_LOCK,
|
||||
DUMMY_LIGHT_2,
|
||||
)
|
||||
|
||||
@ -162,6 +167,7 @@ DUMMY_DUAL_SHUTTER_SINGLE_LIGHT_DEVICE = SwitcherDualShutterSingleLight(
|
||||
DUMMY_TOKEN_NEEDED6,
|
||||
DUMMY_POSITION_2,
|
||||
DUMMY_DIRECTION_2,
|
||||
DUMMY_CHILD_LOCK_2,
|
||||
DUMMY_LIGHT,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user