[goecharger] fix issue with category (#12682)

* [goecharger] category before state
remove warning within readme.md

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
This commit is contained in:
Reinhard Plaim 2022-05-04 22:08:25 +02:00 committed by GitHub
parent a37a119ff1
commit 60cbfad5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -106,6 +106,7 @@ end
```
Advanced example:
```
rule "Set charging limit for go-eCharger"
when

View File

@ -204,15 +204,15 @@
<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>