mirror of
https://github.com/home-assistant/core.git
synced 2025-05-13 18:39:14 +00:00
15 lines
353 B
Python
15 lines
353 B
Python
"""Constants for the Canary integration."""
|
|
from __future__ import annotations
|
|
|
|
from collections.abc import ValuesView
|
|
from typing import TypedDict
|
|
|
|
from canary.model import Location, Reading
|
|
|
|
|
|
class CanaryData(TypedDict):
|
|
"""TypedDict for Canary Coordinator Data."""
|
|
|
|
locations: dict[str, Location]
|
|
readings: dict[str, ValuesView[Reading]]
|