* add transition_timer test and debug
* syntax error
* test
* Update switch.py
* Revert "test"
This reverts commit b8009e0a1a.
* Update test_switch.py
* add `create_transition_events` to tests.
nearly done
* tests are done!
* pop is for dictionaries
* Update test_switch.py
* combine the tests
* pin markdown-code-runner
* Pin with '=='
* Update test_switch.py
* pin in the correct place 😅
* Update test_switch.py
* Use timer.is_running
* Update test_switch.py
* ensure timer is running in tests
* this passes the test
* Update test_switch.py
* Do not create new list when not needed
* Remove empty deps
* Remove CONF_ULID_MAX_LENGTH (which is not configurable)
* this shouldn't pass the test but it does.
---------
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
Co-authored-by: Bas Nijholt <bas@nijho.lt>
* Tested on multiple hardware
Turns out windows 10 and 11 can't use `$(pwd):/app` OR `%cd%:/app` in PowerShell (which replaced cmd prompt), so I looked up the docs and made the necessary changes (again, sorry!)
These changes have been tested on all terminal environments except macOS (the docs say it'll work there)
* allow use of --exitfirst for faster debug
* Remove install in actions
---------
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
Co-authored-by: Bas Nijholt <bas@nijho.lt>
* ( Tiny Change ) Add windows command for dockertest
You said it earlier but the correct command for running the Docker image on windows is:
```bash
docker run -v %cd%:/app basnijholt/adaptive-lighting:latest
```
* Update README.md
---------
Co-authored-by: Bas Nijholt <basnijholt@gmail.com>
* Update test_dependencies.py
pytest reversion todo in later commit
* increase verbosity for analysis
* "instance" was created in the basic features PR.
* Can't stand the deprecation warnings.
* add testing steps to workflow action in logs.
Help the next person running into this issue again.
* wording in new messages.
* Manifest keys should be sorted: domain, name, then alphabetical order
* return basnijholt's original settings.
replaced `-v` with `-qq` again in `pytest.yaml`,
returned `branches: [master]` in both yaml files.
* Forgot a comma
* Update version in manifest to 1.6.0
* @th3w1zard1 is a code owner!
* Update .gitignore
* Revert "Update .gitignore"
This reverts commit 172841d356.
* Use Kelvin instead of Mired, default since core=2022.11
* Fix attributes
* Use ATTR_COLOR_TEMP_KELVIN in tests
* use kelvin in tests
* no duplicate
* Round to nearest 5