Bugfix: Error message in inform when multi-channel hm device is created
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1177 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
2
fhem.pl
2
fhem.pl
@@ -2124,6 +2124,7 @@ DoTrigger($$)
|
||||
|
||||
################
|
||||
# Inform
|
||||
if($defs{$dev}{CHANGED}) { # It gets deleted sometimes (?)
|
||||
$max = int(@{$defs{$dev}{CHANGED}}); # can be enriched in the notifies
|
||||
foreach my $c (keys %client) { # Do client loop first, is cheaper
|
||||
next if(!$client{$c}{inform} || $client{$c}{inform} eq "raw");
|
||||
@@ -2141,6 +2142,7 @@ DoTrigger($$)
|
||||
"$defs{$dev}{TYPE} $dev $state\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
####################
|
||||
|
||||
Reference in New Issue
Block a user