mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Adjust device_automation type hints in tasmota (#72201)
This commit is contained in:
parent
ee5f1b1577
commit
5137e6b18d
@ -291,7 +291,7 @@ async def async_get_triggers(
|
|||||||
async def async_attach_trigger(
|
async def async_attach_trigger(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config: ConfigType,
|
config: ConfigType,
|
||||||
action: Callable,
|
action: AutomationActionType,
|
||||||
automation_info: AutomationTriggerInfo,
|
automation_info: AutomationTriggerInfo,
|
||||||
) -> CALLBACK_TYPE:
|
) -> CALLBACK_TYPE:
|
||||||
"""Attach a device trigger."""
|
"""Attach a device trigger."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user