mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-10-08 02:17:22 +02:00
Test HA core v2023.6 until v2024.2 (#942)
* Test HA core v2023.6 until v2024.2
* Use Python 3.12
* Add components.ffmpeg
* Revert "VS Code Dev Container (dev & test environment) (#605)"
This reverts commit 6283158ff7.
* Fix
* revert
* fi
* simplify
* Fix
* fixes
* fix
* rev
* Rename test
* fix
* fix all
* fix
* revert
This commit is contained in:
parent
e4e1aa7d37
commit
9eae1501d3
10 changed files with 104 additions and 101 deletions
|
|
@ -2,16 +2,15 @@
|
|||
|
||||
from unittest.mock import AsyncMock
|
||||
|
||||
from homeassistant.components.adaptive_lighting.adaptation_utils import ServiceData
|
||||
from homeassistant.components.adaptive_lighting.hass_utils import (
|
||||
setup_service_call_interceptor,
|
||||
)
|
||||
from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN
|
||||
from homeassistant.const import SERVICE_TURN_ON
|
||||
from homeassistant.core import ServiceCall
|
||||
from homeassistant.util.read_only_dict import ReadOnlyDict
|
||||
|
||||
from custom_components.adaptive_lighting.adaptation_utils import ServiceData
|
||||
from custom_components.adaptive_lighting.hass_utils import (
|
||||
setup_service_call_interceptor,
|
||||
)
|
||||
|
||||
|
||||
async def test_setup_service_call_interceptor(hass):
|
||||
"""Test setup and removal of service call interceptor."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue