Skip to content

Fix battery temperature sensor #101

Fix battery temperature sensor

Fix battery temperature sensor #101

Triggered via pull request March 12, 2024 13:17
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

on: pull_request
ruff
4s
ruff
Check black
9s
Check black
Check pylint, mypy & pydocstyle
39s
Check pylint, mypy & pydocstyle
Matrix: pytest
Build and publish Python 🐍 distributions 📦 to PyPI
0s
Build and publish Python 🐍 distributions 📦 to PyPI
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 warnings
Check pylint, mypy & pydocstyle
Process completed with exit code 1.
Run tests Python 3.10: src/tests/sunsynk/migration/test_definitions.py#L63
test_migration AssertionError: assert 'Sensor(addre...1, bitmask=0)' == 'TempSensor(a...1, bitmask=0)' - TempSensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0) ? ---- + Sensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0)
Run tests Python 3.10
Process completed with exit code 1.
Run tests Python 3.11: src/tests/sunsynk/migration/test_definitions.py#L63
test_migration AssertionError: assert 'Sensor(addre...1, bitmask=0)' == 'TempSensor(a...1, bitmask=0)' - TempSensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0) ? ---- + Sensor(address=(596,), name='Battery 2 temperature', unit='°C', factor=0.1, bitmask=0)
Run tests Python 3.11
Process completed with exit code 1.
Check black
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check pylint, mypy & pydocstyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests Python 3.10
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests Python 3.11
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.