mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
31_LightScene.pm: follow devices fix
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14226 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d7f478f1a9
commit
88dfc2954c
@ -274,12 +274,12 @@ LightScene_Notify($$)
|
||||
$reading = "state";
|
||||
$value = $s;
|
||||
|
||||
if( $hash->{mayBeVisible} ) {
|
||||
if( $hash->{mayBeVisible} || $hash->{followDevices} ) {
|
||||
my $room = AttrVal($name, "room", "");
|
||||
my %extPage = ();
|
||||
(undef, undef, $value) = FW_devState($dev->{NAME}, $room, \%extPage);
|
||||
|
||||
DoTrigger( $name, "$dev->{NAME}.$reading: <html>$value</html>" ) if( $hash->{mayBeVisible} );
|
||||
DoTrigger( $name, "$dev->{NAME}.$reading: <html>$value</html>" );
|
||||
}
|
||||
|
||||
if( $hash->{followDevices} ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user