Improve device trigger type hinting (#54907)

This commit is contained in:
Ville Skyttä 2021-08-22 21:32:50 +03:00 committed by GitHub
parent bfb6eaf6f3
commit 0095c6baeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 153 additions and 43 deletions

View file

@ -69,7 +69,7 @@ async def async_validate_trigger_config(
async def async_get_triggers(
hass: HomeAssistant, device_id: str
) -> list[dict[str, str]]:
) -> list[dict[str, Any]]:
"""List device triggers for Shelly devices."""
triggers = []