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/auth/indieauth.py
homeassistant/components/auth/indieauth.py
"""Helpers to resolve client ID/secret.""" from __future__ import annotations from html.parser import HTMLParser from ipaddress import ip_address import logging from urllib.parse import ParseResult, urljoin, urlparse import aiohttp import aiohttp.client_exceptions from homeassistant.core import HomeAssistant from 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/auth/login_flow.py
homeassistant/components/auth/login_flow.py
"""HTTP views handle login flow. # GET /auth/providers Return a list of auth providers. Example: [ { "name": "Local", "id": null, "type": "local_provider", } ] # POST /auth/login_flow Create a login flow. Will return the first step of the flow. Pass in parameter 'client_id' and '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/auth/__init__.py
homeassistant/components/auth/__init__.py
"""Component to allow users to login and get tokens. # POST /auth/token This is an OAuth2 endpoint for granting tokens. We currently support the grant types "authorization_code" and "refresh_token". Because we follow the OAuth2 spec, data should be send in formatted as x-www-form-urlencoded. Examples will be in JSON ...
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/auth/mfa_setup_flow.py
homeassistant/components/auth/mfa_setup_flow.py
"""Helpers to setup multi-factor auth module.""" from __future__ import annotations import logging from typing import Any import voluptuous as vol import voluptuous_serialize from homeassistant import data_entry_flow from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant, 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/homeassistant_sky_connect/util.py
homeassistant/components/homeassistant_sky_connect/util.py
"""Utility functions for Home Assistant SkyConnect integration.""" from __future__ import annotations import logging from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.service_info.usb import UsbServiceInfo from .const import HardwareVariant _LOGGER = logging.getLogger(__name__) def ...
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_sky_connect/switch.py
homeassistant/components/homeassistant_sky_connect/switch.py
"""Home Assistant SkyConnect 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 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/homeassistant_sky_connect/const.py
homeassistant/components/homeassistant_sky_connect/const.py
"""Constants for the Home Assistant SkyConnect integration.""" import dataclasses import enum from typing import Self DOMAIN = "homeassistant_sky_connect" DOCS_WEB_FLASHER_URL = "https://skyconnect.home-assistant.io/firmware-update/" NABU_CASA_FIRMWARE_RELEASES_URL = ( "https://api.github.com/repos/NabuCasa/sila...
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_sky_connect/update.py
homeassistant/components/homeassistant_sky_connect/update.py
"""Home Assistant SkyConnect 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, 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/homeassistant_sky_connect/hardware.py
homeassistant/components/homeassistant_sky_connect/hardware.py
"""The Home Assistant SkyConnect hardware platform.""" from __future__ import annotations from homeassistant.components.hardware import HardwareInfo, USBInfo from homeassistant.core import HomeAssistant, callback from .config_flow import HomeAssistantSkyConnectConfigFlow from .const import DOMAIN from .util import g...
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_sky_connect/__init__.py
homeassistant/components/homeassistant_sky_connect/__init__.py
"""The Home Assistant SkyConnect 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.homeassistant_hardware.util 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/homeassistant_sky_connect/config_flow.py
homeassistant/components/homeassistant_sky_connect/config_flow.py
"""Config flow for the Home Assistant SkyConnect 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, silabs_multiprotocol_...
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/debugpy/__init__.py
homeassistant/components/debugpy/__init__.py
"""The Remote Python Debugger integration.""" from __future__ import annotations from asyncio import Event, get_running_loop import logging from threading import Thread import debugpy # noqa: T100 import voluptuous as vol from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.core import 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/wled/diagnostics.py
homeassistant/components/wled/diagnostics.py
"""Diagnostics support for WLED.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .coordinator import WLEDConfigEntry async def async_get_config_entry_diagnostics( hass: 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/wled/switch.py
homeassistant/components/wled/switch.py
"""Support for WLED switches.""" from __future__ import annotations from functools import partial from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_pla...
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/wled/number.py
homeassistant/components/wled/number.py
"""Support for LED numbers.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from functools import partial from wled import Segment from homeassistant.components.number import NumberEntity, NumberEntityDescription from homeassistant.const import EntityCate...
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/wled/analytics.py
homeassistant/components/wled/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/wled/const.py
homeassistant/components/wled/const.py
"""Constants for the WLED integration.""" from datetime import timedelta import logging from wled import LightCapability from homeassistant.components.light import ColorMode # Integration domain DOMAIN = "wled" LOGGER = logging.getLogger(__package__) SCAN_INTERVAL = timedelta(seconds=10) RELEASES_SCAN_INTERVAL = t...
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/wled/coordinator.py
homeassistant/components/wled/coordinator.py
"""DataUpdateCoordinator for WLED.""" from __future__ import annotations from typing import TYPE_CHECKING from wled import ( WLED, Device as WLEDDevice, Releases, WLEDConnectionClosedError, WLEDError, WLEDReleases, WLEDUnsupportedVersionError, ) from homeassistant.config_entries 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/wled/update.py
homeassistant/components/wled/update.py
"""Support for WLED updates.""" from __future__ import annotations from typing import Any, cast from homeassistant.components.update import ( UpdateDeviceClass, UpdateEntity, UpdateEntityFeature, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEnt...
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/wled/helpers.py
homeassistant/components/wled/helpers.py
"""Helpers for WLED.""" from __future__ import annotations from collections.abc import Callable, Coroutine from typing import Any, Concatenate from wled import WLEDConnectionError, WLEDError from homeassistant.exceptions import HomeAssistantError from .const import DOMAIN from .entity import WLEDEntity def wled_...
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/wled/sensor.py
homeassistant/components/wled/sensor.py
"""Support for WLED sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from wled import Device as WLEDDevice from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescrip...
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/wled/__init__.py
homeassistant/components/wled/__init__.py
"""Support for WLED.""" from __future__ import annotations import asyncio import logging from typing import TYPE_CHECKING from homeassistant.config_entries import SOURCE_IGNORE from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as...
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/wled/entity.py
homeassistant/components/wled/entity.py
"""Base entity for WLED.""" from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import WLEDDataUpdateCoordinator class WLEDEntity(CoordinatorEntity[WLEDDataUpdateCoordi...
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/wled/button.py
homeassistant/components/wled/button.py
"""Support for WLED button.""" from __future__ import annotations from homeassistant.components.button import ButtonDeviceClass, ButtonEntity from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback 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/wled/select.py
homeassistant/components/wled/select.py
"""Support for LED selects.""" from __future__ import annotations from functools import partial from wled import LiveDataOverride from homeassistant.components.select import SelectEntity from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant, callback from homeassistant.helpers....
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/wled/light.py
homeassistant/components/wled/light.py
"""Support for LED lights.""" from __future__ import annotations from functools import partial from typing import Any, cast from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ATTR_EFFECT, ATTR_RGB_COLOR, ATTR_RGBW_COLOR, ATTR_TRANSITION, ColorMode, L...
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/wled/config_flow.py
homeassistant/components/wled/config_flow.py
"""Config flow to configure the WLED integration.""" from __future__ import annotations from typing import Any import voluptuous as vol from wled import WLED, Device, WLEDConnectionError, WLEDUnsupportedVersionError import yarl from homeassistant.components import onboarding from homeassistant.config_entries 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/binary_sensor/device_trigger.py
homeassistant/components/binary_sensor/device_trigger.py
"""Provides device triggers for binary sensors.""" import voluptuous as vol from homeassistant.components.device_automation import ( CONF_TURNED_OFF, CONF_TURNED_ON, DEVICE_TRIGGER_BASE_SCHEMA, ) from homeassistant.components.homeassistant.triggers import state as state_trigger from homeassistant.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/binary_sensor/device_condition.py
homeassistant/components/binary_sensor/device_condition.py
"""Implement device conditions for binary sensor.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import CONF_IS_OFF, CONF_IS_ON from homeassistant.const import ( CONF_CONDITION, CONF_ENTITY_ID, CONF_FOR, CONF_STATE, CONF_TYPE, ) 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/binary_sensor/significant_change.py
homeassistant/components/binary_sensor/significant_change.py
"""Helper to test significant Binary Sensor state changes.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant, callback @callback def async_check_significant_change( hass: HomeAssistant, old_state: str, old_attrs: dict, new_state: str, new_...
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/binary_sensor/__init__.py
homeassistant/components/binary_sensor/__init__.py
"""Component to interface with binary sensors.""" from __future__ import annotations from datetime import timedelta from enum import StrEnum import logging from typing import Literal, final from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import ConfigEntry from 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/binary_sensor/trigger.py
homeassistant/components/binary_sensor/trigger.py
"""Provides triggers for binary sensors.""" from homeassistant.const import STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.entity import get_device_class from homeassistant.helpers.trigger import EntityTargetStateTrigg...
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/actron_air/switch.py
homeassistant/components/actron_air/switch.py
"""Switch platform for Actron Air integration.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const import EntityCategory from homeassistant.core import 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/actron_air/const.py
homeassistant/components/actron_air/const.py
"""Constants used by Actron Air integration.""" import logging _LOGGER = logging.getLogger(__package__) DOMAIN = "actron_air"
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/actron_air/coordinator.py
homeassistant/components/actron_air/coordinator.py
"""Coordinator for Actron Air integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta from actron_neo_api import ( ActronAirACSystem, ActronAirAPI, ActronAirAPIError, ActronAirAuthError, ActronAirStatus, ) from homeassistant.config_entr...
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/actron_air/__init__.py
homeassistant/components/actron_air/__init__.py
"""The Actron Air integration.""" from actron_neo_api import ( ActronAirACSystem, ActronAirAPI, ActronAirAPIError, ActronAirAuthError, ) from homeassistant.const import CONF_API_TOKEN, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed, Con...
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/actron_air/entity.py
homeassistant/components/actron_air/entity.py
"""Base entity classes for Actron Air integration.""" from actron_neo_api import ActronAirZone from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import ActronAirSystemCoordinator class Actr...
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/actron_air/climate.py
homeassistant/components/actron_air/climate.py
"""Climate platform for Actron Air integration.""" from typing import Any from actron_neo_api import ActronAirStatus, ActronAirZone from homeassistant.components.climate import ( FAN_AUTO, FAN_HIGH, FAN_LOW, FAN_MEDIUM, ClimateEntity, ClimateEntityFeature, HVACMode, ) from homeassistant.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/actron_air/config_flow.py
homeassistant/components/actron_air/config_flow.py
"""Setup config flow for Actron Air integration.""" import asyncio from collections.abc import Mapping from typing import Any from actron_neo_api import ActronAirAPI, ActronAirAuthError from homeassistant.config_entries import SOURCE_REAUTH, ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_API_TOKEN...
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/onewire/diagnostics.py
homeassistant/components/onewire/diagnostics.py
"""Diagnostics support for 1-Wire.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from homeassistant.helpers import de...
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/onewire/switch.py
homeassistant/components/onewire/switch.py
"""Support for 1-Wire environment switches.""" from __future__ import annotations from datetime import timedelta import os from typing import Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const import EntityCategory 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/onewire/model.py
homeassistant/components/onewire/model.py
"""Type definitions for 1-Wire integration.""" from __future__ import annotations from dataclasses import dataclass from homeassistant.helpers.device_registry import DeviceInfo @dataclass class OWDeviceDescription: """1-Wire device description class.""" device_info: DeviceInfo family: str id: str...
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/onewire/binary_sensor.py
homeassistant/components/onewire/binary_sensor.py
"""Support for 1-Wire binary sensors.""" from __future__ import annotations from datetime import timedelta import os from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import EntityCategory from 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/onewire/onewirehub.py
homeassistant/components/onewire/onewirehub.py
"""Hub for communication with 1-Wire server or mount_dir.""" from __future__ import annotations import contextlib from datetime import datetime, timedelta import logging import os from aio_ownet.definitions import OWServerCommonPath from aio_ownet.exceptions import OWServerProtocolError, OWServerReturnError from aio...
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/onewire/const.py
homeassistant/components/onewire/const.py
"""Constants for 1-Wire component.""" from __future__ import annotations DEFAULT_HOST = "localhost" DEFAULT_PORT = 4304 DOMAIN = "onewire" DEVICE_KEYS_0_3 = range(4) DEVICE_KEYS_0_7 = range(8) DEVICE_KEYS_A_B = ("A", "B") DEVICE_KEYS_A_D = ("A", "B", "C", "D") DEVICE_SUPPORT = { "01": (), "05": (), "10...
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/onewire/sensor.py
homeassistant/components/onewire/sensor.py
"""Support for 1-Wire environment sensors.""" from __future__ import annotations from collections.abc import Callable, Mapping import dataclasses from datetime import timedelta import logging import os from typing import Any from aio_ownet.exceptions import OWServerReturnError from homeassistant.components.sensor 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/onewire/__init__.py
homeassistant/components/onewire/__init__.py
"""The 1-Wire component.""" import logging from aio_ownet.exceptions import OWServerConnectionError, OWServerReturnError from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import device_registry as ...
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/onewire/entity.py
homeassistant/components/onewire/entity.py
"""Support for 1-Wire entities.""" from __future__ import annotations import logging from typing import Any from aio_ownet.exceptions import OWServerError from aio_ownet.proxy import OWServerStatelessProxy from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import 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/onewire/select.py
homeassistant/components/onewire/select.py
"""Support for 1-Wire environment select entities.""" from __future__ import annotations from datetime import timedelta import os from homeassistant.components.select import SelectEntity, SelectEntityDescription from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant 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/onewire/config_flow.py
homeassistant/components/onewire/config_flow.py
"""Config flow for 1-Wire component.""" from __future__ import annotations from copy import deepcopy from typing import Any from aio_ownet.exceptions import OWServerConnectionError from aio_ownet.proxy import OWServerStatelessProxy import voluptuous as vol from homeassistant.config_entries import ( ConfigFlow, ...
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/ovo_energy/const.py
homeassistant/components/ovo_energy/const.py
"""Constants for the OVO Energy integration.""" DOMAIN = "ovo_energy" DATA_CLIENT = "ovo_client" DATA_COORDINATOR = "coordinator" CONF_ACCOUNT = "account"
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/ovo_energy/sensor.py
homeassistant/components/ovo_energy/sensor.py
"""Support for OVO Energy sensors.""" from __future__ import annotations from collections.abc import Callable import dataclasses from datetime import datetime, timedelta from typing import Final from ovoenergy import OVOEnergy from ovoenergy.models import OVODailyUsage 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/ovo_energy/__init__.py
homeassistant/components/ovo_energy/__init__.py
"""Support for OVO Energy.""" from __future__ import annotations import asyncio from datetime import timedelta import logging import aiohttp from ovoenergy import OVOEnergy from ovoenergy.models import OVODailyUsage from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PASSWORD, ...
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/ovo_energy/entity.py
homeassistant/components/ovo_energy/entity.py
"""Support for OVO Energy.""" from __future__ import annotations from ovoenergy import OVOEnergy from ovoenergy.models import OVODailyUsage from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import ( CoordinatorEntity, DataUpdateCoordin...
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/ovo_energy/config_flow.py
homeassistant/components/ovo_energy/config_flow.py
"""Config flow to configure the OVO Energy integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any import aiohttp from ovoenergy import OVOEnergy import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/swiss_hydrological_data/sensor.py
homeassistant/components/swiss_hydrological_data/sensor.py
"""Support for hydrological data from the Fed. Office for the Environment.""" from __future__ import annotations from datetime import timedelta import logging from swisshydrodata import SwissHydroData import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEM...
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/swiss_hydrological_data/__init__.py
homeassistant/components/swiss_hydrological_data/__init__.py
"""The swiss_hydrological_data 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/devialet/media_player.py
homeassistant/components/devialet/media_player.py
"""Support for Devialet speakers.""" from __future__ import annotations from devialet.const import NORMAL_INPUTS from homeassistant.components.media_player import ( MediaPlayerEntity, MediaPlayerEntityFeature, MediaPlayerState, ) from homeassistant.const import CONF_NAME from homeassistant.core import 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/devialet/diagnostics.py
homeassistant/components/devialet/diagnostics.py
"""Diagnostics support for Devialet.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import DevialetConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: DevialetConfigEntry ) -> dict[str, Any]: """...
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/devialet/const.py
homeassistant/components/devialet/const.py
"""Constants for the Devialet integration.""" from typing import Final DOMAIN: Final = "devialet" MANUFACTURER: Final = "Devialet" SOUND_MODES = { "Custom": "custom", "Flat": "flat", "Night mode": "night mode", "Voice": "voice", }
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/devialet/coordinator.py
homeassistant/components/devialet/coordinator.py
"""Class representing a Devialet update coordinator.""" from datetime import timedelta import logging from devialet import DevialetApi from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator from .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/devialet/__init__.py
homeassistant/components/devialet/__init__.py
"""The Devialet integration.""" from __future__ import annotations from devialet import DevialetApi from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession from .coordinator import DevialetConfigEntry, ...
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/devialet/config_flow.py
homeassistant/components/devialet/config_flow.py
"""Support for Devialet Phantom speakers.""" from __future__ import annotations import logging from typing import Any from devialet.devialet_api import DevialetApi import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_NAME 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/ecoforest/switch.py
homeassistant/components/ecoforest/switch.py
"""Switch platform for Ecoforest.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from pyecoforest.api import EcoforestApi from pyecoforest.models.device import Device from homeassistant.components.switch import SwitchEnt...
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/ecoforest/number.py
homeassistant/components/ecoforest/number.py
"""Support for Ecoforest number platform.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from pyecoforest.models.device import Device from homeassistant.components.number import NumberEntity, NumberEntityDescription from homeassistant.core import 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/ecoforest/const.py
homeassistant/components/ecoforest/const.py
"""Constants for the Ecoforest integration.""" from datetime import timedelta DOMAIN = "ecoforest" MANUFACTURER = "Ecoforest" POLLING_INTERVAL = timedelta(seconds=30)
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/ecoforest/coordinator.py
homeassistant/components/ecoforest/coordinator.py
"""The ecoforest coordinator.""" import logging from pyecoforest.api import EcoforestApi from pyecoforest.exceptions import EcoforestError from pyecoforest.models.device import Device from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_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/ecoforest/sensor.py
homeassistant/components/ecoforest/sensor.py
"""Support for Ecoforest sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from pyecoforest.models.device import Alarm, Device, State from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, 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/ecoforest/__init__.py
homeassistant/components/ecoforest/__init__.py
"""The Ecoforest integration.""" from __future__ import annotations import logging import httpx from pyecoforest.api import EcoforestApi from pyecoforest.exceptions import ( EcoforestAuthenticationRequired, EcoforestConnectionError, ) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, ...
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/ecoforest/entity.py
homeassistant/components/ecoforest/entity.py
"""Base Entity for Ecoforest.""" from __future__ import annotations from pyecoforest.models.device import Device from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .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/ecoforest/config_flow.py
homeassistant/components/ecoforest/config_flow.py
"""Config flow for Ecoforest integration.""" from __future__ import annotations import logging from typing import Any from httpx import BasicAuth from pyecoforest.api import EcoforestApi from pyecoforest.exceptions import EcoforestAuthenticationRequired import voluptuous as vol from homeassistant.config_entries 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/eheimdigital/diagnostics.py
homeassistant/components/eheimdigital/diagnostics.py
"""Diagnostics for the EHEIM Digital integration.""" from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .coordinator import EheimDigitalConfigEntry TO_REDACT = {"emailAddr", "usrName"} async def async_get_config_entry_diagnos...
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/eheimdigital/switch.py
homeassistant/components/eheimdigital/switch.py
"""EHEIM Digital switches.""" from typing import Any, override from eheimdigital.classic_vario import EheimDigitalClassicVario from eheimdigital.device import EheimDigitalDevice from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_pla...
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/eheimdigital/number.py
homeassistant/components/eheimdigital/number.py
"""EHEIM Digital numbers.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any, override from eheimdigital.classic_vario import EheimDigitalClassicVario from eheimdigital.device import EheimDigitalDevice from eheimdigital.heater import EheimDigitalHeater from ehe...
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/eheimdigital/const.py
homeassistant/components/eheimdigital/const.py
"""Constants for the EHEIM Digital integration.""" from logging import Logger, getLogger from eheimdigital.types import HeaterMode, LightMode from homeassistant.components.climate import PRESET_NONE from homeassistant.components.light import EFFECT_OFF LOGGER: Logger = getLogger(__package__) DOMAIN = "eheimdigital"...
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/eheimdigital/coordinator.py
homeassistant/components/eheimdigital/coordinator.py
"""Data update coordinator for the EHEIM Digital integration.""" from __future__ import annotations import asyncio from collections.abc import Callable from aiohttp import ClientError from eheimdigital.device import EheimDigitalDevice from eheimdigital.hub import EheimDigitalHub from eheimdigital.types import EheimD...
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/eheimdigital/time.py
homeassistant/components/eheimdigital/time.py
"""EHEIM Digital time entities.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from datetime import time from typing import Any, final, override from eheimdigital.classic_vario import EheimDigitalClassicVario from eheimdigital.device import EheimDigitalDevice from eheimdigital.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/eheimdigital/sensor.py
homeassistant/components/eheimdigital/sensor.py
"""EHEIM Digital sensors.""" from collections.abc import Callable from dataclasses import dataclass from typing import Any, override from eheimdigital.classic_vario import EheimDigitalClassicVario from eheimdigital.device import EheimDigitalDevice from eheimdigital.types import FilterErrorCode from homeassistant.com...
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/eheimdigital/__init__.py
homeassistant/components/eheimdigital/__init__.py
"""The EHEIM Digital integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceEntry from .const import DOMAIN from .coordinator import EheimDigitalConfigEntry, EheimDigitalUpdateCoo...
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/eheimdigital/entity.py
homeassistant/components/eheimdigital/entity.py
"""Base entity for EHEIM Digital.""" from abc import ABC, abstractmethod from collections.abc import Callable, Coroutine from typing import TYPE_CHECKING, Any, Concatenate from eheimdigital.device import EheimDigitalDevice from eheimdigital.types import EheimDigitalClientError from homeassistant.const import CONF_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/eheimdigital/select.py
homeassistant/components/eheimdigital/select.py
"""EHEIM Digital select entities.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any, override from eheimdigital.classic_vario import EheimDigitalClassicVario from eheimdigital.device import EheimDigitalDevice from eheimdigital.types import FilterMode 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/eheimdigital/climate.py
homeassistant/components/eheimdigital/climate.py
"""EHEIM Digital climate.""" from typing import Any from eheimdigital.device import EheimDigitalDevice from eheimdigital.heater import EheimDigitalHeater from eheimdigital.types import HeaterMode, HeaterUnit from homeassistant.components.climate import ( PRESET_NONE, 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/eheimdigital/light.py
homeassistant/components/eheimdigital/light.py
"""EHEIM Digital lights.""" from typing import Any from eheimdigital.classic_led_ctrl import EheimDigitalClassicLEDControl from eheimdigital.device import EheimDigitalDevice from eheimdigital.types import LightMode from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_EFFECT, EFFECT_OFF, ...
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/eheimdigital/config_flow.py
homeassistant/components/eheimdigital/config_flow.py
"""Config flow for EHEIM Digital.""" from __future__ import annotations import asyncio from typing import TYPE_CHECKING, Any from aiohttp import ClientError from eheimdigital.device import EheimDigitalDevice from eheimdigital.hub import EheimDigitalHub import voluptuous as vol 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/victron_ble/const.py
homeassistant/components/victron_ble/const.py
"""Constants for the Victron Bluetooth Low Energy integration.""" DOMAIN = "victron_ble" VICTRON_IDENTIFIER = 0x02E1
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/victron_ble/sensor.py
homeassistant/components/victron_ble/sensor.py
"""Sensor platform for Victron BLE.""" from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from sensor_state_data import DeviceKey from victron_ble_ha_parser import Keys, Units from homeassistant.components.bluetooth.passive_update_processor import ( Passi...
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/victron_ble/__init__.py
homeassistant/components/victron_ble/__init__.py
"""The Victron Bluetooth Low Energy integration.""" from __future__ import annotations import logging from victron_ble_ha_parser import VictronBluetoothDeviceData from homeassistant.components.bluetooth import ( BluetoothScanningMode, async_rediscover_address, ) from homeassistant.components.bluetooth.passi...
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/victron_ble/config_flow.py
homeassistant/components/victron_ble/config_flow.py
"""Config flow for Victron Bluetooth Low Energy integration.""" from __future__ import annotations import logging from typing import Any from victron_ble_ha_parser import VictronBluetoothDeviceData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_dis...
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/mediaroom/media_player.py
homeassistant/components/mediaroom/media_player.py
"""Support for the Mediaroom Set-up-box.""" from __future__ import annotations import logging from typing import Any from pymediaroom import ( COMMANDS, PyMediaroomError, Remote, State, install_mediaroom_protocol, ) import voluptuous as vol from homeassistant.components.media_player 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/mediaroom/__init__.py
homeassistant/components/mediaroom/__init__.py
"""The mediaroom 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/control4/media_player.py
homeassistant/components/control4/media_player.py
"""Platform for Control4 Rooms Media Players.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta import enum import logging from typing import Any from pyControl4.error_handling import C4Exception from pyControl4.room import C4Room from homeassistant.components.me...
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/control4/director_utils.py
homeassistant/components/control4/director_utils.py
"""Provides data updates from the Control4 controller for platforms.""" from collections import defaultdict import logging from typing import Any from pyControl4.account import C4Account from pyControl4.director import C4Director from pyControl4.error_handling import BadToken from homeassistant.const import CONF_HOS...
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/control4/const.py
homeassistant/components/control4/const.py
"""Constants for the Control4 integration.""" DOMAIN = "control4" DEFAULT_SCAN_INTERVAL = 5 MIN_SCAN_INTERVAL = 1 API_RETRY_TIMES = 5 CONF_CONTROLLER_UNIQUE_ID = "controller_unique_id" CONTROL4_ENTITY_TYPE = 7
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/control4/__init__.py
homeassistant/components/control4/__init__.py
"""The Control4 integration.""" from __future__ import annotations from dataclasses import dataclass import json import logging from typing import Any from aiohttp import client_exceptions from pyControl4.account import C4Account from pyControl4.director import C4Director from pyControl4.error_handling import BadCre...
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/control4/entity.py
homeassistant/components/control4/entity.py
"""The Control4 integration.""" from __future__ import annotations from typing import Any from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import ( CoordinatorEntity, DataUpdateCoordinator, ) from . import Control4RuntimeData from .const import DOMAI...
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/control4/climate.py
homeassistant/components/control4/climate.py
"""Platform for Control4 Climate/Thermostat.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from pyControl4.climate import C4Climate from pyControl4.error_handling import C4Exception from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH,...
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/control4/light.py
homeassistant/components/control4/light.py
"""Platform for Control4 Lights.""" from __future__ import annotations import asyncio from datetime import timedelta import logging from typing import Any from pyControl4.error_handling import C4Exception from pyControl4.light import C4Light from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR...
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/control4/config_flow.py
homeassistant/components/control4/config_flow.py
"""Config flow for Control4 integration.""" from __future__ import annotations import logging from typing import TYPE_CHECKING, Any from aiohttp.client_exceptions import ClientError from pyControl4.account import C4Account from pyControl4.director import C4Director from pyControl4.error_handling import NotFound, Una...
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/fixer/sensor.py
homeassistant/components/fixer/sensor.py
"""Currency exchange rate support that comes from fixer.io.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from fixerio import Fixerio from fixerio.exceptions import FixerioException 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/fixer/__init__.py
homeassistant/components/fixer/__init__.py
"""The fixer component."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false