]> git.basschouten.com Git - openhab-addons.git/commitdiff
systeminfo: use DataAmount for dataSent and dataReceived in the example (#15495)
authorДилян Палаузов <git-dpa@aegee.org>
Wed, 6 Sep 2023 06:01:54 +0000 (08:01 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Sep 2023 06:01:54 +0000 (08:01 +0200)
as the text above does suggest so.

bundles/org.openhab.binding.systeminfo/README.md

index 3904626d7a2da0b85004d356b440c8d7e881742a..43754d94637711884c7e5a6cb1b5c267f1dc3286 100644 (file)
@@ -201,8 +201,8 @@ String Network_AdapterName         "Adapter name"        <network>       { chann
 String Network_Name                "Name"                <network>       { channel="systeminfo:computer:work:network#networkName" }
 String Network_IP                  "IP address"          <network>       { channel="systeminfo:computer:work:network#ip" }
 String Network_Mac                 "Mac address"         <network>       { channel="systeminfo:computer:work:network#mac" }
-Number Network_DataSent            "Data sent"           <flowpipe>      { channel="systeminfo:computer:work:network#dataSent" }
-Number Network_DataReceived        "Data received"       <returnpipe>    { channel="systeminfo:computer:work:network#dataReceived" }
+Number:DataAmount Network_DataSent "Data sent"           <flowpipe>      { channel="systeminfo:computer:work:network#dataSent" }
+Number:DataAmount Network_DataReceived "Data received"   <returnpipe>    { channel="systeminfo:computer:work:network#dataReceived" }
 Number Network_PacketsSent         "Packets sent"        <flowpipe>      { channel="systeminfo:computer:work:network#packetsSent" }
 Number Network_PacketsReceived     "Packets received"    <returnpipe>    { channel="systeminfo:computer:work:network#packetsReceived" }