Adjust device_automation type hints in homekit_controller (#72130)

This commit is contained in:
epenet 2022-05-19 09:19:43 +02:00 committed by GitHub
parent f144b518b2
commit 1d6e404512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,7 +240,7 @@ def async_fire_triggers(conn: HKDevice, events: dict[tuple[int, int], Any]):
async def async_get_triggers(
hass: HomeAssistant, device_id: str
) -> list[dict[str, Any]]:
) -> list[dict[str, str]]:
"""List device triggers for homekit devices."""
if device_id not in hass.data.get(TRIGGERS, {}):