mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Adjust device_automation type hints in arcam_fmj (#72128)
This commit is contained in:
parent
694dc97ac5
commit
453c6af595
@ -1,8 +1,6 @@
|
|||||||
"""Provides device automations for Arcam FMJ Receiver control."""
|
"""Provides device automations for Arcam FMJ Receiver control."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.automation import (
|
from homeassistant.components.automation import (
|
||||||
@ -35,7 +33,7 @@ TRIGGER_SCHEMA = DEVICE_TRIGGER_BASE_SCHEMA.extend(
|
|||||||
|
|
||||||
async def async_get_triggers(
|
async def async_get_triggers(
|
||||||
hass: HomeAssistant, device_id: str
|
hass: HomeAssistant, device_id: str
|
||||||
) -> list[dict[str, Any]]:
|
) -> list[dict[str, str]]:
|
||||||
"""List device triggers for Arcam FMJ Receiver control devices."""
|
"""List device triggers for Arcam FMJ Receiver control devices."""
|
||||||
registry = entity_registry.async_get(hass)
|
registry = entity_registry.async_get(hass)
|
||||||
triggers = []
|
triggers = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user