Permalink
Browse files

Fix gas sensor

  • Loading branch information...
sweebee sweebee
sweebee authored and sweebee committed May 1, 2016
1 parent b3a9acd commit 81ac779bb2ada86e9866df78fe77b468a52b2f6f
Showing with 1 addition and 1 deletion.
  1. +1 −1 MySensors.coffee
View
@@ -1638,7 +1638,7 @@ module.exports = (env) ->
if result.sender is @config.nodeid and result.sensor is @config.sensorid
if mySensors.config.debug
env.logger.debug "<- MySensorsGas", result
if result.type is V_VAR1
if result.type is V_LEVEL
@_gas = parseInt(result.value)
@emit "gas", @_gas
)

0 comments on commit 81ac779

Please sign in to comment.