Update pyhomematic to 0.1.74 (#54613)

This commit is contained in:
Daniel Perna 2021-08-15 12:50:40 +02:00 committed by GitHub
parent 87e7a8fb5f
commit 675441142d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 3 deletions

View File

@ -62,6 +62,7 @@ HM_DEVICE_TYPES = {
"IPWIODevice", "IPWIODevice",
"IPSwitchBattery", "IPSwitchBattery",
"IPMultiIOPCB", "IPMultiIOPCB",
"IPGarageSwitch",
], ],
DISCOVER_LIGHTS: [ DISCOVER_LIGHTS: [
"Dimmer", "Dimmer",
@ -125,6 +126,7 @@ HM_DEVICE_TYPES = {
"TempModuleSTE2", "TempModuleSTE2",
"IPMultiIOPCB", "IPMultiIOPCB",
"ValveBoxW", "ValveBoxW",
"CO2SensorIP",
], ],
DISCOVER_CLIMATE: [ DISCOVER_CLIMATE: [
"Thermostat", "Thermostat",

View File

@ -2,7 +2,7 @@
"domain": "homematic", "domain": "homematic",
"name": "Homematic", "name": "Homematic",
"documentation": "https://www.home-assistant.io/integrations/homematic", "documentation": "https://www.home-assistant.io/integrations/homematic",
"requirements": ["pyhomematic==0.1.73"], "requirements": ["pyhomematic==0.1.74"],
"codeowners": ["@pvizeli", "@danielperna84"], "codeowners": ["@pvizeli", "@danielperna84"],
"iot_class": "local_push" "iot_class": "local_push"
} }

View File

@ -3,7 +3,9 @@ import logging
from homeassistant.components.sensor import SensorEntity from homeassistant.components.sensor import SensorEntity
from homeassistant.const import ( from homeassistant.const import (
CONCENTRATION_PARTS_PER_MILLION,
DEGREE, DEGREE,
DEVICE_CLASS_CO2,
DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_HUMIDITY,
DEVICE_CLASS_ILLUMINANCE, DEVICE_CLASS_ILLUMINANCE,
DEVICE_CLASS_POWER, DEVICE_CLASS_POWER,
@ -72,6 +74,7 @@ HM_UNIT_HA_CAST = {
"VALVE_STATE": PERCENTAGE, "VALVE_STATE": PERCENTAGE,
"CARRIER_SENSE_LEVEL": PERCENTAGE, "CARRIER_SENSE_LEVEL": PERCENTAGE,
"DUTY_CYCLE_LEVEL": PERCENTAGE, "DUTY_CYCLE_LEVEL": PERCENTAGE,
"CONCENTRATION": CONCENTRATION_PARTS_PER_MILLION,
} }
HM_DEVICE_CLASS_HA_CAST = { HM_DEVICE_CLASS_HA_CAST = {
@ -85,6 +88,7 @@ HM_DEVICE_CLASS_HA_CAST = {
"HIGHEST_ILLUMINATION": DEVICE_CLASS_ILLUMINANCE, "HIGHEST_ILLUMINATION": DEVICE_CLASS_ILLUMINANCE,
"POWER": DEVICE_CLASS_POWER, "POWER": DEVICE_CLASS_POWER,
"CURRENT": DEVICE_CLASS_POWER, "CURRENT": DEVICE_CLASS_POWER,
"CONCENTRATION": DEVICE_CLASS_CO2,
} }
HM_ICON_HA_CAST = {"WIND_SPEED": "mdi:weather-windy", "BRIGHTNESS": "mdi:invert-colors"} HM_ICON_HA_CAST = {"WIND_SPEED": "mdi:weather-windy", "BRIGHTNESS": "mdi:invert-colors"}

View File

@ -1487,7 +1487,7 @@ pyhik==0.2.8
pyhiveapi==0.4.2 pyhiveapi==0.4.2
# homeassistant.components.homematic # homeassistant.components.homematic
pyhomematic==0.1.73 pyhomematic==0.1.74
# homeassistant.components.homeworks # homeassistant.components.homeworks
pyhomeworks==0.0.6 pyhomeworks==0.0.6

View File

@ -839,7 +839,7 @@ pyheos==0.7.2
pyhiveapi==0.4.2 pyhiveapi==0.4.2
# homeassistant.components.homematic # homeassistant.components.homematic
pyhomematic==0.1.73 pyhomematic==0.1.74
# homeassistant.components.ialarm # homeassistant.components.ialarm
pyialarm==1.9.0 pyialarm==1.9.0