mirror of
https://github.com/home-assistant/core.git
synced 2026-05-29 19:57:40 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
14 lines
318 B
Python
14 lines
318 B
Python
"""Constants for the Canary integration."""
|
|
|
|
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]]
|