[teleinfo] Add power dimension to apparent power channels (#10512)

* Add Power dimension to PAPP channels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add PAPP dimension in documentation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
This commit is contained in:
olivierkeke
2021-04-16 22:08:24 +02:00
committed by GitHub
parent f2abff3124
commit 030329c118
3 changed files with 6 additions and 6 deletions

View File

@@ -5,11 +5,11 @@
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<channel-type id="pappType">
<item-type>Number</item-type>
<item-type>Number:Power</item-type>
<label>PAPP</label>
<description>Instantaneous apparent power</description>
<category>Energy</category>
<state pattern="%d VA" readOnly="true"/>
<state pattern="%d %unit%" readOnly="true"/>
</channel-type>
</thing:thing-descriptions>

View File

@@ -74,11 +74,11 @@
</channel-type>
<channel-type id="pappType">
<item-type>Number</item-type>
<item-type>Number:Power</item-type>
<label>PAPP</label>
<description>Instantaneous apparent power</description>
<category>Energy</category>
<state pattern="%d VA" readOnly="true"/>
<state pattern="%d %unit%" readOnly="true"/>
</channel-type>
<channel-type id="ppotType">