mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 01:07:10 +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."""
|
"""Provides device automations for deconz events."""
|
||||||
|
|
||||||
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 (
|
||||||
@ -643,8 +640,8 @@ def _get_deconz_event_from_device(
|
|||||||
|
|
||||||
async def async_validate_trigger_config(
|
async def async_validate_trigger_config(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config: dict[str, Any],
|
config: ConfigType,
|
||||||
) -> vol.Schema:
|
) -> ConfigType:
|
||||||
"""Validate config."""
|
"""Validate config."""
|
||||||
config = TRIGGER_SCHEMA(config)
|
config = TRIGGER_SCHEMA(config)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user