mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +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",
|
"documentation": "https://www.home-assistant.io/integrations/switcher_kis",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
"loggers": ["aioswitcher"],
|
"loggers": ["aioswitcher"],
|
||||||
"requirements": ["aioswitcher==5.0.0"],
|
"requirements": ["aioswitcher==5.1.0"],
|
||||||
"single_config_entry": true
|
"single_config_entry": true
|
||||||
}
|
}
|
||||||
|
@ -384,7 +384,7 @@ aiosteamist==1.0.0
|
|||||||
aiostreammagic==2.10.0
|
aiostreammagic==2.10.0
|
||||||
|
|
||||||
# homeassistant.components.switcher_kis
|
# homeassistant.components.switcher_kis
|
||||||
aioswitcher==5.0.0
|
aioswitcher==5.1.0
|
||||||
|
|
||||||
# homeassistant.components.syncthing
|
# homeassistant.components.syncthing
|
||||||
aiosyncthing==0.5.1
|
aiosyncthing==0.5.1
|
||||||
|
@ -366,7 +366,7 @@ aiosteamist==1.0.0
|
|||||||
aiostreammagic==2.10.0
|
aiostreammagic==2.10.0
|
||||||
|
|
||||||
# homeassistant.components.switcher_kis
|
# homeassistant.components.switcher_kis
|
||||||
aioswitcher==5.0.0
|
aioswitcher==5.1.0
|
||||||
|
|
||||||
# homeassistant.components.syncthing
|
# homeassistant.components.syncthing
|
||||||
aiosyncthing==0.5.1
|
aiosyncthing==0.5.1
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
from aioswitcher.device import (
|
from aioswitcher.device import (
|
||||||
DeviceState,
|
DeviceState,
|
||||||
DeviceType,
|
DeviceType,
|
||||||
|
ShutterChildLock,
|
||||||
ShutterDirection,
|
ShutterDirection,
|
||||||
SwitcherDualShutterSingleLight,
|
SwitcherDualShutterSingleLight,
|
||||||
SwitcherLight,
|
SwitcherLight,
|
||||||
@ -90,6 +91,8 @@ DUMMY_POSITION = [54]
|
|||||||
DUMMY_POSITION_2 = [54, 54]
|
DUMMY_POSITION_2 = [54, 54]
|
||||||
DUMMY_DIRECTION = [ShutterDirection.SHUTTER_STOP]
|
DUMMY_DIRECTION = [ShutterDirection.SHUTTER_STOP]
|
||||||
DUMMY_DIRECTION_2 = [ShutterDirection.SHUTTER_STOP, 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_USERNAME = "email"
|
||||||
DUMMY_TOKEN = "zvVvd7JxtN7CgvkD1Psujw=="
|
DUMMY_TOKEN = "zvVvd7JxtN7CgvkD1Psujw=="
|
||||||
DUMMY_LIGHT = [DeviceState.ON]
|
DUMMY_LIGHT = [DeviceState.ON]
|
||||||
@ -135,6 +138,7 @@ DUMMY_SHUTTER_DEVICE = SwitcherShutter(
|
|||||||
DUMMY_TOKEN_NEEDED4,
|
DUMMY_TOKEN_NEEDED4,
|
||||||
DUMMY_POSITION,
|
DUMMY_POSITION,
|
||||||
DUMMY_DIRECTION,
|
DUMMY_DIRECTION,
|
||||||
|
DUMMY_CHILD_LOCK,
|
||||||
)
|
)
|
||||||
|
|
||||||
DUMMY_SINGLE_SHUTTER_DUAL_LIGHT_DEVICE = SwitcherSingleShutterDualLight(
|
DUMMY_SINGLE_SHUTTER_DUAL_LIGHT_DEVICE = SwitcherSingleShutterDualLight(
|
||||||
@ -148,6 +152,7 @@ DUMMY_SINGLE_SHUTTER_DUAL_LIGHT_DEVICE = SwitcherSingleShutterDualLight(
|
|||||||
DUMMY_TOKEN_NEEDED5,
|
DUMMY_TOKEN_NEEDED5,
|
||||||
DUMMY_POSITION,
|
DUMMY_POSITION,
|
||||||
DUMMY_DIRECTION,
|
DUMMY_DIRECTION,
|
||||||
|
DUMMY_CHILD_LOCK,
|
||||||
DUMMY_LIGHT_2,
|
DUMMY_LIGHT_2,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -162,6 +167,7 @@ DUMMY_DUAL_SHUTTER_SINGLE_LIGHT_DEVICE = SwitcherDualShutterSingleLight(
|
|||||||
DUMMY_TOKEN_NEEDED6,
|
DUMMY_TOKEN_NEEDED6,
|
||||||
DUMMY_POSITION_2,
|
DUMMY_POSITION_2,
|
||||||
DUMMY_DIRECTION_2,
|
DUMMY_DIRECTION_2,
|
||||||
|
DUMMY_CHILD_LOCK_2,
|
||||||
DUMMY_LIGHT,
|
DUMMY_LIGHT,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user