Improve device handling for disconnected IronOS devices #230318
ci.yaml
on: pull_request
Collect information & changes data
15s
Matrix: Prepare dependencies
Matrix: lint-hadolint
Check hassfest
53s
Check all requirements
18s
Check mypy
28s
Matrix: Audit licenses
Check ruff-format
9s
Check ruff
17s
Check other linters
22s
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
4 errors
Run tests Python 3.12 (iron_os):
tests/components/iron_os/test_update.py#L47
test_update
AssertionError: assert [+ received] == [- snapshot]
StateSnapshot({
'attributes': ReadOnlyDict({
- 'auto_update': False,
'device_class': 'firmware',
- 'display_precision': 0,
'entity_picture': 'https://brands.home-assistant.io/_/iron_os/icon.png',
'friendly_name': 'Pinecil Firmware',
- 'in_progress': False,
- 'installed_version': 'v2.22',
- 'latest_version': 'v2.22',
- 'release_summary': None,
- 'release_url': 'https://github.com/Ralim/IronOS/releases/tag/v2.22',
- 'skipped_version': None,
'supported_features': <UpdateEntityFeature: 16>,
- 'title': 'IronOS V2.22 | TS101 & S60 Added | PinecilV2 improved',
- 'update_percentage': None,
}),
...
'last_updated': <ANY>,
- 'state': 'off',
+ 'state': 'unavailable',
})
|
Run tests Python 3.12 (iron_os)
Process completed with exit code 1.
|
Run tests Python 3.13 (iron_os):
tests/components/iron_os/test_update.py#L47
test_update
AssertionError: assert [+ received] == [- snapshot]
StateSnapshot({
'attributes': ReadOnlyDict({
- 'auto_update': False,
'device_class': 'firmware',
- 'display_precision': 0,
'entity_picture': 'https://brands.home-assistant.io/_/iron_os/icon.png',
'friendly_name': 'Pinecil Firmware',
- 'in_progress': False,
- 'installed_version': 'v2.22',
- 'latest_version': 'v2.22',
- 'release_summary': None,
- 'release_url': 'https://github.com/Ralim/IronOS/releases/tag/v2.22',
- 'skipped_version': None,
'supported_features': <UpdateEntityFeature: 16>,
- 'title': 'IronOS V2.22 | TS101 & S60 Added | PinecilV2 improved',
- 'update_percentage': None,
}),
...
'last_updated': <ANY>,
- 'state': 'off',
+ 'state': 'unavailable',
})
|
Run tests Python 3.13 (iron_os)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pip-freeze-3.12
|
11.9 KB |
|
pip-freeze-3.13
|
12 KB |
|
pytest-230318-3.12-iron_os
|
2.83 KB |
|
pytest-230318-3.13-iron_os
|
2.83 KB |
|