mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Clean up core services (#31509)
* Clean up core services * Fix conversation test
This commit is contained in:
@@ -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