From cd68f7dc144bd67402937f484c48c85f19978c69 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Sat, 16 May 2020 17:56:26 +0200 Subject: [PATCH] Update pyhomematic to 0.1.67 (#35637) --- homeassistant/components/homematic/binary_sensor.py | 2 ++ homeassistant/components/homematic/const.py | 5 +++++ homeassistant/components/homematic/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index 041f2f02643..7315a266a30 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -30,6 +30,8 @@ SENSOR_TYPES_CLASS = { "TiltSensor": None, "WeatherSensor": None, "IPContact": DEVICE_CLASS_OPENING, + "MotionIPV2": DEVICE_CLASS_MOTION, + "IPRemoteMotionV2": DEVICE_CLASS_MOTION, } diff --git a/homeassistant/components/homematic/const.py b/homeassistant/components/homematic/const.py index 188ec1e2445..9339fca84e5 100644 --- a/homeassistant/components/homematic/const.py +++ b/homeassistant/components/homematic/const.py @@ -55,6 +55,7 @@ HM_DEVICE_TYPES = { "IPKeySwitch", "IPKeySwitchLevel", "IPMultiIO", + "IPWSwitch", ], DISCOVER_LIGHTS: [ "Dimmer", @@ -106,6 +107,8 @@ HM_DEVICE_TYPES = { "MotionIPV2", "IPMultiIO", "IPThermostatWall2", + "IPRemoteMotionV2", + "HBUNISenWEA", ], DISCOVER_CLIMATE: [ "Thermostat", @@ -145,6 +148,8 @@ HM_DEVICE_TYPES = { "TiltIP", "IPShutterContactSabotage", "IPContact", + "IPRemoteMotionV2", + "IPWInputDevice", ], DISCOVER_COVER: ["Blind", "KeyBlind", "IPKeyBlind", "IPKeyBlindTilt"], DISCOVER_LOCKS: ["KeyMatic"], diff --git a/homeassistant/components/homematic/manifest.json b/homeassistant/components/homematic/manifest.json index 31b26bbd511..de55b941b91 100644 --- a/homeassistant/components/homematic/manifest.json +++ b/homeassistant/components/homematic/manifest.json @@ -2,6 +2,6 @@ "domain": "homematic", "name": "Homematic", "documentation": "https://www.home-assistant.io/integrations/homematic", - "requirements": ["pyhomematic==0.1.66"], + "requirements": ["pyhomematic==0.1.67"], "codeowners": ["@pvizeli", "@danielperna84"] } diff --git a/requirements_all.txt b/requirements_all.txt index bf7430a7df7..54bdf4454d6 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1363,7 +1363,7 @@ pyhik==0.2.7 pyhiveapi==0.2.20.1 # homeassistant.components.homematic -pyhomematic==0.1.66 +pyhomematic==0.1.67 # homeassistant.components.homeworks pyhomeworks==0.0.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index da24c835e00..c57362d8634 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -576,7 +576,7 @@ pyhaversion==3.3.0 pyheos==0.6.0 # homeassistant.components.homematic -pyhomematic==0.1.66 +pyhomematic==0.1.67 # homeassistant.components.icloud pyicloud==0.9.7