switch/dimmer PowerOn message accepted for channel 01 too
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1599 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -589,7 +589,7 @@ CUL_HM_Parse($$)
|
||||
$val = ($val == 100 ? "on" : ($val == 0 ? "off" : "$val %"));
|
||||
my $msg = "unknown";
|
||||
$msg = "deviceMsg" if($msgType =~ m/0./);
|
||||
$msg = "powerOn" if($msgType =~ m/06/ && $chn eq "00");
|
||||
$msg = "powerOn" if($msgType =~ m/06/ && ($chn eq "00" || $chn eq "01"));
|
||||
push @event, "$msg:$val$target";
|
||||
push @event, "state:$val";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user