Remove deprecated hass.components
from person test (#113822)
This commit is contained in:
parent
ff03c9db19
commit
c52ee2a898
1 changed files with 2 additions and 2 deletions
|
@ -349,8 +349,8 @@ async def test_create_person_during_run(hass: HomeAssistant) -> None:
|
||||||
hass.states.async_set(DEVICE_TRACKER, "home")
|
hass.states.async_set(DEVICE_TRACKER, "home")
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
await hass.components.person.async_create_person(
|
await person.async_create_person(
|
||||||
"tracked person", device_trackers=[DEVICE_TRACKER]
|
hass, "tracked person", device_trackers=[DEVICE_TRACKER]
|
||||||
)
|
)
|
||||||
await hass.async_block_till_done()
|
await hass.async_block_till_done()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue