mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add addtional device classes to ISY994 sensors and bump PyISY to 3.0.11 (#85315)
This commit is contained in:
parent
9d45071e3f
commit
f12ffe1e49
@ -3,7 +3,7 @@
|
|||||||
"name": "Universal Devices ISY/IoX",
|
"name": "Universal Devices ISY/IoX",
|
||||||
"integration_type": "hub",
|
"integration_type": "hub",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/isy994",
|
"documentation": "https://www.home-assistant.io/integrations/isy994",
|
||||||
"requirements": ["pyisy==3.0.10"],
|
"requirements": ["pyisy==3.0.11"],
|
||||||
"codeowners": ["@bdraco", "@shbatm"],
|
"codeowners": ["@bdraco", "@shbatm"],
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"ssdp": [
|
"ssdp": [
|
||||||
|
@ -60,6 +60,7 @@ SKIP_AUX_PROPERTIES = {PROP_BUSY, PROP_COMMS_ERROR, PROP_STATUS}
|
|||||||
|
|
||||||
# Reference pyisy.constants.COMMAND_FRIENDLY_NAME for API details.
|
# Reference pyisy.constants.COMMAND_FRIENDLY_NAME for API details.
|
||||||
# Note: "LUMIN"/Illuminance removed, some devices use non-conformant "%" unit
|
# Note: "LUMIN"/Illuminance removed, some devices use non-conformant "%" unit
|
||||||
|
# "VOCLVL"/VOC removed, uses qualitative UOM not ug/m^3
|
||||||
ISY_CONTROL_TO_DEVICE_CLASS = {
|
ISY_CONTROL_TO_DEVICE_CLASS = {
|
||||||
PROP_BATTERY_LEVEL: SensorDeviceClass.BATTERY,
|
PROP_BATTERY_LEVEL: SensorDeviceClass.BATTERY,
|
||||||
PROP_HUMIDITY: SensorDeviceClass.HUMIDITY,
|
PROP_HUMIDITY: SensorDeviceClass.HUMIDITY,
|
||||||
@ -71,15 +72,29 @@ ISY_CONTROL_TO_DEVICE_CLASS = {
|
|||||||
"CV": SensorDeviceClass.VOLTAGE,
|
"CV": SensorDeviceClass.VOLTAGE,
|
||||||
"DEWPT": SensorDeviceClass.TEMPERATURE,
|
"DEWPT": SensorDeviceClass.TEMPERATURE,
|
||||||
"DISTANC": SensorDeviceClass.DISTANCE,
|
"DISTANC": SensorDeviceClass.DISTANCE,
|
||||||
|
"ETO": SensorDeviceClass.PRECIPITATION_INTENSITY,
|
||||||
|
"FATM": SensorDeviceClass.WEIGHT,
|
||||||
|
"FREQ": SensorDeviceClass.FREQUENCY,
|
||||||
|
"MUSCLEM": SensorDeviceClass.WEIGHT,
|
||||||
"PF": SensorDeviceClass.POWER_FACTOR,
|
"PF": SensorDeviceClass.POWER_FACTOR,
|
||||||
|
"PM10": SensorDeviceClass.PM10,
|
||||||
|
"PM25": SensorDeviceClass.PM25,
|
||||||
|
"PRECIP": SensorDeviceClass.PRECIPITATION,
|
||||||
"RAINRT": SensorDeviceClass.PRECIPITATION_INTENSITY,
|
"RAINRT": SensorDeviceClass.PRECIPITATION_INTENSITY,
|
||||||
|
"RFSS": SensorDeviceClass.SIGNAL_STRENGTH,
|
||||||
|
"SOILH": SensorDeviceClass.MOISTURE,
|
||||||
"SOILT": SensorDeviceClass.TEMPERATURE,
|
"SOILT": SensorDeviceClass.TEMPERATURE,
|
||||||
"SOLRAD": SensorDeviceClass.IRRADIANCE,
|
"SOLRAD": SensorDeviceClass.IRRADIANCE,
|
||||||
"SPEED": SensorDeviceClass.SPEED,
|
"SPEED": SensorDeviceClass.SPEED,
|
||||||
|
"TEMPEXH": SensorDeviceClass.TEMPERATURE,
|
||||||
|
"TEMPOUT": SensorDeviceClass.TEMPERATURE,
|
||||||
"TPW": SensorDeviceClass.ENERGY,
|
"TPW": SensorDeviceClass.ENERGY,
|
||||||
"VOCLVL": SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
|
"WATERP": SensorDeviceClass.PRESSURE,
|
||||||
"WATERT": SensorDeviceClass.TEMPERATURE,
|
"WATERT": SensorDeviceClass.TEMPERATURE,
|
||||||
|
"WATERTB": SensorDeviceClass.TEMPERATURE,
|
||||||
|
"WATERTD": SensorDeviceClass.TEMPERATURE,
|
||||||
"WEIGHT": SensorDeviceClass.WEIGHT,
|
"WEIGHT": SensorDeviceClass.WEIGHT,
|
||||||
|
"WINDCH": SensorDeviceClass.TEMPERATURE,
|
||||||
}
|
}
|
||||||
ISY_CONTROL_TO_STATE_CLASS = {
|
ISY_CONTROL_TO_STATE_CLASS = {
|
||||||
control: SensorStateClass.MEASUREMENT for control in ISY_CONTROL_TO_DEVICE_CLASS
|
control: SensorStateClass.MEASUREMENT for control in ISY_CONTROL_TO_DEVICE_CLASS
|
||||||
|
@ -1684,7 +1684,7 @@ pyirishrail==0.0.2
|
|||||||
pyiss==1.0.1
|
pyiss==1.0.1
|
||||||
|
|
||||||
# homeassistant.components.isy994
|
# homeassistant.components.isy994
|
||||||
pyisy==3.0.10
|
pyisy==3.0.11
|
||||||
|
|
||||||
# homeassistant.components.itach
|
# homeassistant.components.itach
|
||||||
pyitachip2ir==0.0.7
|
pyitachip2ir==0.0.7
|
||||||
|
@ -1197,7 +1197,7 @@ pyiqvia==2022.04.0
|
|||||||
pyiss==1.0.1
|
pyiss==1.0.1
|
||||||
|
|
||||||
# homeassistant.components.isy994
|
# homeassistant.components.isy994
|
||||||
pyisy==3.0.10
|
pyisy==3.0.11
|
||||||
|
|
||||||
# homeassistant.components.kaleidescape
|
# homeassistant.components.kaleidescape
|
||||||
pykaleidescape==1.0.1
|
pykaleidescape==1.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user