mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 10:18:11 +02:00
Clean up accessing service helpers via hass (#72013)
This commit is contained in:
@ -377,7 +377,7 @@ async def test_async_get_descriptions_script(hass):
|
||||
}
|
||||
|
||||
await async_setup_component(hass, DOMAIN, script_config)
|
||||
descriptions = await hass.helpers.service.async_get_all_descriptions()
|
||||
descriptions = await async_get_all_descriptions(hass)
|
||||
|
||||
assert descriptions[DOMAIN]["test1"]["description"] == ""
|
||||
assert not descriptions[DOMAIN]["test1"]["fields"]
|
||||
|
Reference in New Issue
Block a user