Update typing 06 (#48039)
This commit is contained in:
parent
7c0734bdd5
commit
91df3fa904
40 changed files with 241 additions and 211 deletions
|
@ -1,5 +1,5 @@
|
|||
"""Provides device automations for Fan."""
|
||||
from typing import List
|
||||
from __future__ import annotations
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
|
@ -31,7 +31,7 @@ TRIGGER_SCHEMA = TRIGGER_BASE_SCHEMA.extend(
|
|||
)
|
||||
|
||||
|
||||
async def async_get_triggers(hass: HomeAssistant, device_id: str) -> List[dict]:
|
||||
async def async_get_triggers(hass: HomeAssistant, device_id: str) -> list[dict]:
|
||||
"""List device triggers for Fan devices."""
|
||||
registry = await entity_registry.async_get_registry(hass)
|
||||
triggers = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue