Class: RZWaveWay::CommandClasses::AlarmSensor

Inherits:
RZWaveWay::CommandClass show all
Defined in:
lib/rzwaveway/command_classes/alarm_sensor.rb

Constant Summary collapse

GENERAL_PURPOSE =
0x00
SMOKE =
0x01
CO =
0x02
CO2 =
0x03
HEAT =
0x04
WATER_LEAK =
0x05

Constants inherited from RZWaveWay::CommandClass

RZWaveWay::CommandClass::ALARM, RZWaveWay::CommandClass::ALARM_SENSOR, RZWaveWay::CommandClass::ASSOCIATION, RZWaveWay::CommandClass::BASIC, RZWaveWay::CommandClass::BATTERY, RZWaveWay::CommandClass::CONFIGURATION, RZWaveWay::CommandClass::MANUFACTURER_SPECIFIC, RZWaveWay::CommandClass::METER, RZWaveWay::CommandClass::NOTIFICATION, RZWaveWay::CommandClass::SECURITY, RZWaveWay::CommandClass::SENSOR_BINARY, RZWaveWay::CommandClass::SENSOR_MULTI_LEVEL, RZWaveWay::CommandClass::SWITCH_BINARY, RZWaveWay::CommandClass::SWITCH_MULTI_LEVEL, RZWaveWay::CommandClass::VERSION, RZWaveWay::CommandClass::WAKEUP

Instance Attribute Summary

Attributes inherited from RZWaveWay::CommandClass

#device

Instance Method Summary collapse

Methods inherited from RZWaveWay::CommandClass

#build_from, #initialize, #name, #to_s

Methods included from PropertiesCache

#save_properties, #to_hash

Methods included from Logger

#log

Constructor Details

This class inherits a constructor from RZWaveWay::CommandClass

Instance Method Details

#process(updates) ⇒ Object



11
12
13
14
# File 'lib/rzwaveway/command_classes/alarm_sensor.rb', line 11

def process(updates)
  log.info updates
  nil
end