mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Adjust device_automation type hints in shelly (#72139)
This commit is contained in:
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…
x
Reference in New Issue
Block a user