Skip to content

Commit

Permalink
Merge pull request hollie#768 from jonwhitear/raZberry_multivoltage
Browse files Browse the repository at this point in the history
Multivoltage Device Registration fix
  • Loading branch information
hplato authored Sep 4, 2018
2 parents be0cd3b + 361e077 commit 318989c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raZberry.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ sub new {
#ZWayVDev_zway_x-0-50-5 - Current Sensor A
#push( @{ $$self{states} }, 'on', 'off'); I'm not sure we should set the states here, since it's not a controlable item?

unless ( $devid =~ m/^\d+$/ ) {
if ( $devid =~ m/^\d+$/ ) {
$$self{master_object} = $object;
$$self{type} = "Multilevel Voltage";
$$self{devid} = $devid;
Expand Down

0 comments on commit 318989c

Please sign in to comment.