sfstar / hass-victron

Integration for Home Assistant to fetch data from the victron gx device via modbusTCP
Apache License 2.0
185 stars 29 forks source link

Missing state for vebus entity #223

Open BlastyCZ opened 4 months ago

BlastyCZ commented 4 months ago

The reported value 244.0 for entity vebus state isn't a decobale value. Please report this error to the integrations maintainer

Enum is missing this particular value: https://github.com/sfstar/hass-victron/blob/main/custom_components/victron/const.py#L173

Values from docs: 0=Off;1=Low Power;2=Fault;3=Bulk;4=Absorption;5=Float;6=Storage;7=Equalize;8=Passthru;9=Inverting;10=Power assist;11=Power supply;244=Sustain;252=External control

sfstar commented 4 months ago

Will add this to an upcoming PR