1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Allow exposing entities not in the entity registry to assistants (#92363)

This commit is contained in:
Erik Montnemery
2023-05-02 22:08:09 +02:00
committed by GitHub
parent cc4e741cfa
commit e3c16e634b
52 changed files with 563 additions and 224 deletions

View File

@@ -26,6 +26,7 @@ from tests.components.recorder.common import async_wait_recording_done
async def test_exclude_attributes(recorder_mock: Recorder, hass: HomeAssistant) -> None:
"""Test light registered attributes to be excluded."""
now = dt_util.utcnow()
assert await async_setup_component(hass, "homeassistant", {})
await async_setup_component(
hass, light.DOMAIN, {light.DOMAIN: {"platform": "demo"}}
)