Improve connection handling and reconnection logic #68
Annotations
5 errors and 1 warning
ruff
The process '/opt/hostedtoolcache/ruff/0.9.8/x86_64/ruff' failed with exit code 1
|
ruff:
custom_components/victron/hub.py#L70
custom_components/victron/hub.py:70:9: D102 Missing docstring in public method
|
ruff:
custom_components/victron/hub.py#L64
custom_components/victron/hub.py:64:20: RET504 Unnecessary assignment to `result` before `return` statement
|
ruff:
custom_components/victron/hub.py#L64
custom_components/victron/hub.py:64:13: TRY300 Consider moving this statement to an `else` block
|
ruff:
custom_components/victron/hub.py#L9
custom_components/victron/hub.py:9:38: F401 `homeassistant.exceptions.HomeAssistantError` imported but unused
|
ruff
Could not parse version from /home/runner/work/hass-victron/hass-victron/pyproject.toml. Using latest version.
|