mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
36_KeyValueProtocol: patch from "habeIchVergessen" (Forum: #67134)
git-svn-id: https://svn.fhem.de/fhem/trunk@13429 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a68750a948
commit
48b4bec5dc
@ -132,8 +132,9 @@ sub KeyValueProtocol_Parse($$) {
|
||||
my %mappings;
|
||||
# our "Mapping" attribute has priority
|
||||
my $mappingsString = AttrVal($rname, "Mapping", "");
|
||||
$mappingsString = InternalVal($rname, AttrVal($rname, "IODev", "") . "_Mapping", "") if (!$mappingsString);
|
||||
if ($mappingsString) {
|
||||
%mappings = split (/[,=]/, AttrVal($rname, "Mapping", ""));
|
||||
%mappings = split (/[,=]/, $mappingsString);
|
||||
}
|
||||
else {
|
||||
# Do we have initMessages in the IODevice?
|
||||
|
Loading…
x
Reference in New Issue
Block a user