2
0
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:
justme-1968 2016-10-08 09:13:11 +00:00
parent a28ac2c076
commit 01fdb776bf
2 changed files with 3 additions and 3 deletions

View File

@ -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} ) {

View File

@ -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;
}