[growatt] change battery display channel unit to volt (#16377)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Andrew Fiddian-Green 2024-02-05 18:53:38 +00:00 committed by Ciprian Pascu
parent 737b9ceebc
commit bd97a633f9
3 changed files with 4 additions and 4 deletions

View File

@ -164,7 +164,7 @@ public class GrowattChannels {
new AbstractMap.SimpleEntry<String, UoM>("battery-type", new UoM(Units.ONE, 1)),
new AbstractMap.SimpleEntry<String, UoM>("battery-voltage", new UoM(Units.VOLT, 10)),
new AbstractMap.SimpleEntry<String, UoM>("battery-temperature", new UoM(SIUnits.CELSIUS, 10)),
new AbstractMap.SimpleEntry<String, UoM>("battery-display", new UoM(Units.ONE, 10)),
new AbstractMap.SimpleEntry<String, UoM>("battery-display", new UoM(Units.VOLT, 10)),
new AbstractMap.SimpleEntry<String, UoM>("battery-soc", new UoM(Units.PERCENT, 1)),
// fault codes

View File

@ -10,7 +10,7 @@ thing-type.growatt.bridge.description = Bridge Thing for Growatt Binding
thing-type.growatt.inverter.label = Growatt Inverter
thing-type.growatt.inverter.description = Inverter Thing for Growatt Binding
thing-type.growatt.inverter.channel.battery-display.label = Battery Display
thing-type.growatt.inverter.channel.battery-display.description = Battery display code.
thing-type.growatt.inverter.channel.battery-display.description = Battery display voltage.
thing-type.growatt.inverter.channel.battery-soc.label = Battery Charge
thing-type.growatt.inverter.channel.battery-soc.description = Battery state of charge.
thing-type.growatt.inverter.channel.battery-temperature.label = Battery Temperature

View File

@ -364,9 +364,9 @@
<label>Battery Voltage</label>
<description>Battery voltage.</description>
</channel>
<channel id="battery-display" typeId="advanced-status-code">
<channel id="battery-display" typeId="advanced-electric-voltage">
<label>Battery Display</label>
<description>Battery display code.</description>
<description>Battery display voltage.</description>
</channel>
<channel id="battery-soc" typeId="advanced-percent">
<label>Battery Charge</label>