mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-14 07:44:04 +02:00
await in test again
This commit is contained in:
parent
98390a5bab
commit
2f0223d603
2 changed files with 17 additions and 22 deletions
38
.github/workflows/pytest.yaml
vendored
38
.github/workflows/pytest.yaml
vendored
|
|
@ -14,32 +14,26 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2022.11.5"
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2022.12.9"
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2023.1.7"
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2023.2.5"
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2023.3.6"
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2023.4.6"
|
||||
# - python-version: "3.10"
|
||||
# core-version: "2023.5.2"
|
||||
- python-version: "3.10"
|
||||
core-version: "2022.11.5"
|
||||
- python-version: "3.10"
|
||||
core-version: "2022.12.9"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.1.7"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.2.5"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.3.6"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.4.6"
|
||||
- python-version: "3.10"
|
||||
core-version: "2023.5.4"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.6.1"
|
||||
core-version: "2023.6.3"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.7.3"
|
||||
- python-version: "3.11"
|
||||
n: "0"
|
||||
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
|
||||
- python-version: "3.11"
|
||||
n: "4"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.8.0"
|
||||
core-version: "2023.8.1"
|
||||
- python-version: "3.11"
|
||||
core-version: "dev"
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -766,6 +766,7 @@ async def test_auto_reset_manual_control(hass):
|
|||
|
||||
async def update():
|
||||
await switch._update_attrs_and_maybe_adapt_lights(context=context, transition=0)
|
||||
await asyncio.gather(*switch.manager.adaptation_tasks)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
async def turn_light(state, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue