From 0d91167cdd8680783d6baeb1fc02dff2d3d9aecd Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Sun, 3 Oct 2021 19:37:38 +0200 Subject: [PATCH] Update pyhomematic to 0.1.75 (#56995) --- homeassistant/components/homematic/const.py | 8 ++++++++ homeassistant/components/homematic/manifest.json | 2 +- homeassistant/components/homematic/sensor.py | 1 + requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/homematic/const.py b/homeassistant/components/homematic/const.py index 0880d168375..03b3f55e505 100644 --- a/homeassistant/components/homematic/const.py +++ b/homeassistant/components/homematic/const.py @@ -59,6 +59,7 @@ HM_DEVICE_TYPES = { "IPMultiIO", "IPWSwitch", "IOSwitchWireless", + "IPSwitchRssiDevice", "IPWIODevice", "IPSwitchBattery", "IPMultiIOPCB", @@ -145,9 +146,11 @@ HM_DEVICE_TYPES = { "ShutterContact", "Smoke", "SmokeV2", + "SmokeV2Team", "Motion", "MotionV2", "MotionIP", + "MotionIPContactSabotage", "RemoteMotion", "WeatherSensor", "TiltSensor", @@ -174,6 +177,7 @@ HM_DEVICE_TYPES = { "IPRainSensor", "IPLanRouter", "IPMultiIOPCB", + "IPLockDLD", ], DISCOVER_COVER: [ "Blind", @@ -221,6 +225,10 @@ HM_ATTRIBUTE_SUPPORT = { "OPERATING_VOLTAGE": ["voltage", {}], "WORKING": ["working", {0: "No", 1: "Yes"}], "STATE_UNCERTAIN": ["state_uncertain", {}], + "SENDERID": ["last_senderid", {}], + "SENDERADDRESS": ["last_senderaddress", {}], + "ERROR_ALARM_TEST": ["error_alarm_test", {0: "No", 1: "Yes"}], + "ERROR_SMOKE_CHAMBER": ["error_smoke_chamber", {0: "No", 1: "Yes"}], } HM_PRESS_EVENTS = [ diff --git a/homeassistant/components/homematic/manifest.json b/homeassistant/components/homematic/manifest.json index f500ef54b56..34015426d78 100644 --- a/homeassistant/components/homematic/manifest.json +++ b/homeassistant/components/homematic/manifest.json @@ -2,7 +2,7 @@ "domain": "homematic", "name": "Homematic", "documentation": "https://www.home-assistant.io/integrations/homematic", - "requirements": ["pyhomematic==0.1.74"], + "requirements": ["pyhomematic==0.1.75"], "codeowners": ["@pvizeli", "@danielperna84"], "iot_class": "local_push" } diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 18690ac3553..84bb7b4d5a3 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -42,6 +42,7 @@ HM_STATE_HA_CAST = { 2: "allsens_armed", 3: "alarm_blocked", }, + "IPLockDLD": {0: None, 1: "locked", 2: "unlocked"}, } HM_UNIT_HA_CAST = { diff --git a/requirements_all.txt b/requirements_all.txt index 6001d15e345..57cd02b3a26 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1526,7 +1526,7 @@ pyhik==0.2.8 pyhiveapi==0.4.2 # homeassistant.components.homematic -pyhomematic==0.1.74 +pyhomematic==0.1.75 # homeassistant.components.homeworks pyhomeworks==0.0.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 24193191e9f..76b3946dadb 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -893,7 +893,7 @@ pyheos==0.7.2 pyhiveapi==0.4.2 # homeassistant.components.homematic -pyhomematic==0.1.74 +pyhomematic==0.1.75 # homeassistant.components.ialarm pyialarm==1.9.0