mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add conversation entity (#114518)
* Default agent as entity * Migrate constant to point at new value * Fix tests * Fix more tests * Move assist pipeline back to cloud after dependenceis
This commit is contained in:
@@ -7,10 +7,12 @@ from homeassistant.components.cloud.assist_pipeline import (
|
||||
)
|
||||
from homeassistant.const import Platform
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
||||
async def test_migrate_pipeline_invalid_platform(hass: HomeAssistant) -> None:
|
||||
"""Test migrate pipeline with invalid platform."""
|
||||
await async_setup_component(hass, "assist_pipeline", {})
|
||||
with pytest.raises(ValueError):
|
||||
await async_migrate_cloud_pipeline_engine(
|
||||
hass, Platform.BINARY_SENSOR, "test-engine-id"
|
||||
|
||||
Reference in New Issue
Block a user