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/starline/account.py
homeassistant/components/starline/account.py
"""StarLine Account.""" from __future__ import annotations from collections.abc import Callable from datetime import datetime, timedelta from typing import Any from starline import StarlineApi, StarlineDevice from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback...
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/starline/binary_sensor.py
homeassistant/components/starline/binary_sensor.py
"""Reads vehicle status from StarLine API.""" from __future__ import annotations from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import EntityCat...
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/starline/lock.py
homeassistant/components/starline/lock.py
"""Support for StarLine lock.""" from __future__ import annotations from typing import Any from homeassistant.components.lock import LockEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCal...
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/starline/const.py
homeassistant/components/starline/const.py
"""StarLine constants.""" import logging from homeassistant.const import Platform _LOGGER = logging.getLogger(__package__) DOMAIN = "starline" PLATFORMS = [ Platform.BINARY_SENSOR, Platform.BUTTON, Platform.DEVICE_TRACKER, Platform.LOCK, Platform.SENSOR, Platform.SWITCH, ] CONF_APP_ID = "ap...
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/starline/sensor.py
homeassistant/components/starline/sensor.py
"""Reads vehicle status from StarLine API.""" from __future__ import annotations from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( PERCEN...
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/starline/__init__.py
homeassistant/components/starline/__init__.py
"""The StarLine component.""" from __future__ import annotations import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_SCAN_INTERVAL from homeassistant.core import HomeAssistant, ServiceCall from homeassistant.exceptions import ConfigEntryNotReady 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/starline/entity.py
homeassistant/components/starline/entity.py
"""StarLine base entity.""" from __future__ import annotations from homeassistant.helpers.entity import Entity from .account import StarlineAccount, StarlineDevice class StarlineEntity(Entity): """StarLine base entity class.""" _attr_should_poll = False _attr_has_entity_name = True def __init__( ...
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/starline/button.py
homeassistant/components/starline/button.py
"""Support for StarLine button.""" from __future__ import annotations from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEnti...
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/starline/config_flow.py
homeassistant/components/starline/config_flow.py
"""Config flow to configure StarLine component.""" from __future__ import annotations from starline import StarlineAuth import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from homeassistant.core import callback ...
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/backblaze_b2/b2_client.py
homeassistant/components/backblaze_b2/b2_client.py
"""Backblaze B2 client with extended timeouts. The b2sdk library uses class-level timeout attributes. To avoid modifying global library state, we subclass the relevant classes to provide extended timeouts suitable for backup operations involving large files. """ from b2sdk.v2 import B2Api as BaseB2Api, InMemoryAccoun...
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/backblaze_b2/diagnostics.py
homeassistant/components/backblaze_b2/diagnostics.py
"""Diagnostics support for Backblaze B2.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from . import BackblazeConfigEntry from .const import CONF_APPLICATION_KEY, CONF_KEY_ID TO_REDACT_ENT...
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/backblaze_b2/repairs.py
homeassistant/components/backblaze_b2/repairs.py
"""Repair issues for the Backblaze B2 integration.""" from __future__ import annotations import logging from b2sdk.v2.exception import ( B2Error, NonExistentBucket, RestrictedBucket, Unauthorized, ) from homeassistant.components.repairs import ConfirmRepairFlow from homeassistant.config_entries impo...
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/backblaze_b2/const.py
homeassistant/components/backblaze_b2/const.py
"""Constants for the Backblaze B2 integration.""" from collections.abc import Callable from typing import Final from homeassistant.util.hass_dict import HassKey DOMAIN: Final = "backblaze_b2" CONF_KEY_ID = "key_id" CONF_APPLICATION_KEY = "application_key" CONF_BUCKET = "bucket" CONF_PREFIX = "prefix" DATA_BACKUP_A...
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/backblaze_b2/__init__.py
homeassistant/components/backblaze_b2/__init__.py
"""The Backblaze B2 integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from b2sdk.v2 import Bucket, exception from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/backblaze_b2/backup.py
homeassistant/components/backblaze_b2/backup.py
"""Backup platform for the Backblaze B2 integration.""" import asyncio from collections.abc import AsyncIterator, Callable, Coroutine import functools import json import logging import mimetypes from time import time from typing import Any from b2sdk.v2 import FileVersion from b2sdk.v2.exception import B2Error 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/backblaze_b2/config_flow.py
homeassistant/components/backblaze_b2/config_flow.py
"""Config flow for the Backblaze B2 integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from b2sdk.v2 import exception import voluptuous as vol from homeassistant.config_entries import ConfigEntry, ConfigFlow, ConfigFlowResult 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/volkszaehler/sensor.py
homeassistant/components/volkszaehler/sensor.py
"""Support for consuming values for the Volkszaehler API.""" from __future__ import annotations from datetime import timedelta import logging from volkszaehler import Volkszaehler from volkszaehler.exceptions import VolkszaehlerApiConnectionError import voluptuous as vol from homeassistant.components.sensor 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/volkszaehler/__init__.py
homeassistant/components/volkszaehler/__init__.py
"""The volkszaehler 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/aurora_abb_powerone/const.py
homeassistant/components/aurora_abb_powerone/const.py
"""Constants for the Aurora ABB PowerOne integration.""" from datetime import timedelta DOMAIN = "aurora_abb_powerone" # Min max addresses and default according to here: # https://library.e.abb.com/public/e57212c407344a16b4644cee73492b39/PVI-3.0_3.6_4.2-TL-OUTD-Product%20manual%20EN-RevB(M000016BG).pdf MIN_ADDRESS ...
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/aurora_abb_powerone/coordinator.py
homeassistant/components/aurora_abb_powerone/coordinator.py
"""DataUpdateCoordinator for the aurora_abb_powerone integration.""" import logging from time import sleep from aurorapy.client import AuroraError, AuroraSerialClient, AuroraTimeoutError from serial import SerialException from homeassistant.config_entries import ConfigEntry 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/aurora_abb_powerone/sensor.py
homeassistant/components/aurora_abb_powerone/sensor.py
"""Support for Aurora ABB PowerOne Solar Photovoltaic (PV) inverter.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from aurorapy.mapping import Mapping as AuroraMapping from homeassistant.components.sensor import ( SensorDeviceClass, SensorEn...
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/aurora_abb_powerone/__init__.py
homeassistant/components/aurora_abb_powerone/__init__.py
"""The Aurora ABB Powerone PV inverter sensor integration.""" # Reference info: # https://s1.solacity.com/docs/PVI-3.0-3.6-4.2-OUTD-US%20Manual.pdf # http://www.drhack.it/images/PDF/AuroraCommunicationProtocol_4_2.pdf # # Developer note: # vscode devcontainer: use the following to access USB device: # "runArgs": ["-e"...
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/aurora_abb_powerone/config_flow.py
homeassistant/components/aurora_abb_powerone/config_flow.py
"""Config flow for Aurora ABB PowerOne integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import TYPE_CHECKING, Any from aurorapy.client import AuroraError, AuroraSerialClient import serial.tools.list_ports import voluptuous as vol from homeassistant.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/google_wifi/sensor.py
homeassistant/components/google_wifi/sensor.py
"""Support for retrieving status info from Google Wifi/OnHub routers.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta import logging import requests import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SC...
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_wifi/__init__.py
homeassistant/components/google_wifi/__init__.py
"""The google_wifi 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/tplink_omada/controller.py
homeassistant/components/tplink_omada/controller.py
"""Controller for sharing Omada API coordinators between platforms.""" from __future__ import annotations from collections.abc import Awaitable, Callable from typing import TYPE_CHECKING from tplink_omada_client import OmadaSiteClient from tplink_omada_client.devices import OmadaListDevice, OmadaSwitch 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/tplink_omada/device_tracker.py
homeassistant/components/tplink_omada/device_tracker.py
"""Connected Wi-Fi device scanners for TP-Link Omada access points.""" import logging from tplink_omada_client.clients import OmadaWirelessClient from homeassistant.components.device_tracker import ScannerEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_platform 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/tplink_omada/services.py
homeassistant/components/tplink_omada/services.py
"""Services for the TP-Link Omada integration.""" from typing import cast from tplink_omada_client.exceptions import OmadaClientException import voluptuous as vol from homeassistant.config_entries import ConfigEntry, ConfigEntryState from homeassistant.core import HomeAssistant, ServiceCall, callback from homeassist...
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/tplink_omada/switch.py
homeassistant/components/tplink_omada/switch.py
"""Support for TPLink Omada device toggle options.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from functools import partial from typing import Any, Generic, TypeVar from tplink_omada_client import ( GatewayPortSettings, OmadaSiteCli...
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/tplink_omada/binary_sensor.py
homeassistant/components/tplink_omada/binary_sensor.py
"""Support for TPLink Omada binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import TYPE_CHECKING from tplink_omada_client.definitions import ( DeviceStatusCategory, GatewayPortMode, LinkStatus, PoEMode, ) from tp...
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/tplink_omada/const.py
homeassistant/components/tplink_omada/const.py
"""Constants for the TP-Link Omada integration.""" from enum import StrEnum DOMAIN = "tplink_omada" class OmadaDeviceStatus(StrEnum): """Possible composite status values for Omada devices.""" DISCONNECTED = "disconnected" CONNECTED = "connected" PENDING = "pending" HEARTBEAT_MISSED = "heartbeat...
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/tplink_omada/coordinator.py
homeassistant/components/tplink_omada/coordinator.py
"""Generic Omada API coordinator.""" from __future__ import annotations import asyncio from datetime import timedelta import logging from typing import TYPE_CHECKING, NamedTuple from tplink_omada_client import OmadaSiteClient, OmadaSwitchPortDetails from tplink_omada_client.clients import OmadaWirelessClient from tp...
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/tplink_omada/update.py
homeassistant/components/tplink_omada/update.py
"""Support for TPLink Omada device firmware updates.""" from __future__ import annotations from typing import Any from tplink_omada_client.devices import OmadaListDevice from tplink_omada_client.exceptions import OmadaClientException, RequestFailed from homeassistant.components.update import ( UpdateDeviceClass...
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/tplink_omada/sensor.py
homeassistant/components/tplink_omada/sensor.py
"""Support for TPLink Omada binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from tplink_omada_client.definitions import DeviceStatus, DeviceStatusCategory from tplink_omada_client.devices import OmadaListDevice from homeassistant.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/tplink_omada/__init__.py
homeassistant/components/tplink_omada/__init__.py
"""The TP-Link Omada integration.""" from __future__ import annotations from tplink_omada_client import OmadaSite from tplink_omada_client.devices import OmadaListDevice from tplink_omada_client.exceptions import ( ConnectionFailed, LoginFailed, OmadaClientException, UnsupportedControllerVersion, ) 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/tplink_omada/entity.py
homeassistant/components/tplink_omada/entity.py
"""Base entity definitions.""" from typing import Any from tplink_omada_client.devices import OmadaDevice from homeassistant.helpers import device_registry as dr from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import OmadaCoordinator class OmadaDe...
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/tplink_omada/config_flow.py
homeassistant/components/tplink_omada/config_flow.py
"""Config flow for TP-Link Omada integration.""" from __future__ import annotations from collections.abc import Mapping import logging import re from typing import Any, NamedTuple from urllib.parse import urlsplit from aiohttp import CookieJar from tplink_omada_client import OmadaClient, OmadaSite from tplink_omada_...
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/universal/media_player.py
homeassistant/components/universal/media_player.py
"""Combination of multiple media players for a universal controller.""" from __future__ import annotations from copy import copy from typing import Any import voluptuous as vol from homeassistant.components.media_player import ( ATTR_APP_ID, ATTR_APP_NAME, ATTR_INPUT_SOURCE, ATTR_INPUT_SOURCE_LIST, ...
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/universal/__init__.py
homeassistant/components/universal/__init__.py
"""The universal 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/keenetic_ndms2/router.py
homeassistant/components/keenetic_ndms2/router.py
"""The Keenetic Client class.""" from __future__ import annotations from collections.abc import Callable from datetime import timedelta import logging from ndms2_client import Client, ConnectionException, Device, TelnetConnection from ndms2_client.client import RouterInfo from homeassistant.config_entries 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/keenetic_ndms2/device_tracker.py
homeassistant/components/keenetic_ndms2/device_tracker.py
"""Support for Keenetic routers as device tracker.""" from __future__ import annotations import logging from ndms2_client import Device from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, ScannerEntity, ) from homeassistant.core import HomeAssistant, callback from homeassi...
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/keenetic_ndms2/binary_sensor.py
homeassistant/components/keenetic_ndms2/binary_sensor.py
"""The Keenetic Client class.""" from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity_platform import AddConfigEntr...
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/keenetic_ndms2/const.py
homeassistant/components/keenetic_ndms2/const.py
"""Constants used in the Keenetic NDMS2 components.""" from homeassistant.components.device_tracker import ( DEFAULT_CONSIDER_HOME as _DEFAULT_CONSIDER_HOME, ) DOMAIN = "keenetic_ndms2" DEFAULT_TELNET_PORT = 23 DEFAULT_SCAN_INTERVAL = 120 DEFAULT_CONSIDER_HOME = _DEFAULT_CONSIDER_HOME.total_seconds() DEFAULT_INTE...
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/keenetic_ndms2/__init__.py
homeassistant/components/keenetic_ndms2/__init__.py
"""The keenetic_ndms2 component.""" from __future__ import annotations import logging from homeassistant.const import CONF_HOST, CONF_SCAN_INTERVAL, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr, entity_registry as er from .const import ( CONF_CONS...
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/keenetic_ndms2/config_flow.py
homeassistant/components/keenetic_ndms2/config_flow.py
"""Config flow for Keenetic NDMS2.""" from __future__ import annotations from typing import Any, cast from urllib.parse import urlparse from ndms2_client import Client, ConnectionException, InterfaceInfo, TelnetConnection import voluptuous as vol from homeassistant.config_entries import ( SOURCE_RECONFIGURE, ...
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/homeassistant_connect_zbt2/util.py
homeassistant/components/homeassistant_connect_zbt2/util.py
"""Utility functions for Home Assistant Connect ZBT-2 integration.""" from __future__ import annotations import logging from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.service_info.usb import UsbServiceInfo _LOGGER = logging.getLogger(__name__) def get_usb_service_info(config_entry...
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/homeassistant_connect_zbt2/switch.py
homeassistant/components/homeassistant_connect_zbt2/switch.py
"""Home Assistant Connect ZBT-2 switch entities.""" from __future__ import annotations import logging from homeassistant.components.homeassistant_hardware.coordinator import ( FirmwareUpdateCoordinator, ) from homeassistant.components.homeassistant_hardware.switch import ( BaseBetaFirmwareSwitch, ) from 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/homeassistant_connect_zbt2/const.py
homeassistant/components/homeassistant_connect_zbt2/const.py
"""Constants for the Home Assistant Connect ZBT-2 integration.""" DOMAIN = "homeassistant_connect_zbt2" NABU_CASA_FIRMWARE_RELEASES_URL = ( "https://api.github.com/repos/NabuCasa/silabs-firmware-builder/releases" ) FIRMWARE = "firmware" FIRMWARE_VERSION = "firmware_version" SERIAL_NUMBER = "serial_number" MANUFA...
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/homeassistant_connect_zbt2/update.py
homeassistant/components/homeassistant_connect_zbt2/update.py
"""Home Assistant Connect ZBT-2 firmware update entity.""" from __future__ import annotations import logging from homeassistant.components.homeassistant_hardware.coordinator import ( FirmwareUpdateCoordinator, ) from homeassistant.components.homeassistant_hardware.update import ( BaseFirmwareUpdateEntity, ...
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/homeassistant_connect_zbt2/hardware.py
homeassistant/components/homeassistant_connect_zbt2/hardware.py
"""The Home Assistant Connect ZBT-2 hardware platform.""" from __future__ import annotations from homeassistant.components.hardware import HardwareInfo, USBInfo from homeassistant.core import HomeAssistant, callback from .config_flow import HomeAssistantConnectZBT2ConfigFlow from .const import DOMAIN, HARDWARE_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/homeassistant_connect_zbt2/__init__.py
homeassistant/components/homeassistant_connect_zbt2/__init__.py
"""The Home Assistant Connect ZBT-2 integration.""" from __future__ import annotations from dataclasses import dataclass import logging import os.path from homeassistant.components.homeassistant_hardware.coordinator import ( FirmwareUpdateCoordinator, ) from homeassistant.components.usb import USBDevice, async_r...
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/homeassistant_connect_zbt2/config_flow.py
homeassistant/components/homeassistant_connect_zbt2/config_flow.py
"""Config flow for the Home Assistant Connect ZBT-2 integration.""" from __future__ import annotations import logging from typing import TYPE_CHECKING, Any, Protocol from homeassistant.components import usb from homeassistant.components.homeassistant_hardware import firmware_config_flow from homeassistant.components...
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/thomson/device_tracker.py
homeassistant/components/thomson/device_tracker.py
"""Support for THOMSON routers.""" from __future__ import annotations import logging import re import telnetlib # pylint: disable=deprecated-module import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, PLATFORM_SCHEMA as DEVICE_TRACKER_PLATFORM_SCHE...
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/thomson/__init__.py
homeassistant/components/thomson/__init__.py
"""The thomson 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/ddwrt/device_tracker.py
homeassistant/components/ddwrt/device_tracker.py
"""Support for DD-WRT routers.""" from __future__ import annotations from http import HTTPStatus import logging import re import requests import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, PLATFORM_SCHEMA as DEVICE_TRACKER_PLATFORM_SCHEMA, Dev...
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/ddwrt/__init__.py
homeassistant/components/ddwrt/__init__.py
"""The ddwrt 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/plum_lightpad/__init__.py
homeassistant/components/plum_lightpad/__init__.py
"""Support for Plum Lightpad devices.""" from homeassistant.config_entries import ConfigEntry, ConfigEntryState from homeassistant.core import HomeAssistant from homeassistant.helpers import issue_registry as ir DOMAIN = "plum_lightpad" async def async_setup_entry(hass: HomeAssistant, _: ConfigEntry) -> bool: "...
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/plum_lightpad/config_flow.py
homeassistant/components/plum_lightpad/config_flow.py
"""Config flow for Plum Lightpad.""" from __future__ import annotations from homeassistant.config_entries import ConfigFlow from . import DOMAIN class PlumLightpadConfigFlow(ConfigFlow, domain=DOMAIN): """Config flow for Plum Lightpad integration.""" VERSION = 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/ipp/diagnostics.py
homeassistant/components/ipp/diagnostics.py
"""Diagnostics support for Internet Printing Protocol (IPP).""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import IPPConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, config_entry: IPPConfigEntry ) -> di...
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/ipp/const.py
homeassistant/components/ipp/const.py
"""Constants for the IPP integration.""" # Integration domain DOMAIN = "ipp" # Attributes ATTR_COMMAND_SET = "command_set" ATTR_INFO = "info" ATTR_MARKER_TYPE = "marker_type" ATTR_MARKER_LOW_LEVEL = "marker_low_level" ATTR_MARKER_HIGH_LEVEL = "marker_high_level" ATTR_SERIAL = "serial" ATTR_STATE_MESSAGE = "state_mess...
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/ipp/coordinator.py
homeassistant/components/ipp/coordinator.py
"""Coordinator for The Internet Printing Protocol (IPP) integration.""" from __future__ import annotations from datetime import timedelta import logging from pyipp import IPP, IPPError, Printer as IPPPrinter from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT, 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/ipp/sensor.py
homeassistant/components/ipp/sensor.py
"""Support for IPP sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typing import Any from pyipp import Marker, Printer from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, S...
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/ipp/__init__.py
homeassistant/components/ipp/__init__.py
"""The Internet Printing Protocol (IPP) integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import IPPConfigEntry, IPPDataUpdateCoordinator PLATFORMS = [Platform.SENSOR] async def async_setup_entry(hass: 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/ipp/entity.py
homeassistant/components/ipp/entity.py
"""Entities for The Internet Printing Protocol (IPP) integration.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOM...
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/ipp/config_flow.py
homeassistant/components/ipp/config_flow.py
"""Config flow to configure the IPP integration.""" from __future__ import annotations import logging from typing import Any from pyipp import ( IPP, IPPConnectionError, IPPConnectionUpgradeRequired, IPPError, IPPParseError, IPPResponseError, IPPVersionNotSupportedError, ) import voluptuo...
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/shell_command/__init__.py
homeassistant/components/shell_command/__init__.py
"""Expose regular shell commands as services.""" from __future__ import annotations import asyncio from contextlib import suppress import logging import shlex import voluptuous as vol from homeassistant.core import ( HomeAssistant, ServiceCall, ServiceResponse, SupportsResponse, ) 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/local_ip/const.py
homeassistant/components/local_ip/const.py
"""Local IP constants.""" from homeassistant.const import Platform DOMAIN = "local_ip" PLATFORMS = [Platform.SENSOR] SENSOR = "address"
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/local_ip/sensor.py
homeassistant/components/local_ip/sensor.py
"""Sensor platform for local_ip.""" from homeassistant.components.network import async_get_source_ip from homeassistant.components.sensor import SensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_NAME from homeassistant.core import HomeAssistant from homeassistant.he...
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/local_ip/__init__.py
homeassistant/components/local_ip/__init__.py
"""Get the local IP address of the Home Assistant instance.""" from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import PLATFORMS async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Set up local_ip from a config entry.""" ...
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/local_ip/config_flow.py
homeassistant/components/local_ip/config_flow.py
"""Config flow for local_ip.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class SimpleConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for local_ip.""" async def async_step_user( ...
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/date/const.py
homeassistant/components/date/const.py
"""Provides the constants needed for the component.""" DOMAIN = "date" SERVICE_SET_VALUE = "set_value"
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/date/__init__.py
homeassistant/components/date/__init__.py
"""Component to allow setting date as platforms.""" from __future__ import annotations from datetime import date, timedelta import logging from typing import final from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const 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/luci/device_tracker.py
homeassistant/components/luci/device_tracker.py
"""Support for OpenWRT (luci) routers.""" from __future__ import annotations import logging from openwrt_luci_rpc import OpenWrtRpc import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, PLATFORM_SCHEMA as DEVICE_TRACKER_PLATFORM_SCHEMA, DeviceSca...
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/luci/__init__.py
homeassistant/components/luci/__init__.py
"""The luci 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/epic_games_store/helper.py
homeassistant/components/epic_games_store/helper.py
"""Helper for Epic Games Store.""" import contextlib from typing import Any from homeassistant.util import dt as dt_util def format_game_data(raw_game_data: dict[str, Any], language: str) -> dict[str, Any]: """Format raw API game data for Home Assistant users.""" img_portrait = None img_landscape = None...
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/epic_games_store/const.py
homeassistant/components/epic_games_store/const.py
"""Constants for the Epic Games Store integration.""" from enum import StrEnum DOMAIN = "epic_games_store" SUPPORTED_LANGUAGES = [ "ar", "de", "en-US", "es-ES", "es-MX", "fr", "it", "ja", "ko", "pl", "pt-BR", "ru", "th", "tr", "zh-CN", "zh-Hant", ] cl...
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/epic_games_store/coordinator.py
homeassistant/components/epic_games_store/coordinator.py
"""The Epic Games Store integration data coordinator.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from epicstore_api import EpicGamesStoreAPI from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_COUNTRY, CONF_LANGUAG...
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/epic_games_store/__init__.py
homeassistant/components/epic_games_store/__init__.py
"""The Epic Games Store integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import EGSCalendarUpdateCoordinator, EGSConfigEntry PLATFORMS: list[Platform] = [ Platform.CALENDAR, ] async def async_setup_entry(...
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/epic_games_store/calendar.py
homeassistant/components/epic_games_store/calendar.py
"""Calendar platform for a Epic Games Store.""" from __future__ import annotations from collections import namedtuple from datetime import datetime from typing import Any from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.core import HomeAssistant from homeassistant.helper...
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/epic_games_store/config_flow.py
homeassistant/components/epic_games_store/config_flow.py
"""Config flow for Epic Games Store integration.""" from __future__ import annotations import logging from typing import Any from epicstore_api import EpicGamesStoreAPI import voluptuous as vol from homeassistant import config_entries from homeassistant.config_entries import ConfigFlowResult from homeassistant.cons...
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/esphome/media_player.py
homeassistant/components/esphome/media_player.py
"""Support for ESPHome media players.""" from __future__ import annotations from functools import partial import logging from typing import Any, cast from urllib.parse import urlparse from aioesphomeapi import ( EntityInfo, MediaPlayerCommand, MediaPlayerEntityFeature as EspMediaPlayerEntityFeature, ...
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/esphome/assist_satellite.py
homeassistant/components/esphome/assist_satellite.py
"""Support for assist satellites in ESPHome.""" from __future__ import annotations import asyncio from collections.abc import AsyncIterable from functools import partial import hashlib import io from itertools import chain import json import logging from pathlib import Path import socket from typing import Any, cast ...
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/esphome/event.py
homeassistant/components/esphome/event.py
"""Support for ESPHome event components.""" from __future__ import annotations from functools import partial from aioesphomeapi import EntityInfo, Event, EventInfo from homeassistant.components.event import EventDeviceClass, EventEntity from homeassistant.core import callback from homeassistant.util.enum import try...
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/esphome/diagnostics.py
homeassistant/components/esphome/diagnostics.py
"""Diagnostics support for ESPHome.""" from __future__ import annotations from typing import Any from homeassistant.components.bluetooth import async_scanner_by_source from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_PASSWORD from homeassistant.core import HomeA...
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/esphome/repairs.py
homeassistant/components/esphome/repairs.py
"""Repairs implementation for the esphome integration.""" from __future__ import annotations from typing import cast import voluptuous as vol from homeassistant import data_entry_flow from homeassistant.components.repairs import RepairsFlow from homeassistant.core import HomeAssistant from .manager import async_re...
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/esphome/dashboard.py
homeassistant/components/esphome/dashboard.py
"""Files to interact with an ESPHome dashboard.""" from __future__ import annotations import asyncio import logging from typing import Any from homeassistant.config_entries import SOURCE_REAUTH from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.core import CALLBACK_TYPE, Event, 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/esphome/datetime.py
homeassistant/components/esphome/datetime.py
"""Support for esphome datetimes.""" from __future__ import annotations from datetime import datetime from functools import partial from aioesphomeapi import DateTimeInfo, DateTimeState from homeassistant.components.datetime import DateTimeEntity from homeassistant.util import dt as dt_util from .entity import Esp...
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/esphome/domain_data.py
homeassistant/components/esphome/domain_data.py
"""Support for esphome domain data.""" from __future__ import annotations from dataclasses import dataclass, field from functools import cache from typing import Self from homeassistant.core import HomeAssistant from homeassistant.helpers.json import JSONEncoder from .const import DOMAIN from .entry_data import ESP...
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/esphome/cover.py
homeassistant/components/esphome/cover.py
"""Support for ESPHome covers.""" from __future__ import annotations from functools import partial from typing import Any from aioesphomeapi import APIVersion, CoverInfo, CoverOperation, CoverState, EntityInfo from homeassistant.components.cover import ( ATTR_POSITION, ATTR_TILT_POSITION, CoverDeviceCla...
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/esphome/valve.py
homeassistant/components/esphome/valve.py
"""Support for ESPHome valves.""" from __future__ import annotations from functools import partial from typing import Any from aioesphomeapi import EntityInfo, ValveInfo, ValveOperation, ValveState from homeassistant.components.valve import ( ValveDeviceClass, ValveEntity, ValveEntityFeature, ) 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/esphome/switch.py
homeassistant/components/esphome/switch.py
"""Support for ESPHome switches.""" from __future__ import annotations from functools import partial from typing import Any from aioesphomeapi import EntityInfo, SwitchInfo, SwitchState from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity from homeassistant.core import callback from homeassis...
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/esphome/number.py
homeassistant/components/esphome/number.py
"""Support for esphome numbers.""" from __future__ import annotations from functools import partial from aioesphomeapi import ( EntityInfo, NumberInfo, NumberMode as EsphomeNumberMode, NumberState, ) from homeassistant.components.number import NumberDeviceClass, NumberEntity, NumberMode 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/esphome/websocket_api.py
homeassistant/components/esphome/websocket_api.py
"""ESPHome websocket API.""" import logging from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant, callback from .const import CONF_NOISE_PSK _LOGGER = logging.getLogger(__name__) TYPE = "type" ENTRY_ID = "entry_id" @call...
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/esphome/analytics.py
homeassistant/components/esphome/analytics.py
"""Analytics platform.""" from homeassistant.components.analytics import AnalyticsInput, AnalyticsModifications from homeassistant.core import HomeAssistant async def async_modify_analytics( hass: HomeAssistant, analytics_input: AnalyticsInput ) -> AnalyticsModifications: """Modify the analytics.""" retu...
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/esphome/encryption_key_storage.py
homeassistant/components/esphome/encryption_key_storage.py
"""Encryption key storage for ESPHome devices.""" from __future__ import annotations import logging from typing import TypedDict from homeassistant.core import HomeAssistant from homeassistant.helpers.json import JSONEncoder from homeassistant.helpers.singleton import singleton from homeassistant.helpers.storage imp...
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/esphome/binary_sensor.py
homeassistant/components/esphome/binary_sensor.py
"""Support for ESPHome binary sensors.""" from __future__ import annotations from functools import partial from aioesphomeapi import BinarySensorInfo, BinarySensorState, EntityInfo from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core imp...
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/esphome/lock.py
homeassistant/components/esphome/lock.py
"""Support for ESPHome locks.""" from __future__ import annotations from functools import partial from typing import Any from aioesphomeapi import EntityInfo, LockCommand, LockEntityState, LockInfo, LockState from homeassistant.components.lock import LockEntity, LockEntityFeature 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/esphome/camera.py
homeassistant/components/esphome/camera.py
"""Support for ESPHome cameras.""" from __future__ import annotations import asyncio from collections.abc import Callable from functools import partial from typing import Any from aioesphomeapi import CameraInfo, CameraState from aiohttp import web from homeassistant.components import camera from homeassistant.comp...
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/esphome/const.py
homeassistant/components/esphome/const.py
"""ESPHome constants.""" from typing import Final from awesomeversion import AwesomeVersion DOMAIN = "esphome" CONF_ALLOW_SERVICE_CALLS = "allow_service_calls" CONF_SUBSCRIBE_LOGS = "subscribe_logs" CONF_DEVICE_NAME = "device_name" CONF_NOISE_PSK = "noise_psk" CONF_BLUETOOTH_MAC_ADDRESS = "bluetooth_mac_address" D...
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/esphome/entry_data.py
homeassistant/components/esphome/entry_data.py
"""Runtime entry data for ESPHome stored in hass.data.""" from __future__ import annotations import asyncio from collections import defaultdict from collections.abc import Callable, Iterable from dataclasses import dataclass, field from functools import partial import logging from operator import delitem from typing ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false