mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Cleanup trigger type hint in deconz (#72358)
This commit is contained in:
parent
f6fab65f60
commit
0c58f813c5
@ -1,9 +1,6 @@
|
||||
"""Provides device automations for deconz events."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.automation import (
|
||||
@ -643,8 +640,8 @@ def _get_deconz_event_from_device(
|
||||
|
||||
async def async_validate_trigger_config(
|
||||
hass: HomeAssistant,
|
||||
config: dict[str, Any],
|
||||
) -> vol.Schema:
|
||||
config: ConfigType,
|
||||
) -> ConfigType:
|
||||
"""Validate config."""
|
||||
config = TRIGGER_SCHEMA(config)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user