mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
31_LightScene.pm: enable followDevices for readings != state. see: https://forum.fhem.de/index.php/topic,33223.msg895357.html#msg895357
git-svn-id: https://svn.fhem.de/fhem/trunk@18448 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e74a2483b2
commit
f9cf6d8776
@ -269,10 +269,17 @@ LightScene_Notify($$)
|
||||
my $reading = shift @parts;
|
||||
my $value = join(": ", @parts);
|
||||
|
||||
next if( $value ne "" );
|
||||
#see: https://forum.fhem.de/index.php/topic,33223.msg895357.html#msg895357
|
||||
#next if( $value ne "" );
|
||||
#$reading = "state";
|
||||
#$value = $s;
|
||||
|
||||
$reading = "state";
|
||||
$value = $s;
|
||||
$reading = "" if( !defined($reading) );
|
||||
$value = "" if( !defined($value) );
|
||||
if( $value eq "" ) {
|
||||
$reading = "state";
|
||||
$value = $s;
|
||||
}
|
||||
|
||||
if( $hash->{mayBeVisible} || $hash->{followDevices} ) {
|
||||
my $room = AttrVal($name, "room", "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user