mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Enable retrieving sensor data from WoHub2 device and update pySwitchbot to 0.47.2 (#118567)
This commit is contained in:
parent
5fafbebf87
commit
7947f63860
@ -55,6 +55,7 @@ PLATFORMS_BY_TYPE = {
|
||||
Platform.BINARY_SENSOR,
|
||||
Platform.SENSOR,
|
||||
],
|
||||
SupportedModels.HUB2.value: [Platform.SENSOR],
|
||||
}
|
||||
CLASS_BY_DEVICE = {
|
||||
SupportedModels.CEILING_LIGHT.value: switchbot.SwitchbotCeilingLight,
|
||||
|
@ -27,6 +27,7 @@ class SupportedModels(StrEnum):
|
||||
HUMIDIFIER = "humidifier"
|
||||
LOCK = "lock"
|
||||
BLIND_TILT = "blind_tilt"
|
||||
HUB2 = "hub2"
|
||||
|
||||
|
||||
CONNECTABLE_SUPPORTED_MODEL_TYPES = {
|
||||
@ -39,6 +40,7 @@ CONNECTABLE_SUPPORTED_MODEL_TYPES = {
|
||||
SwitchbotModel.HUMIDIFIER: SupportedModels.HUMIDIFIER,
|
||||
SwitchbotModel.LOCK: SupportedModels.LOCK,
|
||||
SwitchbotModel.BLIND_TILT: SupportedModels.BLIND_TILT,
|
||||
SwitchbotModel.HUB2: SupportedModels.HUB2,
|
||||
}
|
||||
|
||||
NON_CONNECTABLE_SUPPORTED_MODEL_TYPES = {
|
||||
|
@ -39,5 +39,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/switchbot",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["switchbot"],
|
||||
"requirements": ["PySwitchbot==0.46.1"]
|
||||
"requirements": ["PySwitchbot==0.47.2"]
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ PyQRCode==1.2.1
|
||||
PyRMVtransport==0.3.3
|
||||
|
||||
# homeassistant.components.switchbot
|
||||
PySwitchbot==0.46.1
|
||||
PySwitchbot==0.47.2
|
||||
|
||||
# homeassistant.components.switchmate
|
||||
PySwitchmate==0.5.1
|
||||
|
@ -75,7 +75,7 @@ PyQRCode==1.2.1
|
||||
PyRMVtransport==0.3.3
|
||||
|
||||
# homeassistant.components.switchbot
|
||||
PySwitchbot==0.46.1
|
||||
PySwitchbot==0.47.2
|
||||
|
||||
# homeassistant.components.syncthru
|
||||
PySyncThru==0.7.10
|
||||
|
Loading…
x
Reference in New Issue
Block a user