From 694dc97ac555d51c1769e7a3361038c9f7742b5a Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 19 May 2022 09:15:41 +0200 Subject: [PATCH] Adjust device_automation type hints in tasmota (#72140) --- homeassistant/components/tasmota/device_trigger.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/tasmota/device_trigger.py b/homeassistant/components/tasmota/device_trigger.py index aca5a2848e3..512fa5dd547 100644 --- a/homeassistant/components/tasmota/device_trigger.py +++ b/homeassistant/components/tasmota/device_trigger.py @@ -3,7 +3,6 @@ from __future__ import annotations from collections.abc import Callable import logging -from typing import Any import attr from hatasmota.models import DiscoveryHashType @@ -265,7 +264,7 @@ async def async_remove_triggers(hass: HomeAssistant, device_id: str) -> None: async def async_get_triggers( hass: HomeAssistant, device_id: str -) -> list[dict[str, Any]]: +) -> list[dict[str, str]]: """List device triggers for a Tasmota device.""" triggers: list[dict[str, str]] = []