1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-27 14:31:13 +00:00

Add conversation mobile app webhook (#86239)

* Add conversation mobile app webhook

* Re-instate removed unused import which was used as fixture
This commit is contained in:
Paulus Schoutsen
2023-01-19 13:59:02 -05:00
committed by GitHub
parent c0d9dcdb3f
commit 9631146745
8 changed files with 151 additions and 38 deletions

View File

@@ -0,0 +1,15 @@
"""Conversation test helpers."""
import pytest
from homeassistant.components import conversation
from . import MockAgent
@pytest.fixture
def mock_agent(hass):
"""Mock agent."""
agent = MockAgent()
conversation.async_set_agent(hass, agent)
return agent