Add Homematic IP RotaryHandleSensor support (#14522)
* Add Homematic IP RotaryHandleSensor support HmIP-SRH was in the RotaryHandleSensor class and threw errors that LOWBAT and ERROR could not be found (they are LOW_BAT and SABOTAGE). * Revert REQUIREMENTS changepull/14399/head
parent
e929f45ab8
commit
d36996c8f0
|
@ -71,7 +71,7 @@ HM_DEVICE_TYPES = {
|
|||
'TemperatureSensor', 'CO2Sensor', 'IPSwitchPowermeter', 'HMWIOSwitch',
|
||||
'FillingLevel', 'ValveDrive', 'EcoLogic', 'IPThermostatWall',
|
||||
'IPSmoke', 'RFSiren', 'PresenceIP', 'IPAreaThermostat',
|
||||
'IPWeatherSensor'],
|
||||
'IPWeatherSensor', 'RotaryHandleSensorIP'],
|
||||
DISCOVER_CLIMATE: [
|
||||
'Thermostat', 'ThermostatWall', 'MAXThermostat', 'ThermostatWall2',
|
||||
'MAXWallThermostat', 'IPThermostat', 'IPThermostatWall',
|
||||
|
@ -98,6 +98,7 @@ HM_ATTRIBUTE_SUPPORT = {
|
|||
'LOWBAT': ['battery', {0: 'High', 1: 'Low'}],
|
||||
'LOW_BAT': ['battery', {0: 'High', 1: 'Low'}],
|
||||
'ERROR': ['sabotage', {0: 'No', 1: 'Yes'}],
|
||||
'SABOTAGE': ['sabotage', {0: 'No', 1: 'Yes'}],
|
||||
'RSSI_DEVICE': ['rssi', {}],
|
||||
'VALVE_STATE': ['valve', {}],
|
||||
'BATTERY_STATE': ['battery', {}],
|
||||
|
|
Loading…
Reference in New Issue