Skip to content

Commit

Permalink
Adjust device_automation type hints in nest (home-assistant#72135)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored May 19, 2022
1 parent ed1c2ea commit f166a47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions homeassistant/components/nest/device_trigger.py
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f166a47

Please sign in to comment.