Refactor fan in vesync #238064
ci.yaml
on: pull_request
Collect information & changes data
13s
Matrix: Prepare dependencies
Matrix: lint-hadolint
Check hassfest
51s
Check all requirements
22s
Check mypy
21s
Matrix: Audit licenses
Check ruff-format
11s
Check ruff
11s
Check other linters
23s
Matrix: pytest-mariadb
Matrix: pytest-partial
Matrix: pytest-postgres
Upload test coverage to Codecov (partial suite)
0s
Matrix: pytest-full
Upload test coverage to Codecov (full suite)
0s
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 |
|