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