mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
CUL_HM: power o for power meter
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11586 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b332433b8e
commit
32ed1a18ad
@ -2272,6 +2272,11 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
if($modules{CUL_HM}{defptr}{$chId});
|
||||
my $vs = ($val==100 ? "on":($val==0 ? "off":"$val %")); # user string...
|
||||
|
||||
if($chn == "00" && $mh{devH}->{helper}{PONtest}){
|
||||
push @evtEt,[$mh{devH},1,"powerOn:$tn",] ;
|
||||
$mh{devH}->{helper}{PONtest} = 0;
|
||||
}
|
||||
|
||||
push @evtEt,[$mh{shash},1,"level:$val"];
|
||||
push @evtEt,[$mh{shash},1,"pct:$val"]; # duplicate to level - necessary for "slider"
|
||||
push @evtEt,[$mh{shash},1,"deviceMsg:$vs$target"] if($chn ne "00");
|
||||
|
Loading…
x
Reference in New Issue
Block a user