mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 05:57:01 +00:00
Remaining DeviceAutomationType bits (#62508)
* Use DeviceAutomationType in missed tests/components/* * Tighten device automation type hints
This commit is contained in:
@@ -70,7 +70,7 @@ CLIENT_REDIRECT_URI = "https://example.com/app/callback"
|
||||
|
||||
async def async_get_device_automations(
|
||||
hass: HomeAssistant,
|
||||
automation_type: device_automation.DeviceAutomationType | str,
|
||||
automation_type: device_automation.DeviceAutomationType,
|
||||
device_id: str,
|
||||
) -> Any:
|
||||
"""Get a device automation for a single device id."""
|
||||
|
||||
Reference in New Issue
Block a user