2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 23:06:05 +00:00

CUL_MAX: Do not send TimeInformation to ignored devices

git-svn-id: https://svn.fhem.de/fhem/trunk@4897 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2014-02-12 18:03:57 +00:00
parent 8bc50744a2
commit 2f83957d31

View File

@ -573,7 +573,8 @@ CUL_MAX_BroadcastTime(@)
#1. the MAX device dhash uses this MAX_CUL as IODev
#2. the MAX device is a Wall/HeatingThermostat
if(exists($dhash->{IODev}) && $dhash->{IODev} == $hash
&& $dhash->{type} =~ /.*Thermostat.*/ ) {
&& $dhash->{type} =~ /.*Thermostat.*/
&& AttrVal($dhash->{NAME},"ignore","0") eq "0" ) {
my $h = ReadingsVal($dhash->{NAME},"TimeInformationHour","");
if( $h !~ /^[0-5]$/ ) {