Clean up core services (#31509)

* Clean up core services

* Fix conversation test
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-02-08 13:10:59 +01:00
1 parent 57ab30d534
commit 111050bea9
7 files changed
+222 -121

No files matched your search

+3 -5
View File
@@ -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")