fix: thermostat power state and target temperature not synced from cloud for tofan-wk01 models #868
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| check-rule-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pytest pytest-asyncio pytest-dependency zeroconf paho.mqtt psutil cryptography slugify | |
| - name: Check rule format with pytest | |
| run: | | |
| pytest -v -s -m github ./test/check_rule_format.py | |
| - name: Unit test with pytest | |
| run: | | |
| pytest -v -s -m github ./test/ |