Adjust device_automation type hints in shelly (#72139)
parent
be809980a1
commit
7e2f5968cc
|
@ -108,9 +108,9 @@ async def async_validate_trigger_config(
|
|||
|
||||
async def async_get_triggers(
|
||||
hass: HomeAssistant, device_id: str
|
||||
) -> list[dict[str, Any]]:
|
||||
) -> list[dict[str, str]]:
|
||||
"""List device triggers for Shelly devices."""
|
||||
triggers: list[dict[str, Any]] = []
|
||||
triggers: list[dict[str, str]] = []
|
||||
|
||||
if rpc_wrapper := get_rpc_device_wrapper(hass, device_id):
|
||||
input_triggers = get_rpc_input_triggers(rpc_wrapper.device)
|
||||
|
|
Loading…
Reference in New Issue