Add logbook platforms (#37078)
* Add logbook platforms * Fix logbook describe test
This commit is contained in:
parent
7968cd650a
commit
5bc6ed4cef
19 changed files with 215 additions and 116 deletions
|
@ -15,8 +15,10 @@ from tests.components.logbook.test_init import MockLazyEventPartialState
|
|||
|
||||
async def test_humanify_homekit_changed_event(hass, hk_driver):
|
||||
"""Test humanifying HomeKit changed event."""
|
||||
hass.config.components.add("recorder")
|
||||
with patch("homeassistant.components.homekit.HomeKit"):
|
||||
assert await async_setup_component(hass, "homekit", {"homekit": {}})
|
||||
assert await async_setup_component(hass, "logbook", {})
|
||||
entity_attr_cache = logbook.EntityAttributeCache(hass)
|
||||
|
||||
event1, event2 = list(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue