Missing command class for sensor (#2492)

pull/2494/head
John Arild Berentsen 2016-07-11 16:33:34 +02:00 committed by GitHub
parent 085d026ab6
commit f4f2da5dc7
1 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ COMMAND_CLASS_DOOR_LOCK = 98
COMMAND_CLASS_THERMOSTAT_SETPOINT = 67
COMMAND_CLASS_THERMOSTAT_FAN_MODE = 68
COMMAND_CLASS_BATTERY = 128
COMMAND_CLASS_SENSOR_ALARM = 156
GENERIC_COMMAND_CLASS_WHATEVER = None
GENERIC_COMMAND_CLASS_NOTIFICATION_SENSOR = 7
@ -93,7 +94,8 @@ DISCOVERY_COMPONENTS = [
[SPECIFIC_DEVICE_CLASS_WHATEVER],
[COMMAND_CLASS_SENSOR_MULTILEVEL,
COMMAND_CLASS_METER,
COMMAND_CLASS_ALARM],
COMMAND_CLASS_ALARM,
COMMAND_CLASS_SENSOR_ALARM],
TYPE_WHATEVER,
GENRE_USER),
('light',