mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-28 04:44:39 +02:00
assert 0
This commit is contained in:
parent
eb572093a7
commit
5648750f92
3 changed files with 3 additions and 29 deletions
29
.github/workflows/pytest.yaml
vendored
29
.github/workflows/pytest.yaml
vendored
|
|
@ -32,38 +32,9 @@ jobs:
|
|||
core-version: "2023.6.1"
|
||||
- python-version: "3.11"
|
||||
core-version: "2023.7.3"
|
||||
- python-version: "3.11" # 2023.7.3
|
||||
core-version: "40b5605cafcf81925c6066545b0bc226ee78a4e4" # 2023.7.3
|
||||
- python-version: "3.11"
|
||||
n: "0"
|
||||
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
|
||||
- python-version: "3.11"
|
||||
n: "1"
|
||||
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
|
||||
- python-version: "3.11"
|
||||
n: "2"
|
||||
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
|
||||
- python-version: "3.11"
|
||||
n: "3"
|
||||
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
|
||||
- python-version: "3.11"
|
||||
n: "4"
|
||||
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
|
||||
- python-version: "3.11"
|
||||
n: "5"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
- python-version: "3.11"
|
||||
n: "0"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
- python-version: "3.11"
|
||||
n: "1"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
- python-version: "3.11"
|
||||
n: "2"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
- python-version: "3.11"
|
||||
n: "3"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
- python-version: "3.11"
|
||||
n: "4"
|
||||
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
|
||||
|
|
|
|||
|
|
@ -2259,6 +2259,8 @@ class AdaptiveLightingManager:
|
|||
elif state == STATE_OFF: # is turning on
|
||||
on(eid, event)
|
||||
|
||||
_LOGGER.debug("end of turn_on_off_event_listener()")
|
||||
|
||||
async def state_changed_event_listener(self, event: Event) -> None:
|
||||
"""Track 'state_changed' events."""
|
||||
entity_id = event.data.get(ATTR_ENTITY_ID, "")
|
||||
|
|
|
|||
|
|
@ -814,6 +814,7 @@ async def test_auto_reset_manual_control(hass):
|
|||
await update()
|
||||
await asyncio.sleep(0.3) # Wait the auto reset time
|
||||
assert not manual_control[light.entity_id]
|
||||
assert 0, switch.extra_state_attributes["autoreset_time_remaining"]
|
||||
|
||||
|
||||
async def test_apply_service(hass):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue