Adjust device_automation type hints in wemo (#72141)
This commit is contained in:
parent
52686aae05
commit
bcc3c93b4e
1 changed files with 1 additions and 3 deletions
|
@ -1,8 +1,6 @@
|
||||||
"""Triggers for WeMo devices."""
|
"""Triggers for WeMo devices."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
from pywemo.subscribe import EVENT_TYPE_LONG_PRESS
|
from pywemo.subscribe import EVENT_TYPE_LONG_PRESS
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
@ -30,7 +28,7 @@ TRIGGER_SCHEMA = DEVICE_TRIGGER_BASE_SCHEMA.extend(
|
||||||
|
|
||||||
async def async_get_triggers(
|
async def async_get_triggers(
|
||||||
hass: HomeAssistant, device_id: str
|
hass: HomeAssistant, device_id: str
|
||||||
) -> list[dict[str, Any]]:
|
) -> list[dict[str, str]]:
|
||||||
"""Return a list of triggers."""
|
"""Return a list of triggers."""
|
||||||
|
|
||||||
wemo_trigger = {
|
wemo_trigger = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue