mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
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 .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__)
|
||||||
|
|
||||||
|
@ -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": []
|
||||||
|
@ -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):
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user