From f166a47df38a7dceb3ab677ecb33e4ea873a25c7 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 19 May 2022 15:50:32 +0200 Subject: [PATCH] Adjust device_automation type hints in nest (#72135) --- homeassistant/components/nest/device_trigger.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/nest/device_trigger.py b/homeassistant/components/nest/device_trigger.py index 1f7f2b642dc..7bdbab214b8 100644 --- a/homeassistant/components/nest/device_trigger.py +++ b/homeassistant/components/nest/device_trigger.py @@ -1,8 +1,6 @@ """Provides device automations for Nest.""" from __future__ import annotations -from typing import Any - import voluptuous as vol from homeassistant.components.automation import ( @@ -66,7 +64,7 @@ async def async_get_device_trigger_types( async def async_get_triggers( hass: HomeAssistant, device_id: str -) -> list[dict[str, Any]]: +) -> list[dict[str, str]]: """List device triggers for a Nest device.""" nest_device_id = async_get_nest_device_id(hass, device_id) if not nest_device_id: