]> git.basschouten.com Git - openhab-addons.git/commitdiff
[goecharger] fix issue with category (#12682)
authorReinhard Plaim <53980214+ranzen84@users.noreply.github.com>
Wed, 4 May 2022 20:08:25 +0000 (22:08 +0200)
committerGitHub <noreply@github.com>
Wed, 4 May 2022 20:08:25 +0000 (22:08 +0200)
* [goecharger] category before state
remove warning within readme.md

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
bundles/org.openhab.binding.goecharger/README.md
bundles/org.openhab.binding.goecharger/src/main/resources/OH-INF/thing/thing-types.xml

index 22197fae8a1de1af1f4bbdfa4b283c6d26cb82dc..27c3abd8ca097c9307b60322848405f5431e9c0b 100644 (file)
@@ -106,6 +106,7 @@ end
 ```
 
 Advanced example:
+
 ```
 rule "Set charging limit for go-eCharger"
 when
index 3759dec36edcbfd9a1429ce5e39f95ebecabfd7b..c92c33ecd2a775409cd2c8885bbb998d495b211a 100644 (file)
                <item-type>Number:Temperature</item-type>
                <label>Temperature type 2 port</label>
                <description>Temperature of the Go-eCharger on the type 2 port</description>
-               <state pattern="%d %unit%" readOnly="true"/>
                <category>Temperature</category>
+               <state pattern="%d %unit%" readOnly="true"/>
        </channel-type>
        <channel-type id="tmp">
                <item-type>Number:Temperature</item-type>
                <label>Temperature circuit board</label>
                <description>Temperature of the Go-eCharger on circuit board</description>
-               <state pattern="%d %unit%" readOnly="true"/>
                <category>Temperature</category>
+               <state pattern="%d %unit%" readOnly="true"/>
        </channel-type>
        <channel-type id="fmw">
                <item-type>String</item-type>