victronenergy / gui-v2

Other
17 stars 6 forks source link

Set the isMulti property correctly for inverter/chargers #1053

Closed chriadam closed 2 weeks ago

chriadam commented 2 weeks ago

A pure inverter doesn't have AC inputs, only outputs. An inverter/charger can have AC inputs, and is considered multi. A multi device can be set explicitly to be in either inverter or charger mode via the appropriate dialog, but the mode settings are enabled or disabled based on the isMulti condition.

Fixes #1040

chriadam commented 2 weeks ago

Took me ages to realise that the mock mode doesn't necessarily have the same properties that "real" inverter/charger devices do.

jpetrell commented 2 weeks ago

Good to get this to the release so merging already.