Add logbook platforms (#37078)
* Add logbook platforms * Fix logbook describe test
This commit is contained in:
1 parent
508afd3b90
commit
5cbf77221a
19 files changed
+215
-116
No files matched your search
@@ -8,7 +8,9 @@ from tests.components.logbook.test_init import MockLazyEventPartialState
|
||||
|
||||
async def test_humanify_alexa_event(hass):
|
||||
"""Test humanifying Alexa event."""
|
||||
hass.config.components.add("recorder")
|
||||
await async_setup_component(hass, "alexa", {})
|
||||
await async_setup_component(hass, "logbook", {})
|
||||
hass.states.async_set("light.kitchen", "on", {"friendly_name": "Kitchen Light"})
|
||||
entity_attr_cache = logbook.EntityAttributeCache(hass)
|
||||
|
||||
|
||||
Reference in new issue
Block a user