diff --git a/fhem/FHEM/98_MAX_Temperature.pm b/fhem/FHEM/98_MAX_Temperature.pm
index 037478645..59cd1c4f4 100644
--- a/fhem/FHEM/98_MAX_Temperature.pm
+++ b/fhem/FHEM/98_MAX_Temperature.pm
@@ -91,7 +91,7 @@ sub MAX_Temperature_Define($$){
$attr{$name}{room} = "MAX" if( not defined( $attr{$name}{room} ) );
$attr{$name}{SendButton} = "audio_play" if( not defined( $attr{$name}{SendButton} ) );
$attr{$name}{ResetButton} = "control_x" if( not defined( $attr{$name}{ResetButton} ) );
- $attr{$name}{Layout} = "[DEVICE][MODE][TEMP][SEND][DATE][CLOCK][SEND]
\n[STATE]" if( not defined( $attr{$name}{Layout} ) );
+ $attr{$name}{Layout} = "[DEVICE][MODE][TEMP][SEND][DATE][CLOCK][SEND]
[STATE]" if( not defined( $attr{$name}{Layout} ) );
} else {
#Log3 $name, 1, "$name: already defined";
}
@@ -414,7 +414,7 @@ sub MAX_Temperature_HTML($){
my $hash = shift;
my $name = $hash->{NAME};
- my $Layout = AttrVal($name, "Layout", "[DEVICE][MODE][TEMP][SEND][DATE][CLOCK][SEND]
\n[STATE]");
+ my $Layout = AttrVal($name, "Layout", "[DEVICE][MODE][TEMP][SEND][DATE][CLOCK][SEND]
[STATE]");
#Log3 $name,1,"$name, $Layout";
@@ -536,7 +536,7 @@ sub MAX_Temperature_GetHTMLSelectMaxDevice($){
my $Reading = "Selected_Device";
my $DDSelected = ReadingsVal($name, $Reading, "");
$DDSelected =~ s/ / /g;
- $DDSelected =~ s/ / /g; #ACHTUNG! Kein richtiges leerzeichen!!! Siehe http://www.fileformat.info/info/unicode/char/00a0/index.htm
+ $DDSelected =~ s/\xC2\xA0/ /g; #non-page-breaking-space
my $html="";
@@ -674,8 +674,7 @@ sub MAX_Temperature_GetDeviceFromName($$){
my $MaxDevice = $caption; #ggf. bereits das Device
$caption =~ s/ / /g;
- $caption =~ s/ / /g; #ACHTUNG! Kein richtiges leerzeichen!!! Siehe http://www.fileformat.info/info/unicode/char/00a0/index.htm
-
+ $caption =~ s/\xC2\xA0/ /g; #non-page-breaking-space
#Gruppe?
my $AddGroup = AttrVal($name,"addGroups","");
my @AddGroups = split(/ /, $AddGroup);
@@ -684,7 +683,7 @@ sub MAX_Temperature_GetDeviceFromName($$){
my @split=split(/:/, $Grp);
my $GrpName=$split[0];
$GrpName =~ s/ / /g;
- $GrpName =~ s/ / /g; #ACHTUNG! Kein richtiges leerzeichen!!! Siehe http://www.fileformat.info/info/unicode/char/00a0/index.htm
+ $GrpName =~ s/\xC2\xA0/ /g; #non-page-breaking-space
#my @GrpDevices=split(/,/, $split[1]);
#Log3 $name,1,"$name $caption $GrpName";
if ($caption eq $GrpName){
@@ -699,7 +698,7 @@ sub MAX_Temperature_GetDeviceFromName($$){
my $AliasDevice=$list[0];
my $AliasDeviceName=$list[1];
$AliasDeviceName =~ s/ / /g;
- $AliasDeviceName =~ s/ / /g; #ACHTUNG! Kein richtiges leerzeichen!!! Siehe http://www.fileformat.info/info/unicode/char/00a0/index.htm
+ $AliasDeviceName =~ s/\xC2\xA0/ /g; #non-page-breaking-space
#Log3 $name,1,"$name $dev $AliasDeviceName";
if ($caption eq $AliasDeviceName){
$MaxDevice = $AliasDevice;
@@ -923,10 +922,10 @@ sub MAX_Temperature_GetHTMLReset($){
Without setting the Holiday mode:
- [STATE]<br>\n[DEVICE][MODE][TEMP][SEND]
+ [STATE]<br> [DEVICE][MODE][TEMP][SEND]
Holiday mode setting only:
- [STATE]<br>\n[DEVICE][TEMP][DATE][CLOCK][SEND]
+ [STATE]<br> [DEVICE][TEMP][DATE][CLOCK][SEND]
All entries one below the other:
[STATE]<br>
@@ -1125,10 +1124,10 @@ sub MAX_Temperature_GetHTMLReset($){
Ohne Einstellung des Urluabsmodus:
- [STATE]<br>\n[DEVICE][MODE][TEMP][SEND]
+ [STATE]<br> [DEVICE][MODE][TEMP][SEND]
Nur Einstellung des Urlaubsmodus:
- [STATE]<br>\n[DEVICE][TEMP][DATE][CLOCK][SEND]
+ [STATE]<br> [DEVICE][TEMP][DATE][CLOCK][SEND]
Alle Einträge untereinander:
[STATE]<br>