Skip to content

Refactor fan in vesync #238064

Refactor fan in vesync

Refactor fan in vesync #238064

Triggered via pull request January 31, 2025 04:54
Status Failure
Total duration 1m 58s
Artifacts 1

ci.yaml

on: pull_request
Collect information & changes data
13s
Collect information & changes data
Matrix: Prepare dependencies
Prepare pre-commit base
19s
Prepare pre-commit base
Matrix: lint-hadolint
Check hassfest
51s
Check hassfest
Check all requirements
22s
Check all requirements
Check mypy
21s
Check mypy
Check pylint
25s
Check pylint
Check pylint on tests
22s
Check pylint on tests
Matrix: Audit licenses
Check ruff-format
11s
Check ruff-format
Check ruff
11s
Check ruff
Check other linters
23s
Check other linters
Matrix: pytest-mariadb
Matrix: pytest-partial
Matrix: pytest-postgres
Split tests for full run
0s
Split tests for full run
Upload test coverage to Codecov (partial suite)
0s
Upload test coverage to Codecov (partial suite)
Matrix: pytest-full
Upload test coverage to Codecov (full suite)
0s
Upload test coverage to Codecov (full suite)
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Ruff (F821): homeassistant/components/vesync/fan.py#L193
homeassistant/components/vesync/fan.py:193:27: F821 Undefined name `FAN_MODE_AUTO`
Ruff (F821): homeassistant/components/vesync/fan.py#L195
homeassistant/components/vesync/fan.py:195:29: F821 Undefined name `FAN_MODE_SLEEP`
Ruff (F821): homeassistant/components/vesync/fan.py#L197
homeassistant/components/vesync/fan.py:197:29: F821 Undefined name `FAN_MODE_ADVANCED_SLEEP`
Ruff (F821): homeassistant/components/vesync/fan.py#L199
homeassistant/components/vesync/fan.py:199:29: F821 Undefined name `FAN_MODE_PET`
Ruff (F821): homeassistant/components/vesync/fan.py#L201
homeassistant/components/vesync/fan.py:201:29: F821 Undefined name `FAN_MODE_TURBO`
Ruff (F821): homeassistant/components/vesync/fan.py#L203
homeassistant/components/vesync/fan.py:203:29: F821 Undefined name `FAN_MODE_NORMAL`
Check ruff
Process completed with exit code 1.
Check mypy: homeassistant/components/vesync/fan.py#L198
Name "FAN_MODE_AUTO" is not defined [name-defined]
Check mypy: homeassistant/components/vesync/fan.py#L199
"VeSyncFanHA" has no attribute "smartfan" [attr-defined]
Check mypy: homeassistant/components/vesync/fan.py#L200
Name "FAN_MODE_SLEEP" is not defined [name-defined]
Check mypy: homeassistant/components/vesync/fan.py#L201
"VeSyncFanHA" has no attribute "smartfan" [attr-defined]
Check mypy: homeassistant/components/vesync/fan.py#L202
Name "FAN_MODE_ADVANCED_SLEEP" is not defined [name-defined]
Check mypy: homeassistant/components/vesync/fan.py#L203
"VeSyncFanHA" has no attribute "smartfan" [attr-defined]
Check mypy: homeassistant/components/vesync/fan.py#L204
Name "FAN_MODE_PET" is not defined [name-defined]
Check mypy: homeassistant/components/vesync/fan.py#L205
"VeSyncFanHA" has no attribute "smartfan" [attr-defined]
Check mypy: homeassistant/components/vesync/fan.py#L206
Name "FAN_MODE_TURBO" is not defined [name-defined]
Check mypy: homeassistant/components/vesync/fan.py#L207
"VeSyncFanHA" has no attribute "smartfan" [attr-defined]

Artifacts

Produced during runtime
Name Size
pip-freeze-3.13
12.2 KB