hass-victron
hass-victron copied to clipboard
Error from Victron EV Charger
This error originated from a custom integration.
Logger: homeassistant.helpers.entity Source: custom_components/victron/sensor.py:155 Integration: victron (documentation, issues) First occurred: 15:33:55 (1 occurrences) Last logged: 15:33:55
Update for sensor.victron_evcharger_status_40 fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 554, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 784, in async_device_update await coro File "/config/custom_components/victron/sensor.py", line 155, in async_update self._attr_native_value = self.entity_type.decodeEnum(data).name.split("_DUPLICATE")[0] File "/usr/local/lib/python3.10/enum.py", line 385, in call return cls.new(cls, value) File "/usr/local/lib/python3.10/enum.py", line 710, in new raise ve_exc ValueError: 21 is not a valid evcharger_status