mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 01:46:08 +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:
parent
8bc50744a2
commit
2f83957d31
@ -573,7 +573,8 @@ CUL_MAX_BroadcastTime(@)
|
|||||||
#1. the MAX device dhash uses this MAX_CUL as IODev
|
#1. the MAX device dhash uses this MAX_CUL as IODev
|
||||||
#2. the MAX device is a Wall/HeatingThermostat
|
#2. the MAX device is a Wall/HeatingThermostat
|
||||||
if(exists($dhash->{IODev}) && $dhash->{IODev} == $hash
|
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","");
|
my $h = ReadingsVal($dhash->{NAME},"TimeInformationHour","");
|
||||||
if( $h !~ /^[0-5]$/ ) {
|
if( $h !~ /^[0-5]$/ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user