mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
75_msgConfig.pm: set dummy to location name
git-svn-id: https://svn.fhem.de/fhem/trunk@9961 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fa860759ba
commit
1a907b269d
@ -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}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user