]> git.basschouten.com Git - openhab-addons.git/commitdiff
[systeminfo] README: spell unlinked channels do not get updates (#15035)
authorДилян Палаузов <git-dpa@aegee.org>
Mon, 5 Jun 2023 16:51:19 +0000 (18:51 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Jun 2023 16:51:19 +0000 (18:51 +0200)
typos: insert space after comma

cf. https://github.com/openhab/openhab-addons/issues/15007

Co-authored-by: Дилян Палаузов <dpa-git@aegee.org>
bundles/org.openhab.binding.systeminfo/README.md
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/model/SysteminfoInterface.java
bundles/org.openhab.binding.systeminfo/src/main/resources/OH-INF/i18n/systeminfo.properties
bundles/org.openhab.binding.systeminfo/src/main/resources/OH-INF/thing/channels.xml

index 4731686e4c1d0cfc4b283676406759cfd32c3132..3904626d7a2da0b85004d356b440c8d7e881742a 100644 (file)
@@ -11,7 +11,7 @@ The system information binding provides operating system and hardware informatio
 - Battery information - estimated remaining time, capacity, name;
 - Sensors information - CPU voltage and temperature, fan speeds;
 - Display information;
-- Network IP,name and adapter name, mac, data sent and received, packets sent and received;
+- Network IP, name and adapter name, mac, data sent and received, packets sent and received;
 - Process information - size of RAM memory used, CPU load, process name, path, number of threads.
 
 The binding uses the [OSHI](https://github.com/oshi/oshi) library to access this information regardless of the underlying OS and hardware.
@@ -51,6 +51,8 @@ That means that by default configuration:
 - channels with priority set to 'Medium' are updated every minute
 - channels with priority set to 'Low' are updated only at initialization or if the `REFRESH` command is sent to the channel.
 
+Channels, not linked to an item, do not get updates, and do not periodically consume resources.
+
 For more info see [channel configuration](#channel-configuration)
 
 ## Channels
index fbe53cd253334d85d6a449d901ad5aa0251f8ebf..9668ae18d8c0977200aa2649d6cb99c043c06d10 100644 (file)
@@ -42,7 +42,7 @@ public interface SysteminfoInterface {
 
     // Operating system info
     /**
-     * Get the Family of the operating system /e.g. Windows,Unix,.../
+     * Get the Family of the operating system /e.g. Windows, Unix,.../
      */
     StringType getOsFamily();
 
index 3cfbf63da7d8ad44d1becf3feb36d1e9ccfa96cd..2768da5b39931b8d64243d6adb2721e05b9f1ca1 100644 (file)
@@ -67,7 +67,7 @@ channel-type.systeminfo.ip.description = Host IP address of the network
 channel-type.systeminfo.load.label = Load
 channel-type.systeminfo.load.description = Load in percent
 channel-type.systeminfo.loadAverage.label = Load Average
-channel-type.systeminfo.loadAverage.description = Load as a number of processes for the last 1,5 or 15 minutes
+channel-type.systeminfo.loadAverage.description = Load as a number of processes for the last 1, 5 or 15 minutes
 channel-type.systeminfo.load_process.label = Load
 channel-type.systeminfo.load_process.description = Load in percent
 channel-type.systeminfo.mac.label = Mac Address
index 150075edc5682272b1cc0f8c00831c819fdf643e..193a734d0d45b3143ebf1ef1e02292d59abf8fe2 100644 (file)
        <channel-type id="loadAverage" advanced="true">
                <item-type>Number</item-type>
                <label>Load Average</label>
-               <description>Load as a number of processes for the last 1,5 or 15 minutes</description>
+               <description>Load as a number of processes for the last 1, 5 or 15 minutes</description>
                <state readOnly="true" pattern="%.1f"/>
                <config-description-ref uri="channel-type:systeminfo:mediumpriority"/>
        </channel-type>