-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
shippedThis issue has been shipped. 🚢This issue has been shipped. 🚢specsheet mismatchIssue related to the mismatch between the victron specsheet and the actual implementation.Issue related to the mismatch between the victron specsheet and the actual implementation.
Description
After upgrading from v0.1.1 to v0.1.2 this morning none of my entities are updating. The following error shows in the logs:
Logger: homeassistant
Source: custom_components/victron/sensor.py:157
Integration: victron ([documentation](https://github.com/sfstar/hass-victron), [issues](https://github.com/sfstar/hass-victron/issues))
First occurred: 8:25:55 AM (30 occurrences)
Last logged: 8:28:20 AM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 229, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 374, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in async_update_listeners
update_callback()
File "/config/custom_components/victron/sensor.py", line 157, in _handle_coordinator_update
self._attr_native_value = self.entity_type.decodeEnum(data).name.split("_DUPLICATE")[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 711, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 1128, in __new__
raise ve_exc
ValueError: 5.0 is not a valid generic_status
Restarting, removing and re-adding the hub, removing and re-downloading the extension does not resolve the issue. Downgrading to 0.1.1 is also does not resolve the problem.
Home Assistant 2023.7.2
Metadata
Metadata
Assignees
Labels
shippedThis issue has been shipped. 🚢This issue has been shipped. 🚢specsheet mismatchIssue related to the mismatch between the victron specsheet and the actual implementation.Issue related to the mismatch between the victron specsheet and the actual implementation.