36_KeyValueProtocol: corrected commandRef

git-svn-id: https://svn.fhem.de/fhem/trunk@13540 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
HCS 2017-02-27 19:31:25 +00:00
parent 068dae0914
commit 68d9856d03

View File

@ -231,11 +231,11 @@ sub KeyValueProtocol_Parse($$) {
<a name="KeyValueProtocol_Attr"></a> <a name="KeyValueProtocol_Attr"></a>
<b>Attributes</b> <b>Attributes</b>
<ul> <ul>
<li>Dictionary<br> <li>Mapping<br>
The Dictionary attribute can optionally be used to translate the Keys.<br> The Mapping attribute can optionally be used to translate the Keys.<br>
The format is: ReceivedKey1=NewKey1,ReceivedKey2=NewKey2, ...<br> The format is: ReceivedKey1=NewKey1,ReceivedKey2=NewKey2, ...<br>
The Sketch can then send short Keys, which will get translated to long names.<br> The Sketch can then send short Keys, which will get translated to long names.<br>
Example: attr myKVP Dictionary T=Temperature,H=Humidity<br> Example: attr myKVP Mapping T=Temperature,H=Humidity<br>
If the sketch then sends: OK VALUES T=12,H=70<br> If the sketch then sends: OK VALUES T=12,H=70<br>
you will get the readings Temperature and Humidity with the Values 12 and 70<br> you will get the readings Temperature and Humidity with the Values 12 and 70<br>
</li> </li>