Clean up core services (#31509)
* Clean up core services * Fix conversation test
This commit is contained in:
1 parent
57ab30d534
commit
111050bea9
7 files changed
+222
-121
No files matched your search
@@ -201,11 +201,9 @@ async def test_toggle_intent(hass, sentence):
|
||||
|
||||
async def test_http_api(hass, hass_client):
|
||||
"""Test the HTTP conversation API."""
|
||||
result = await async_setup_component(hass, "homeassistant", {})
|
||||
assert result
|
||||
|
||||
result = await async_setup_component(hass, "conversation", {})
|
||||
assert result
|
||||
assert await async_setup_component(hass, "homeassistant", {})
|
||||
assert await async_setup_component(hass, "conversation", {})
|
||||
assert await async_setup_component(hass, "intent", {})
|
||||
|
||||
client = await hass_client()
|
||||
hass.states.async_set("light.kitchen", "off")
|
||||
|
||||
Reference in new issue
Block a user