mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
LightScene, readingsHistory: use <html>...</html> in DoTrigger
git-svn-id: https://svn.fhem.de/fhem/trunk@12295 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a28ac2c076
commit
01fdb776bf
@ -279,7 +279,7 @@ LightScene_Notify($$)
|
||||
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: <html>$value</html>" ) if( $hash->{mayBeVisible} );
|
||||
}
|
||||
|
||||
if( $hash->{followDevices} ) {
|
||||
|
@ -509,7 +509,7 @@ readingsHistory_Notify($$)
|
||||
}
|
||||
unshift( @{$hash->{fhem}{history}}, $entry );
|
||||
|
||||
DoTrigger( "$name", "history: $msg" ) if( $hash->{mayBeVisible} );
|
||||
DoTrigger( "$name", "history: <html>$msg</html>" ) if( $hash->{mayBeVisible} );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -638,7 +638,7 @@ readingsHistory_Set($@)
|
||||
}
|
||||
unshift( @{$hash->{fhem}{history}}, $entry );
|
||||
|
||||
DoTrigger( "$name", "history: $msg" ) if( $hash->{mayBeVisible} );
|
||||
DoTrigger( "$name", "history: <html>$msg</html>" ) if( $hash->{mayBeVisible} );
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user