mirror of
https://github.com/home-assistant/core.git
synced 2025-05-25 00:07:20 +00:00
Adjust device_automation type hints in nest (#72135)
This commit is contained in:
parent
ed1c2ea2b8
commit
f166a47df3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user