Add device HmIP-MIOB to Homematic IP Cloud (#22975)

* Update upstream dependency

* Add two switches
This commit is contained in:
Markus Jankowski 2019-04-11 10:49:02 +02:00 committed by Martin Hjelmare
parent 6ba9ccf052
commit d078e50fb8
5 changed files with 8 additions and 4 deletions

View File

@ -15,7 +15,7 @@ from .const import (
from .device import HomematicipGenericDevice # noqa: F401 from .device import HomematicipGenericDevice # noqa: F401
from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401
REQUIREMENTS = ['homematicip==0.10.6'] REQUIREMENTS = ['homematicip==0.10.7']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)

View File

@ -3,7 +3,7 @@
"name": "Homematicip cloud", "name": "Homematicip cloud",
"documentation": "https://www.home-assistant.io/components/homematicip_cloud", "documentation": "https://www.home-assistant.io/components/homematicip_cloud",
"requirements": [ "requirements": [
"homematicip==0.10.6" "homematicip==0.10.7"
], ],
"dependencies": [], "dependencies": [],
"codeowners": [] "codeowners": []

View File

@ -25,6 +25,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
AsyncBrandSwitchMeasuring, AsyncBrandSwitchMeasuring,
AsyncFullFlushSwitchMeasuring, AsyncFullFlushSwitchMeasuring,
AsyncOpenCollector8Module, AsyncOpenCollector8Module,
AsyncMultiIOBox,
) )
from homematicip.aio.group import AsyncSwitchingGroup from homematicip.aio.group import AsyncSwitchingGroup
@ -45,6 +46,9 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
elif isinstance(device, AsyncOpenCollector8Module): elif isinstance(device, AsyncOpenCollector8Module):
for channel in range(1, 9): for channel in range(1, 9):
devices.append(HomematicipMultiSwitch(home, device, channel)) devices.append(HomematicipMultiSwitch(home, device, channel))
elif isinstance(device, AsyncMultiIOBox):
for channel in range(1, 3):
devices.append(HomematicipMultiSwitch(home, device, channel))
for group in home.groups: for group in home.groups:
if isinstance(group, AsyncSwitchingGroup): if isinstance(group, AsyncSwitchingGroup):

View File

@ -551,7 +551,7 @@ homeassistant-pyozw==0.1.4
homekit[IP]==0.13.0 homekit[IP]==0.13.0
# homeassistant.components.homematicip_cloud # homeassistant.components.homematicip_cloud
homematicip==0.10.6 homematicip==0.10.7
# homeassistant.components.horizon # homeassistant.components.horizon
horimote==0.4.1 horimote==0.4.1

View File

@ -139,7 +139,7 @@ home-assistant-frontend==20190331.0
homekit[IP]==0.13.0 homekit[IP]==0.13.0
# homeassistant.components.homematicip_cloud # homeassistant.components.homematicip_cloud
homematicip==0.10.6 homematicip==0.10.7
# homeassistant.components.google # homeassistant.components.google
# homeassistant.components.remember_the_milk # homeassistant.components.remember_the_milk