[modbus.sunspec] Handle floating point numbers for voltage types (#10175)
Signed-off-by: Jan Philipp Giel <mail@philsown.de>
This commit is contained in:
parent
5c3c1db52e
commit
caa445a22b
@ -7,12 +7,12 @@
|
|||||||
<channel-type id="ac-average-voltage-to-n-type">
|
<channel-type id="ac-average-voltage-to-n-type">
|
||||||
<item-type>Number:ElectricPotential</item-type>
|
<item-type>Number:ElectricPotential</item-type>
|
||||||
<label>Average Line To Neutral AC Voltage</label>
|
<label>Average Line To Neutral AC Voltage</label>
|
||||||
<state readOnly="true" pattern="%d %unit%"/>
|
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="ac-average-voltage-to-next-type">
|
<channel-type id="ac-average-voltage-to-next-type">
|
||||||
<item-type>Number:ElectricPotential</item-type>
|
<item-type>Number:ElectricPotential</item-type>
|
||||||
<label>Average Line To Line AC Voltage</label>
|
<label>Average Line To Line AC Voltage</label>
|
||||||
<state readOnly="true" pattern="%d %unit%"/>
|
<state readOnly="true" pattern="%.0f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="ac-total-real-power-type">
|
<channel-type id="ac-total-real-power-type">
|
||||||
<item-type>Number:Power</item-type>
|
<item-type>Number:Power</item-type>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user