mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
31_LightScene.pm: don't call FW_devState if LightScene ist not visible. see forumm: http://forum.fhem.de/index.php/topic,33082.msg254527.html#msg254527
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7792 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2d5ca960e6
commit
4cebea8f6e
@ -271,11 +271,13 @@ LightScene_Notify($$)
|
||||
$reading = "state";
|
||||
$value = $s;
|
||||
|
||||
my $room = AttrVal($name, "room", "");
|
||||
my %extPage = ();
|
||||
(undef, undef, $value) = FW_devState($dev->{NAME}, $room, \%extPage);
|
||||
if( $hash->{mayBeVisible} ) {
|
||||
my $room = AttrVal($name, "room", "");
|
||||
my %extPage = ();
|
||||
(undef, undef, $value) = FW_devState($dev->{NAME}, $room, \%extPage);
|
||||
|
||||
DoTrigger( $name, "$dev->{NAME}.$reading: $value" ) if( $hash->{mayBeVisible} );
|
||||
DoTrigger( $name, "$dev->{NAME}.$reading: $value" ) if( $hash->{mayBeVisible} );
|
||||
}
|
||||
|
||||
if( $hash->{followDevices} ) {
|
||||
my %s = ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user