1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-29 18:27:07 +00:00
2022-01-11 21:23:26 +01:00

18 lines
429 B
Python

"""Constants for the Canary integration."""
from __future__ import annotations
from collections.abc import ValuesView
from typing import Optional, TypedDict
from canary.api import Location
class CanaryData(TypedDict):
"""TypedDict for Canary Coordinator Data."""
locations: dict[str, Location]
readings: dict[str, ValuesView]
SensorTypeItem = tuple[str, Optional[str], Optional[str], Optional[str], list[str]]