Add classes for new Homematic devicetypes/devices (HmIP-SMI, HmIP-DRSI1) (#57521)
* Update const.py Add new classes according to pyhomatic 0.1.75 * Update binary_sensor.py
This commit is contained in:
parent
34e5596375
commit
388cdf4e94
2 changed files with 6 additions and 2 deletions
|
@ -26,7 +26,9 @@ SENSOR_TYPES_CLASS = {
|
||||||
"TiltSensor": None,
|
"TiltSensor": None,
|
||||||
"WeatherSensor": None,
|
"WeatherSensor": None,
|
||||||
"IPContact": DEVICE_CLASS_OPENING,
|
"IPContact": DEVICE_CLASS_OPENING,
|
||||||
|
"MotionIP": DEVICE_CLASS_MOTION,
|
||||||
"MotionIPV2": DEVICE_CLASS_MOTION,
|
"MotionIPV2": DEVICE_CLASS_MOTION,
|
||||||
|
"MotionIPContactSabotage": DEVICE_CLASS_MOTION,
|
||||||
"IPRemoteMotionV2": DEVICE_CLASS_MOTION,
|
"IPRemoteMotionV2": DEVICE_CLASS_MOTION,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ HM_DEVICE_TYPES = {
|
||||||
"IOSwitch",
|
"IOSwitch",
|
||||||
"IOSwitchNoInhibit",
|
"IOSwitchNoInhibit",
|
||||||
"IPSwitch",
|
"IPSwitch",
|
||||||
|
"IPSwitchRssiDevice",
|
||||||
"RFSiren",
|
"RFSiren",
|
||||||
"IPSwitchPowermeter",
|
"IPSwitchPowermeter",
|
||||||
"HMWIOSwitch",
|
"HMWIOSwitch",
|
||||||
|
@ -80,6 +81,8 @@ HM_DEVICE_TYPES = {
|
||||||
"SwitchPowermeter",
|
"SwitchPowermeter",
|
||||||
"Motion",
|
"Motion",
|
||||||
"MotionV2",
|
"MotionV2",
|
||||||
|
"MotionIPV2",
|
||||||
|
"MotionIPContactSabotage",
|
||||||
"RemoteMotion",
|
"RemoteMotion",
|
||||||
"MotionIP",
|
"MotionIP",
|
||||||
"ThermostatWall",
|
"ThermostatWall",
|
||||||
|
@ -114,7 +117,6 @@ HM_DEVICE_TYPES = {
|
||||||
"IPBrightnessSensor",
|
"IPBrightnessSensor",
|
||||||
"IPGarage",
|
"IPGarage",
|
||||||
"UniversalSensor",
|
"UniversalSensor",
|
||||||
"MotionIPV2",
|
|
||||||
"IPMultiIO",
|
"IPMultiIO",
|
||||||
"IPThermostatWall2",
|
"IPThermostatWall2",
|
||||||
"IPRemoteMotionV2",
|
"IPRemoteMotionV2",
|
||||||
|
@ -151,6 +153,7 @@ HM_DEVICE_TYPES = {
|
||||||
"Motion",
|
"Motion",
|
||||||
"MotionV2",
|
"MotionV2",
|
||||||
"MotionIP",
|
"MotionIP",
|
||||||
|
"MotionIPV2",
|
||||||
"MotionIPContactSabotage",
|
"MotionIPContactSabotage",
|
||||||
"RemoteMotion",
|
"RemoteMotion",
|
||||||
"WeatherSensor",
|
"WeatherSensor",
|
||||||
|
@ -165,7 +168,6 @@ HM_DEVICE_TYPES = {
|
||||||
"IPPassageSensor",
|
"IPPassageSensor",
|
||||||
"SmartwareMotion",
|
"SmartwareMotion",
|
||||||
"IPWeatherSensorPlus",
|
"IPWeatherSensorPlus",
|
||||||
"MotionIPV2",
|
|
||||||
"WaterIP",
|
"WaterIP",
|
||||||
"IPMultiIO",
|
"IPMultiIO",
|
||||||
"TiltIP",
|
"TiltIP",
|
||||||
|
|
Loading…
Add table
Reference in a new issue