mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remaining DeviceAutomationType bits (#62508)
* Use DeviceAutomationType in missed tests/components/* * Tighten device automation type hints
This commit is contained in:
@@ -116,7 +116,7 @@ async def test_get_trigger_capabilities(hass, device_reg, entity_reg):
|
||||
assert len(triggers) == 5
|
||||
for trigger in triggers:
|
||||
capabilities = await async_get_device_automation_capabilities(
|
||||
hass, "trigger", trigger
|
||||
hass, DeviceAutomationType.TRIGGER, trigger
|
||||
)
|
||||
assert capabilities == {
|
||||
"extra_fields": [
|
||||
|
||||
Reference in New Issue
Block a user