Merge pull request 'fix IsDisabled' (#6) from patch-IsDisabled into dev
Reviewed-on: #6
This commit is contained in:
commit
f40224415d
@ -615,7 +615,7 @@ sub Weather_GetUpdate {
|
|||||||
|
|
||||||
my $name = $hash->{NAME};
|
my $name = $hash->{NAME};
|
||||||
|
|
||||||
if ( $attr{$name} && $attr{$name}->{disable} ) {
|
if ( IsDisabled($name) ) {
|
||||||
Log3 $hash, 5,
|
Log3 $hash, 5,
|
||||||
"Weather $name: retrieval of weather data is disabled by attribute.";
|
"Weather $name: retrieval of weather data is disabled by attribute.";
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
|
Loading…
Reference in New Issue
Block a user