<s> """<STR_LIT>""" <EOL> from appengine . devices import zwave <EOL> @ zwave . register ( manufacturer_id = '<STR_LIT>' , product_type = '<STR_LIT>' , product_id = '<STR_LIT>' ) <EOL> class VisionMotionSensor ( zwave . Driver ) : <EOL> """<STR_LIT>""" <EOL> def get_capabilities ( self ) : <EOL> return super ( VisionMotionSensor , self ) . get_capabilities ( ) + [ '<STR_LIT>' ] <EOL> def get_categories ( self ) : <EOL> return [ '<STR_LIT>' ] <EOL> def value_changed ( self , event ) : <EOL> """<STR_LIT>""" <EOL> value = event [ '<STR_LIT>' ] <EOL> if value [ '<STR_LIT>' ] == '<STR_LIT>' : <EOL> if value [ '<STR_LIT:index>' ] == <NUM_LIT:1> : <EOL> self . _device . temperature = value [ '<STR_LIT:value>' ] <EOL> if value [ '<STR_LIT>' ] == '<STR_LIT>' : <EOL> self . _device . real_occupied_state_change ( value [ '<STR_LIT:value>' ] ) </s>
