Adjust device_automation type hints in arcam_fmj (#72128)

This commit is contained in:
epenet 2022-05-19 09:16:46 +02:00 committed by GitHub
parent 694dc97ac5
commit 453c6af595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,6 @@
"""Provides device automations for Arcam FMJ Receiver control."""
from __future__ import annotations
from typing import Any
import voluptuous as vol
from homeassistant.components.automation import (
@ -35,7 +33,7 @@ TRIGGER_SCHEMA = DEVICE_TRIGGER_BASE_SCHEMA.extend(
async def async_get_triggers(
hass: HomeAssistant, device_id: str
) -> list[dict[str, Any]]:
) -> list[dict[str, str]]:
"""List device triggers for Arcam FMJ Receiver control devices."""
registry = entity_registry.async_get(hass)
triggers = []