Context slot decisions moved into hassil (#104132)

This commit is contained in:
Michael Hansen 2023-11-17 11:07:08 -06:00 committed by GitHub
parent fd7f75e9af
commit 8c99cf14d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 20 deletions

View file

@ -343,10 +343,10 @@ async def test_device_area_context(
)
device_registry.async_update_device(bedroom_satellite.id, area_id=area_bedroom.id)
# Turn on all lights in the area of a device
# Turn on lights in the area of a device
result = await conversation.async_converse(
hass,
"turn on all lights",
"turn on the lights",
None,
Context(),
None,
@ -367,7 +367,7 @@ async def test_device_area_context(
# Ensure we can still target other areas by name
result = await conversation.async_converse(
hass,
"turn on all lights in the bedroom",
"turn on lights in the bedroom",
None,
Context(),
None,
@ -388,7 +388,7 @@ async def test_device_area_context(
# Turn off all lights in the area of the otherkj device
result = await conversation.async_converse(
hass,
"turn all lights off",
"turn lights off",
None,
Context(),
None,