[modbus.sunspec] Handle floating point numbers for voltage types (#10175)

Signed-off-by: Jan Philipp Giel <mail@philsown.de>
This commit is contained in:
leoguiders 2021-02-16 18:57:04 +01:00 committed by GitHub
parent 5c3c1db52e
commit caa445a22b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,12 @@
<channel-type id="ac-average-voltage-to-n-type">
<item-type>Number:ElectricPotential</item-type>
<label>Average Line To Neutral AC Voltage</label>
<state readOnly="true" pattern="%d %unit%"/>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
<channel-type id="ac-average-voltage-to-next-type">
<item-type>Number:ElectricPotential</item-type>
<label>Average Line To Line AC Voltage</label>
<state readOnly="true" pattern="%d %unit%"/>
<state readOnly="true" pattern="%.0f %unit%"/>
</channel-type>
<channel-type id="ac-total-real-power-type">
<item-type>Number:Power</item-type>