mirror of https://github.com/home-assistant/core
Add device HmIP-MIOB to Homematic IP Cloud (#22975)
* Update upstream dependency * Add two switches
This commit is contained in:
parent
6ba9ccf052
commit
d078e50fb8
|
@ -15,7 +15,7 @@ from .const import (
|
|||
from .device import HomematicipGenericDevice # noqa: F401
|
||||
from .hap import HomematicipAuth, HomematicipHAP # noqa: F401
|
||||
|
||||
REQUIREMENTS = ['homematicip==0.10.6']
|
||||
REQUIREMENTS = ['homematicip==0.10.7']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Homematicip cloud",
|
||||
"documentation": "https://www.home-assistant.io/components/homematicip_cloud",
|
||||
"requirements": [
|
||||
"homematicip==0.10.6"
|
||||
"homematicip==0.10.7"
|
||||
],
|
||||
"dependencies": [],
|
||||
"codeowners": []
|
||||
|
|
|
@ -25,6 +25,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
AsyncBrandSwitchMeasuring,
|
||||
AsyncFullFlushSwitchMeasuring,
|
||||
AsyncOpenCollector8Module,
|
||||
AsyncMultiIOBox,
|
||||
)
|
||||
|
||||
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):
|
||||
for channel in range(1, 9):
|
||||
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:
|
||||
if isinstance(group, AsyncSwitchingGroup):
|
||||
|
|
|
@ -551,7 +551,7 @@ homeassistant-pyozw==0.1.4
|
|||
homekit[IP]==0.13.0
|
||||
|
||||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.6
|
||||
homematicip==0.10.7
|
||||
|
||||
# homeassistant.components.horizon
|
||||
horimote==0.4.1
|
||||
|
|
|
@ -139,7 +139,7 @@ home-assistant-frontend==20190331.0
|
|||
homekit[IP]==0.13.0
|
||||
|
||||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.6
|
||||
homematicip==0.10.7
|
||||
|
||||
# homeassistant.components.google
|
||||
# homeassistant.components.remember_the_milk
|
||||
|
|
Loading…
Reference in New Issue