Skip to content

Commit 602f001

Browse files
committed
use StateOfCharge tag and minor tweaks to thing-types
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
1 parent 0a92ef1 commit 602f001

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

  • bundles/org.openhab.binding.fronius/src/main/resources/OH-INF/thing

bundles/org.openhab.binding.fronius/src/main/resources/OH-INF/thing/thing-types.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
<description>Current state of charge of the battery connected to the inverter in percent</description>
449449
<tags>
450450
<tag>Status</tag>
451-
<tag>Power</tag>
451+
<tag>StateOfCharge</tag>
452452
</tags>
453453
<state pattern="%.1f %%" readOnly="true"></state>
454454
</channel-type>
@@ -470,10 +470,10 @@
470470
<item-type>Number:Energy</item-type>
471471
<label>Current Maximum Battery Capacity</label>
472472
<description>Current maximum battery capacity in Wh</description>
473-
<tags>
474-
<tag>Measurement</tag>
475-
<tag>Energy</tag>
476-
</tags>
473+
<tags>
474+
<tag>Measurement</tag>
475+
<tag>Energy</tag>
476+
</tags>
477477
<state pattern="%.0f Wh" readOnly="true"></state>
478478
</channel-type>
479479
<channel-type id="batteryDesignedCapacity">
@@ -496,11 +496,11 @@
496496
<item-type>Number:Temperature</item-type>
497497
<label>Battery Cell Temperature</label>
498498
<description>Temperature of the battery cell</description>
499-
<tags>
500-
<tag>Measurement</tag>
501-
<tag>Temperature</tag>
502-
</tags>
503-
<state pattern="%.2f %unit%" readOnly="true"></state>
499+
<tags>
500+
<tag>Measurement</tag>
501+
<tag>Temperature</tag>
502+
</tags>
503+
<state pattern="%.1f %unit%" readOnly="true"></state>
504504
</channel-type>
505505
<channel-type id="batteryTimestamp">
506506
<item-type>DateTime</item-type>

0 commit comments

Comments
 (0)