Cleanup trigger type hint in deconz ()

This commit is contained in:
epenet 2022-05-23 12:55:26 +02:00 committed by GitHub
parent f6fab65f60
commit 0c58f813c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)