diff --git a/lib/Insteon/Message.pm b/lib/Insteon/Message.pm index 93655c44a..3dedaa8df 100755 --- a/lib/Insteon/Message.pm +++ b/lib/Insteon/Message.pm @@ -228,6 +228,7 @@ sub command_to_hash { $msg{type} = 'cleanup'; $msg{is_nack} = 1; + $msg{extra} = substr($p_state,16,2); } elsif ($msgflag == 0) { @@ -244,6 +245,7 @@ sub command_to_hash { $msg{type} = 'direct'; $msg{is_nack} = 1; + $msg{extra} = substr($p_state,16,2); } } } @@ -685,4 +687,4 @@ sub generate_commands return @data; } -1 \ No newline at end of file +1