Skip to content

Commit

Permalink
Merge pull request genielabs#130 from Klagopsalmer/TagReaderAfterZwav…
Browse files Browse the repository at this point in the history
…eRework

change the command type for Alarm handler
  • Loading branch information
Gene committed Feb 16, 2015
2 parents 4571ddf + 452eba8 commit f6256b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MigFiles/SupportLibraries/ZWaveLib/Handlers/Alarm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static ZWaveEvent GetEvent(ZWaveNode node, byte[] message)
{
ZWaveEvent nodeEvent = null;
byte cmdType = message[8];
if (cmdType == (byte)Command.SensorAlarmReport)
if (cmdType == (byte)Command.AlarmReport)
{
var alarm = AlarmValue.Parse(message);
nodeEvent = new ZWaveEvent(node, alarm.EventType, alarm.Value, 0);
Expand Down

0 comments on commit f6256b6

Please sign in to comment.