From 1a907b269dc9e95e4bf431358c214f6be263a410 Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Sun, 22 Nov 2015 00:27:59 +0000 Subject: [PATCH] 75_msgConfig.pm: set dummy to location name git-svn-id: https://svn.fhem.de/fhem/trunk@9961 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/75_msgConfig.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/75_msgConfig.pm b/fhem/FHEM/75_msgConfig.pm index ee37bdde9..10e818fac 100755 --- a/fhem/FHEM/75_msgConfig.pm +++ b/fhem/FHEM/75_msgConfig.pm @@ -229,6 +229,7 @@ sub msgConfig_Set($@) { $attr{$device}{userattr} .= " msgLocationName" if (defined($attr{$device}{userattr}) && $attr{$device}{userattr} !~ /^msgLocationName$|^msgLocationName\s|\smsgLocationName\s|\smsgLocationName$/); $attr{$device}{userattr} = "msgLocationName" if (!defined($attr{$device}{userattr})); $attr{$device}{msgLocationName} = $location; + fhem ("set $device $location"); $attr{$name}{msgLocationDevs} .= ",".$device if (defined($attr{$name}{msgLocationDevs}) && $attr{$name}{msgLocationDevs} !~ /^$device\$|^$device,|,$device,|,$device$/); $attr{$name}{msgLocationDevs} = $device if (!defined($attr{$name}{msgLocationDevs}));