From 48b4bec5dc0f0aa8e9e233949e0c93c51dfcc8c8 Mon Sep 17 00:00:00 2001 From: HCS <> Date: Sat, 18 Feb 2017 11:46:50 +0000 Subject: [PATCH] 36_KeyValueProtocol: patch from "habeIchVergessen" (Forum: #67134) git-svn-id: https://svn.fhem.de/fhem/trunk@13429 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/36_KeyValueProtocol.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/36_KeyValueProtocol.pm b/fhem/FHEM/36_KeyValueProtocol.pm index 02597eea3..cfbd0be0b 100644 --- a/fhem/FHEM/36_KeyValueProtocol.pm +++ b/fhem/FHEM/36_KeyValueProtocol.pm @@ -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?