repo
stringlengths
7
90
file_url
stringlengths
81
315
file_path
stringlengths
4
228
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:38:15
2026-01-05 02:33:18
truncated
bool
2 classes
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/cover.py
homeassistant/components/teslemetry/cover.py
"""Cover platform for Teslemetry integration.""" from __future__ import annotations from itertools import chain from typing import Any from tesla_fleet_api.const import Scope, SunRoofCommand, Trunk, WindowCommand from tesla_fleet_api.teslemetry import Vehicle from teslemetry_stream import Signal from teslemetry_stre...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/services.py
homeassistant/components/teslemetry/services.py
"""Service calls for the Teslemetry integration.""" import logging import voluptuous as vol from voluptuous import All, Range from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_DEVICE_ID, CONF_LATITUDE, CONF_LONGITUDE from homeassistant.core import HomeAssistant, ServiceCall, c...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/models.py
homeassistant/components/teslemetry/models.py
"""The Teslemetry integration models.""" from __future__ import annotations import asyncio from collections.abc import Callable from dataclasses import dataclass from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import EnergySite, Vehicle from teslemetry_stream import TeslemetryStream, Teslemet...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/switch.py
homeassistant/components/teslemetry/switch.py
"""Switch platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from tesla_fleet_api.const import AutoSeat, Scope from tesla_fleet_api.teslemetry import Vehicle from teslemetry_stream import ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/number.py
homeassistant/components/teslemetry/number.py
"""Number platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from itertools import chain from typing import Any from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import EnergySite, Vehicle ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/oauth.py
homeassistant/components/teslemetry/oauth.py
"""Provide oauth implementations for the Teslemetry integration.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from .const import AUTHORIZE_URL, TOKEN_URL class TeslemetryImplementation( conf...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/binary_sensor.py
homeassistant/components/teslemetry/binary_sensor.py
"""Binary Sensor platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import cast from teslemetry_stream.vehicle import TeslemetryStreamVehicle from homeassistant.components.binary_sensor import ( BinarySens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/lock.py
homeassistant/components/teslemetry/lock.py
"""Lock platform for Teslemetry integration.""" from __future__ import annotations from itertools import chain from typing import Any from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import Vehicle from homeassistant.components.lock import LockEntity from homeassistant.core import HomeAssista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/const.py
homeassistant/components/teslemetry/const.py
"""Constants used by Teslemetry integration.""" from __future__ import annotations from enum import StrEnum import logging DOMAIN = "teslemetry" LOGGER = logging.getLogger(__package__) # OAuth AUTHORIZE_URL = "https://teslemetry.com/connect" TOKEN_URL = "https://api.teslemetry.com/oauth/token" CLIENT_ID = "homeass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/coordinator.py
homeassistant/components/teslemetry/coordinator.py
"""Teslemetry Data Coordinator.""" from __future__ import annotations from datetime import datetime, timedelta from typing import TYPE_CHECKING, Any from tesla_fleet_api.const import TeslaEnergyPeriod, VehicleDataEndpoint from tesla_fleet_api.exceptions import ( InvalidToken, SubscriptionRequired, TeslaF...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/update.py
homeassistant/components/teslemetry/update.py
"""Update platform for Teslemetry integration.""" from __future__ import annotations from typing import Any from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import Vehicle from homeassistant.components.update import UpdateEntity, UpdateEntityFeature from homeassistant.core import HomeAssistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/helpers.py
homeassistant/components/teslemetry/helpers.py
"""Teslemetry helper functions.""" from typing import Any from tesla_fleet_api.exceptions import TeslaFleetError from homeassistant.exceptions import HomeAssistantError from .const import DOMAIN, LOGGER def flatten(data: dict[str, Any], parent: str | None = None) -> dict[str, Any]: """Flatten the data structu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/sensor.py
homeassistant/components/teslemetry/sensor.py
"""Sensor platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, timedelta from teslemetry_stream import TeslemetryStream, TeslemetryStreamVehicle from homeassistant.components.sensor import ( ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/__init__.py
homeassistant/components/teslemetry/__init__.py
"""Teslemetry integration.""" import asyncio from collections.abc import Callable from typing import Final from aiohttp import ClientResponseError from tesla_fleet_api.const import Scope from tesla_fleet_api.exceptions import ( Forbidden, InvalidToken, SubscriptionRequired, TeslaFleetError, ) from tes...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/entity.py
homeassistant/components/teslemetry/entity.py
"""Teslemetry parent entity class.""" from abc import abstractmethod from typing import Any from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import EnergySite, Vehicle from homeassistant.exceptions import ServiceValidationError from homeassistant.helpers.device_registry import DeviceInfo from ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/button.py
homeassistant/components/teslemetry/button.py
"""Button platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import Vehicle from homeassistant.components.button im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/select.py
homeassistant/components/teslemetry/select.py
"""Select platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from itertools import chain from typing import Any from tesla_fleet_api.const import EnergyExportMode, EnergyOperationMode, Scope, Seat from tesla_fle...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/climate.py
homeassistant/components/teslemetry/climate.py
"""Climate platform for Teslemetry integration.""" from __future__ import annotations from itertools import chain from typing import Any, cast from tesla_fleet_api.const import CabinOverheatProtectionTemp, Scope from tesla_fleet_api.teslemetry import Vehicle from homeassistant.components.climate import ( ATTR_H...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/config_flow.py
homeassistant/components/teslemetry/config_flow.py
"""Config Flow for Teslemetry integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from aiohttp import ClientConnectionError from tesla_fleet_api.exceptions import ( InvalidToken, SubscriptionRequired, TeslaFleetError, ) from tesla_f...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/improv_ble/const.py
homeassistant/components/improv_ble/const.py
"""Constants for the Improv BLE integration.""" from __future__ import annotations import asyncio from homeassistant.util.hass_dict import HassKey DOMAIN = "improv_ble" PROVISIONING_FUTURES: HassKey[dict[str, asyncio.Future[str]]] = HassKey(DOMAIN) # Timeout in seconds to wait for another integration to register ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/improv_ble/__init__.py
homeassistant/components/improv_ble/__init__.py
"""The Improv BLE integration.""" from __future__ import annotations import asyncio import logging from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.device_registry import format_mac from .const import PROVISIONING_FUTURES _LOGGER = logging.getLogger(__name__) __all__ = ["async_reg...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/improv_ble/config_flow.py
homeassistant/components/improv_ble/config_flow.py
"""Config flow for Improv via BLE integration.""" from __future__ import annotations import asyncio from collections.abc import AsyncIterator, Callable, Coroutine from contextlib import asynccontextmanager from dataclasses import dataclass import logging from typing import Any from bleak import BleakError from impro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/tts.py
homeassistant/components/google_generative_ai_conversation/tts.py
"""Text to speech support for Google Generative AI.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from google.genai import types from google.genai.errors import APIError, ClientError from propcache.api import cached_property from homeassistant.components.tts import...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/diagnostics.py
homeassistant/components/google_generative_ai_conversation/diagnostics.py
"""Diagnostics support for Google Generative AI Conversation.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY from homeassistant.core impor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/conversation.py
homeassistant/components/google_generative_ai_conversation/conversation.py
"""Conversation support for the Google Generative AI Conversation integration.""" from __future__ import annotations from typing import Literal from homeassistant.components import conversation from homeassistant.config_entries import ConfigEntry, ConfigSubentry from homeassistant.const import CONF_LLM_HASS_API, MAT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/const.py
homeassistant/components/google_generative_ai_conversation/const.py
"""Constants for the Google Generative AI Conversation integration.""" import logging from homeassistant.const import CONF_LLM_HASS_API from homeassistant.helpers import llm LOGGER = logging.getLogger(__package__) DOMAIN = "google_generative_ai_conversation" DEFAULT_TITLE = "Google Generative AI" DEFAULT_CONVERSAT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/helpers.py
homeassistant/components/google_generative_ai_conversation/helpers.py
"""Helper classes for Google Generative AI integration.""" from __future__ import annotations from contextlib import suppress import io import wave from homeassistant.exceptions import HomeAssistantError from .const import LOGGER def convert_to_wav(audio_data: bytes, mime_type: str) -> bytes: """Generate a WA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/ai_task.py
homeassistant/components/google_generative_ai_conversation/ai_task.py
"""AI Task integration for Google Generative AI Conversation.""" from __future__ import annotations from json import JSONDecodeError from typing import TYPE_CHECKING from google.genai.errors import APIError from google.genai.types import GenerateContentConfig, Part, PartUnionDict from homeassistant.components impor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/__init__.py
homeassistant/components/google_generative_ai_conversation/__init__.py
"""The Google Generative AI Conversation integration.""" from __future__ import annotations from functools import partial from pathlib import Path from types import MappingProxyType from google.genai import Client from google.genai.errors import APIError, ClientError from requests.exceptions import Timeout import vo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/entity.py
homeassistant/components/google_generative_ai_conversation/entity.py
"""Conversation support for the Google Generative AI Conversation integration.""" from __future__ import annotations import asyncio import base64 import codecs from collections.abc import AsyncGenerator, AsyncIterator, Callable from dataclasses import dataclass, replace import mimetypes from pathlib import Path from ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/config_flow.py
homeassistant/components/google_generative_ai_conversation/config_flow.py
"""Config flow for Google Generative AI Conversation integration.""" from __future__ import annotations from collections.abc import Mapping from functools import partial import logging from typing import Any, cast from google import genai from google.genai.errors import APIError, ClientError from requests.exceptions...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_generative_ai_conversation/stt.py
homeassistant/components/google_generative_ai_conversation/stt.py
"""Speech to text support for Google Generative AI.""" from __future__ import annotations from collections.abc import AsyncIterable from google.genai.errors import APIError, ClientError from google.genai.types import Part from homeassistant.components import stt from homeassistant.config_entries import ConfigEntry,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/decorquip/__init__.py
homeassistant/components/decorquip/__init__.py
"""Virtual integration: Decorquip."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/diagnostics.py
homeassistant/components/tractive/diagnostics.py
"""Diagnostics support for Tractive.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_EMAIL, CONF_PASSWORD from homeassistant.core import HomeAssistant from . import TractiveConfigEntry TO_REDACT = {...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/device_tracker.py
homeassistant/components/tractive/device_tracker.py
"""Support for Tractive device trackers.""" from __future__ import annotations from typing import Any from homeassistant.components.device_tracker import SourceType, TrackerEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/switch.py
homeassistant/components/tractive/switch.py
"""Support for Tractive switches.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import Any, Literal, cast from aiotractive.exceptions import TractiveError from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/binary_sensor.py
homeassistant/components/tractive/binary_sensor.py
"""Support for Tractive binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) fr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/const.py
homeassistant/components/tractive/const.py
"""Constants for the tractive integration.""" from datetime import timedelta DOMAIN = "tractive" RECONNECT_INTERVAL = timedelta(seconds=10) ATTR_ACTIVITY_LABEL = "activity_label" ATTR_BUZZER = "buzzer" ATTR_CALORIES = "calories" ATTR_DAILY_GOAL = "daily_goal" ATTR_LED = "led" ATTR_LIVE_TRACKING = "live_tracking" AT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/sensor.py
homeassistant/components/tractive/sensor.py
"""Support for Tractive sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/__init__.py
homeassistant/components/tractive/__init__.py
"""The tractive integration.""" from __future__ import annotations import asyncio from dataclasses import dataclass import logging from typing import Any, cast import aiotractive from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_BATTERY_CHARGING, ATTR_BATTERY_LEVEL,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/entity.py
homeassistant/components/tractive/entity.py
"""A entity class for Tractive integration.""" from __future__ import annotations from typing import Any from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tractive/config_flow.py
homeassistant/components/tractive/config_flow.py
"""Config flow for tractive integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import aiotractive import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_EMAIL, CONF_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bryant_evolution/names.py
homeassistant/components/bryant_evolution/names.py
"""Functions to generate names for devices and entities.""" from homeassistant.config_entries import ConfigEntry def sam_device_uid(entry: ConfigEntry) -> str: """Return the UID for the SAM device.""" return entry.entry_id def system_device_uid(sam_uid: str, system_id: int) -> str: """Return the UID fo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bryant_evolution/const.py
homeassistant/components/bryant_evolution/const.py
"""Constants for the Bryant Evolution integration.""" DOMAIN = "bryant_evolution" CONF_SYSTEM_ZONE = "system_zone"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bryant_evolution/__init__.py
homeassistant/components/bryant_evolution/__init__.py
"""The Bryant Evolution integration.""" from __future__ import annotations import logging from evolutionhttp import BryantEvolutionLocalClient from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_FILENAME, Platform from homeassistant.core import HomeAssistant from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bryant_evolution/climate.py
homeassistant/components/bryant_evolution/climate.py
"""Support for Bryant Evolution HVAC systems.""" from datetime import timedelta import logging from typing import Any from evolutionhttp import BryantEvolutionLocalClient from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, ClimateEntity, ClimateEntityFeature, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bryant_evolution/config_flow.py
homeassistant/components/bryant_evolution/config_flow.py
"""Config flow for Bryant Evolution integration.""" from __future__ import annotations import logging from typing import Any from evolutionhttp import BryantEvolutionLocalClient import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_FILENA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmap_tracker/device_tracker.py
homeassistant/components/nmap_tracker/device_tracker.py
"""Support for scanning a network with nmap.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.device_tracker import ScannerEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.hel...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmap_tracker/const.py
homeassistant/components/nmap_tracker/const.py
"""The Nmap Tracker integration.""" from typing import Final from homeassistant.const import Platform DOMAIN: Final = "nmap_tracker" PLATFORMS: Final = [Platform.DEVICE_TRACKER] NMAP_TRACKED_DEVICES: Final = "nmap_tracked_devices" # Interval in minutes to exclude devices from a scan while they are home CONF_HOME_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmap_tracker/__init__.py
homeassistant/components/nmap_tracker/__init__.py
"""The Nmap Tracker integration.""" from __future__ import annotations import asyncio from dataclasses import dataclass from datetime import datetime, timedelta from functools import partial import logging from typing import Final import aiooui from getmac import get_mac_address from nmap import PortScanner, PortSca...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmap_tracker/config_flow.py
homeassistant/components/nmap_tracker/config_flow.py
"""Config flow for Nmap Tracker integration.""" from __future__ import annotations from ipaddress import ip_address, ip_network, summarize_address_range import re from typing import Any import voluptuous as vol from homeassistant.components import network from homeassistant.components.device_tracker import ( CO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/epion/const.py
homeassistant/components/epion/const.py
"""Constants for the Epion API.""" from datetime import timedelta DOMAIN = "epion" REFRESH_INTERVAL = timedelta(minutes=1)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/epion/coordinator.py
homeassistant/components/epion/coordinator.py
"""The Epion data coordinator.""" import logging from typing import Any from epion import Epion, EpionAuthenticationError, EpionConnectionError from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed from homeassista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/epion/sensor.py
homeassistant/components/epion/sensor.py
"""Support for Epion API.""" from __future__ import annotations from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/epion/__init__.py
homeassistant/components/epion/__init__.py
"""The Epion integration.""" from __future__ import annotations from epion import Epion from homeassistant.const import CONF_API_KEY, Platform from homeassistant.core import HomeAssistant from .coordinator import EpionConfigEntry, EpionCoordinator PLATFORMS = [Platform.SENSOR] async def async_setup_entry(hass: H...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/epion/config_flow.py
homeassistant/components/epion/config_flow.py
"""Config flow for Epion.""" from __future__ import annotations import logging from typing import Any from epion import Epion, EpionAuthenticationError, EpionConnectionError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_API_KEY f...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/lock.py
homeassistant/components/igloohome/lock.py
"""Implementation of the lock platform.""" from datetime import timedelta from aiohttp import ClientError from igloohome_api import ( BRIDGE_JOB_LOCK, BRIDGE_JOB_UNLOCK, DEVICE_TYPE_LOCK, Api as IgloohomeApi, ApiException, GetDeviceInfoResponse, ) from homeassistant.components.lock import Loc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/const.py
homeassistant/components/igloohome/const.py
"""Constants for the igloohome integration.""" DOMAIN = "igloohome" API_ACCESS_URL = "https://access.igloocompany.co/api-access"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/utils.py
homeassistant/components/igloohome/utils.py
"""House utility functions.""" from igloohome_api import DEVICE_TYPE_BRIDGE, GetDeviceInfoResponse def get_linked_bridge( device_id: str, devices: list[GetDeviceInfoResponse] ) -> str | None: """Return the ID of the bridge that is linked to the device. None if no bridge is linked.""" bridges = (bridge fo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/sensor.py
homeassistant/components/igloohome/sensor.py
"""Implementation of the sensor platform.""" from datetime import timedelta import logging from aiohttp import ClientError from igloohome_api import Api as IgloohomeApi, ApiException, GetDeviceInfoResponse from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.core import Home...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/__init__.py
homeassistant/components/igloohome/__init__.py
"""The igloohome integration.""" from __future__ import annotations from dataclasses import dataclass from aiohttp import ClientError from igloohome_api import ( Api as IgloohomeApi, ApiException, Auth as IgloohomeAuth, AuthException, GetDeviceInfoResponse, ) from homeassistant.config_entries im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/entity.py
homeassistant/components/igloohome/entity.py
"""Implementation of a base entity that belongs to all igloohome devices.""" from igloohome_api import Api as IgloohomeApi, GetDeviceInfoResponse from homeassistant.helpers import device_registry as dr from homeassistant.helpers.entity import Entity from .const import DOMAIN class IgloohomeBaseEntity(Entity): ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/igloohome/config_flow.py
homeassistant/components/igloohome/config_flow.py
"""Config flow for igloohome integration.""" from __future__ import annotations import logging from typing import Any from aiohttp import ClientError from igloohome_api import Auth as IgloohomeAuth, AuthException import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/twilio_call/__init__.py
homeassistant/components/twilio_call/__init__.py
"""The twilio_call component."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/twilio_call/notify.py
homeassistant/components/twilio_call/notify.py
"""Twilio Call platform for notify component.""" from __future__ import annotations import logging import urllib from twilio.base.exceptions import TwilioRestException import voluptuous as vol from homeassistant.components.notify import ( ATTR_TARGET, PLATFORM_SCHEMA as NOTIFY_PLATFORM_SCHEMA, BaseNotif...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/diagnostics.py
homeassistant/components/firefly_iii/diagnostics.py
"""Diagnostics for the Firefly III integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_API_KEY, CONF_URL from homeassistant.core import HomeAssistant from . import FireflyConfigEntry from .c...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/const.py
homeassistant/components/firefly_iii/const.py
"""Constants for the Firefly III integration.""" DOMAIN = "firefly_iii" MANUFACTURER = "Firefly III" NAME = "Firefly III"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/coordinator.py
homeassistant/components/firefly_iii/coordinator.py
"""Data Update Coordinator for Firefly III integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import datetime, timedelta import logging from aiohttp import CookieJar from pyfirefly import ( Firefly, FireflyAuthenticationError, FireflyConnectionError, Fi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/sensor.py
homeassistant/components/firefly_iii/sensor.py
"""Sensor platform for Firefly III integration.""" from __future__ import annotations from pyfirefly.models import Account, Budget, Category from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, StateType, ) from homeassistant.const import EntityCategory fro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/__init__.py
homeassistant/components/firefly_iii/__init__.py
"""The Firefly III integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import FireflyConfigEntry, FireflyDataUpdateCoordinator _PLATFORMS: list[Platform] = [Platform.SENSOR] async def async_setup_entry(hass: Hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/entity.py
homeassistant/components/firefly_iii/entity.py
"""Base entity for Firefly III integration.""" from __future__ import annotations from pyfirefly.models import Account, Budget, Category from yarl import URL from homeassistant.const import CONF_URL from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/firefly_iii/config_flow.py
homeassistant/components/firefly_iii/config_flow.py
"""Config flow for the Firefly III integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pyfirefly import ( Firefly, FireflyAuthenticationError, FireflyConnectionError, FireflyTimeoutError, ) import voluptuous as vol from ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/media_player.py
homeassistant/components/onkyo/media_player.py
"""Media player platform.""" from __future__ import annotations import asyncio import logging from typing import Any from aioonkyo import Code, Kind, Status, Zone, command, query, status from homeassistant.components.media_player import ( MediaPlayerEntity, MediaPlayerEntityFeature, MediaPlayerState, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/receiver.py
homeassistant/components/onkyo/receiver.py
"""Onkyo receiver.""" from __future__ import annotations import asyncio from collections.abc import Awaitable, Callable, Iterable import contextlib from dataclasses import dataclass, field import logging from typing import TYPE_CHECKING import aioonkyo from aioonkyo import Instruction, Receiver, ReceiverInfo, Status...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/util.py
homeassistant/components/onkyo/util.py
"""Utils for Onkyo.""" from .const import InputSource, ListeningMode def get_meaning(param: InputSource | ListeningMode) -> str: """Get param meaning.""" return " ··· ".join(param.meanings)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/services.py
homeassistant/components/onkyo/services.py
"""Onkyo services.""" from __future__ import annotations from typing import TYPE_CHECKING from aioonkyo import Zone import voluptuous as vol from homeassistant.components.media_player import DOMAIN as MEDIA_PLAYER_DOMAIN from homeassistant.const import ATTR_ENTITY_ID from homeassistant.core import HomeAssistant, Se...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/const.py
homeassistant/components/onkyo/const.py
"""Constants for the Onkyo integration.""" import typing from typing import Literal from aioonkyo import HDMIOutputParam, InputSourceParam, ListeningModeParam, Zone DOMAIN = "onkyo" DEVICE_INTERVIEW_TIMEOUT = 5 DEVICE_DISCOVERY_TIMEOUT = 5 type VolumeResolution = Literal[50, 80, 100, 200] OPTION_VOLUME_RESOLUTION ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/__init__.py
homeassistant/components/onkyo/__init__.py
"""The onkyo component.""" from dataclasses import dataclass import logging from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import c...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/onkyo/config_flow.py
homeassistant/components/onkyo/config_flow.py
"""Config flow for Onkyo.""" from collections.abc import Mapping import logging from typing import Any from aioonkyo import ReceiverInfo import voluptuous as vol from yarl import URL from homeassistant.config_entries import ( SOURCE_RECONFIGURE, ConfigFlow, ConfigFlowResult, OptionsFlowWithReload, ) ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airvisual/diagnostics.py
homeassistant/components/airvisual/diagnostics.py
"""Diagnostics support for AirVisual.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import ( CONF_API_KEY, CONF_COUNTRY, CONF_LATITUDE, CONF_LONGITUDE, CONF_STATE, CONF_UNIQUE_ID, ) from...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airvisual/const.py
homeassistant/components/airvisual/const.py
"""Define AirVisual constants.""" import logging DOMAIN = "airvisual" LOGGER = logging.getLogger(__package__) INTEGRATION_TYPE_GEOGRAPHY_COORDS = "Geographical Location by Latitude/Longitude" INTEGRATION_TYPE_GEOGRAPHY_NAME = "Geographical Location by Name" INTEGRATION_TYPE_NODE_PRO = "AirVisual Node/Pro" CONF_CITY...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airvisual/sensor.py
homeassistant/components/airvisual/sensor.py
"""Support for AirVisual air quality sensors.""" from __future__ import annotations from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airvisual/__init__.py
homeassistant/components/airvisual/__init__.py
"""The AirVisual component.""" from __future__ import annotations from collections.abc import Mapping from datetime import timedelta from math import ceil from typing import Any from pyairvisual.cloud_api import ( CloudAPI, InvalidKeyError, KeyExpiredError, UnauthorizedError, ) from pyairvisual.error...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airvisual/entity.py
homeassistant/components/airvisual/entity.py
"""The AirVisual component.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import callback from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import ( CoordinatorEntity, DataUpdateCoordina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airvisual/config_flow.py
homeassistant/components/airvisual/config_flow.py
"""Define a config flow manager for AirVisual.""" from __future__ import annotations import asyncio from collections.abc import Mapping from typing import Any from pyairvisual.cloud_api import ( CloudAPI, InvalidKeyError, KeyExpiredError, NotFoundError, UnauthorizedError, ) from pyairvisual.error...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aftership/const.py
homeassistant/components/aftership/const.py
"""Constants for the Aftership integration.""" from __future__ import annotations from datetime import timedelta from typing import Final import voluptuous as vol from homeassistant.helpers import config_validation as cv DOMAIN: Final = "aftership" ATTRIBUTION: Final = "Information provided by AfterShip" ATTR_TRA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aftership/sensor.py
homeassistant/components/aftership/sensor.py
"""Support for non-delivered packages recorded in AfterShip.""" from __future__ import annotations import logging from typing import Any, Final from pyaftership import AfterShip, AfterShipException from homeassistant.components.sensor import SensorEntity from homeassistant.core import HomeAssistant, ServiceCall fro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aftership/__init__.py
homeassistant/components/aftership/__init__.py
"""The AfterShip integration.""" from __future__ import annotations from pyaftership import AfterShip, AfterShipException from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import Confi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aftership/config_flow.py
homeassistant/components/aftership/config_flow.py
"""Config flow for AfterShip integration.""" from __future__ import annotations import logging from typing import Any from pyaftership import AfterShip, AfterShipException import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_API_KEY from...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/event.py
homeassistant/components/ring/event.py
"""Component providing support for ring events.""" from dataclasses import dataclass from typing import Generic from ring_doorbell import RingCapability, RingEvent as RingAlert from ring_doorbell.const import KIND_DING, KIND_INTERCOM_UNLOCK, KIND_MOTION from homeassistant.components.event import ( EventDeviceCla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/diagnostics.py
homeassistant/components/ring/diagnostics.py
"""Diagnostics support for Ring.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from . import RingConfigEntry TO_REDACT = { "id", "device_id", "description", "first_name", ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/switch.py
homeassistant/components/ring/switch.py
"""Component providing HA switch support for Ring Door Bell/Chimes.""" from collections.abc import Callable, Coroutine, Sequence from dataclasses import dataclass import logging from typing import Any, Generic, Self, cast from ring_doorbell import RingCapability, RingDoorBell, RingStickUpCam from ring_doorbell.const ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/number.py
homeassistant/components/ring/number.py
"""Component providing HA number support for Ring Door Bell/Chimes.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any, Generic, cast from ring_doorbell import RingChime, RingDoorBell, RingGeneric, RingOther import ring_doorbell.const from homeassistant.compon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/binary_sensor.py
homeassistant/components/ring/binary_sensor.py
"""Component providing HA sensor support for Ring Door Bell/Chimes.""" from __future__ import annotations from collections.abc import Mapping from dataclasses import dataclass from datetime import datetime from typing import Any, Generic from ring_doorbell import RingCapability, RingEvent from ring_doorbell.const im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/camera.py
homeassistant/components/ring/camera.py
"""Component providing support to the Ring Door Bell camera.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import timedelta import logging from typing import TYPE_CHECKING, Any, Generic from aiohttp import web from haffmpeg.camera import Ca...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/const.py
homeassistant/components/ring/const.py
"""The Ring constants.""" from __future__ import annotations from datetime import timedelta from typing import Final from homeassistant.const import Platform ATTRIBUTION = "Data provided by Ring.com" NOTIFICATION_ID = "ring_notification" NOTIFICATION_TITLE = "Ring Setup" DOMAIN = "ring" DEFAULT_ENTITY_NAMESPACE =...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/coordinator.py
homeassistant/components/ring/coordinator.py
"""Data coordinators for the ring integration.""" from __future__ import annotations from asyncio import TaskGroup from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any from ring_doorbell import ( AuthenticationError, Ring, RingDevices, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/siren.py
homeassistant/components/ring/siren.py
"""Component providing HA Siren support for Ring Chimes.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any, Generic, cast from ring_doorbell import ( RingCapability, RingChime, RingEventKind, RingGeneric, RingStickUpCam, ) f...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/sensor.py
homeassistant/components/ring/sensor.py
"""Component providing HA sensor support for Ring Door Bell/Chimes.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any, Generic, cast from ring_doorbell import ( RingCapability, RingChime, RingDoorBell, RingEventKind, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/__init__.py
homeassistant/components/ring/__init__.py
"""Support for Ring Doorbell/Chimes.""" from __future__ import annotations import logging from typing import Any, cast import uuid from ring_doorbell import Auth, Ring from homeassistant.components.camera import DOMAIN as CAMERA_DOMAIN from homeassistant.const import APPLICATION_NAME, CONF_DEVICE_ID, CONF_TOKEN fro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false