mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Add HmIP-SCI to Homematic IP Cloud, Fix HmIP-SWDM (#25639)
* Add HmIP-SCI to Homematic IP Cloud * Bump upstream dependency * Fix HmIP-SWDM
This commit is contained in:
parent
b5e296238f
commit
8a57255796
@ -2,6 +2,7 @@
|
||||
import logging
|
||||
|
||||
from homematicip.aio.device import (
|
||||
AsyncContactInterface,
|
||||
AsyncDevice,
|
||||
AsyncFullFlushContactInterface,
|
||||
AsyncMotionDetectorIndoor,
|
||||
@ -10,6 +11,7 @@ from homematicip.aio.device import (
|
||||
AsyncPresenceDetectorIndoor,
|
||||
AsyncRotaryHandleSensor,
|
||||
AsyncShutterContact,
|
||||
AsyncShutterContactMagnetic,
|
||||
AsyncSmokeDetector,
|
||||
AsyncWaterSensor,
|
||||
AsyncWeatherSensor,
|
||||
@ -63,9 +65,12 @@ async def async_setup_entry(
|
||||
home = hass.data[HMIPC_DOMAIN][config_entry.data[HMIPC_HAPID]].home
|
||||
devices = []
|
||||
for device in home.devices:
|
||||
if isinstance(device, AsyncFullFlushContactInterface):
|
||||
if isinstance(device, (AsyncContactInterface, AsyncFullFlushContactInterface)):
|
||||
devices.append(HomematicipContactInterface(home, device))
|
||||
if isinstance(device, (AsyncShutterContact, AsyncRotaryHandleSensor)):
|
||||
if isinstance(
|
||||
device,
|
||||
(AsyncShutterContact, AsyncShutterContactMagnetic, AsyncRotaryHandleSensor),
|
||||
):
|
||||
devices.append(HomematicipShutterContact(home, device))
|
||||
if isinstance(
|
||||
device,
|
||||
|
@ -4,7 +4,7 @@
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/components/homematicip_cloud",
|
||||
"requirements": [
|
||||
"homematicip==0.10.9"
|
||||
"homematicip==0.10.10"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": []
|
||||
|
@ -635,7 +635,7 @@ homeassistant-pyozw==0.1.4
|
||||
homekit[IP]==0.15.0
|
||||
|
||||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.9
|
||||
homematicip==0.10.10
|
||||
|
||||
# homeassistant.components.horizon
|
||||
horimote==0.4.1
|
||||
|
@ -180,7 +180,7 @@ home-assistant-frontend==20190801.0
|
||||
homekit[IP]==0.15.0
|
||||
|
||||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.9
|
||||
homematicip==0.10.10
|
||||
|
||||
# homeassistant.components.google
|
||||
# homeassistant.components.remember_the_milk
|
||||
|
Loading…
x
Reference in New Issue
Block a user