Add device_id to sentence trigger and external conversation APIs (#113094)
* Add device_id to sentence trigger and external conversation APIs * Remove device_id from external API * Update tests/components/conversation/snapshots/test_init.ambr --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
120525e94f
commit
556855f54e
4 changed files with 61 additions and 13 deletions
|
@ -535,9 +535,12 @@ async def test_turn_on_intent(
|
|||
|
||||
async def test_service_fails(hass: HomeAssistant, init_components) -> None:
|
||||
"""Test calling the turn on intent."""
|
||||
with pytest.raises(HomeAssistantError), patch(
|
||||
"homeassistant.components.conversation.async_converse",
|
||||
side_effect=intent.IntentHandleError,
|
||||
with (
|
||||
pytest.raises(HomeAssistantError),
|
||||
patch(
|
||||
"homeassistant.components.conversation.async_converse",
|
||||
side_effect=intent.IntentHandleError,
|
||||
),
|
||||
):
|
||||
await hass.services.async_call(
|
||||
"conversation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue