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/repetier/sensor.py
homeassistant/components/repetier/sensor.py
"""Support for monitoring Repetier Server Sensors.""" from __future__ import annotations import logging import time from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_connect ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/repetier/__init__.py
homeassistant/components/repetier/__init__.py
"""Support for Repetier-Server sensors.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta import logging import pyrepetierng as pyrepetier import voluptuous as vol from homeassistant.components.sensor import SensorDeviceClass, SensorEntityDescription 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/baf/models.py
homeassistant/components/baf/models.py
"""The baf integration models.""" from __future__ import annotations from dataclasses import dataclass @dataclass class BAFDiscovery: """A BAF Discovery.""" ip_address: str name: str uuid: str model: 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/baf/switch.py
homeassistant/components/baf/switch.py
"""Support for Big Ass Fans switch.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any, cast from aiobafi6 import Device from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription 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/baf/number.py
homeassistant/components/baf/number.py
"""Support for Big Ass Fans number.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import cast from aiobafi6 import Device from homeassistant.components.number import ( NumberEntity, NumberEntityDescription, NumberMode, ) 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/baf/binary_sensor.py
homeassistant/components/baf/binary_sensor.py
"""Support for Big Ass Fans binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import cast from aiobafi6 import Device from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, B...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/baf/const.py
homeassistant/components/baf/const.py
"""Constants for the Big Ass Fans integration.""" DOMAIN = "baf" # Most properties are pushed, only the # query every 5 minutes so we keep the RPM # sensors up to date QUERY_INTERVAL = 300 RUN_TIMEOUT = 20 PRESET_MODE_AUTO = "auto" SPEED_COUNT = 7 SPEED_RANGE = (1, SPEED_COUNT) ONE_MIN_SECS = 60 ONE_DAY_SECS = 86...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/baf/fan.py
homeassistant/components/baf/fan.py
"""Support for Big Ass Fans fan.""" from __future__ import annotations import math from typing import Any from aiobafi6 import OffOnAuto from homeassistant.components.fan import ( DIRECTION_FORWARD, DIRECTION_REVERSE, FanEntity, FanEntityFeature, ) from homeassistant.core import HomeAssistant, callb...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/baf/sensor.py
homeassistant/components/baf/sensor.py
"""Support for Big Ass Fans sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import cast from aiobafi6 import Device from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/baf/__init__.py
homeassistant/components/baf/__init__.py
"""The Big Ass Fans integration.""" from __future__ import annotations from asyncio import timeout from aiobafi6 import Device, Service from aiobafi6.discovery import PORT from aiobafi6.exceptions import DeviceUUIDMismatchError from homeassistant.config_entries import ConfigEntry from homeassistant.const import 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/baf/entity.py
homeassistant/components/baf/entity.py
"""The baf integration entities.""" from __future__ import annotations from aiobafi6 import Device from homeassistant.core import callback from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo, format_mac 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/baf/climate.py
homeassistant/components/baf/climate.py
"""Support for Big Ass Fans auto comfort.""" from __future__ import annotations from typing import Any from homeassistant.components.climate import ( ClimateEntity, ClimateEntityFeature, HVACAction, HVACMode, ) from homeassistant.const import ATTR_TEMPERATURE, UnitOfTemperature from homeassistant.cor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/baf/light.py
homeassistant/components/baf/light.py
"""Support for Big Ass Fans lights.""" from __future__ import annotations from typing import Any from aiobafi6 import Device, OffOnAuto from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ColorMode, LightEntity, ) from homeassistant.core import HomeAssistant, callba...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/baf/config_flow.py
homeassistant/components/baf/config_flow.py
"""Config flow for baf.""" from __future__ import annotations from asyncio import timeout import logging from typing import Any from aiobafi6 import Device, Service from aiobafi6.discovery import PORT import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/home_connect/api.py
homeassistant/components/home_connect/api.py
"""API for Home Connect bound to HASS OAuth.""" from typing import cast from aiohomeconnect.client import AbstractAuth from aiohomeconnect.const import API_ENDPOINT from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from homeassistant.helpers.httpx_client 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/home_connect/diagnostics.py
homeassistant/components/home_connect/diagnostics.py
"""Diagnostics support for Home Connect Diagnostics.""" from __future__ import annotations from typing import Any from aiohomeconnect.model import GetSetting, Status from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceEntry from .const import DOMAIN from .coordinato...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/common.py
homeassistant/components/home_connect/common.py
"""Common callbacks for all Home Connect platforms.""" from collections import defaultdict from collections.abc import Callable from functools import partial from typing import cast from aiohomeconnect.model import EventKey from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coord...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/application_credentials.py
homeassistant/components/home_connect/application_credentials.py
"""Application credentials platform for Home Connect.""" from aiohomeconnect.const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant async def async_get_authorization_server(hass: HomeAssistant) -> Auth...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/services.py
homeassistant/components/home_connect/services.py
"""Custom actions (previously known as services) for the Home Connect integration.""" from __future__ import annotations from collections.abc import Awaitable from typing import Any, cast from aiohomeconnect.client import Client as HomeConnectClient from aiohomeconnect.model import ( ArrayOfOptions, Option, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/switch.py
homeassistant/components/home_connect/switch.py
"""Provides a switch for Home Connect.""" import logging from typing import Any, cast from aiohomeconnect.model import OptionKey, SettingKey from aiohomeconnect.model.error import HomeConnectError from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription 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/home_connect/number.py
homeassistant/components/home_connect/number.py
"""Provides number entities for Home Connect.""" import logging from typing import cast from aiohomeconnect.model import GetSetting, OptionKey, SettingKey from aiohomeconnect.model.error import HomeConnectError from homeassistant.components.number import ( NumberDeviceClass, NumberEntity, NumberEntityDes...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/binary_sensor.py
homeassistant/components/home_connect/binary_sensor.py
"""Provides a binary sensor for Home Connect.""" from dataclasses import dataclass from typing import cast from aiohomeconnect.model import EventKey, StatusKey from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/home_connect/const.py
homeassistant/components/home_connect/const.py
"""Constants for the Home Connect integration.""" from typing import cast from aiohomeconnect.model import EventKey, OptionKey, ProgramKey, SettingKey, StatusKey from homeassistant.const import UnitOfTemperature, UnitOfTime, UnitOfVolume from .utils import bsh_key_to_translation_key DOMAIN = "home_connect" API_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/home_connect/coordinator.py
homeassistant/components/home_connect/coordinator.py
"""Coordinator for Home Connect.""" from __future__ import annotations from asyncio import sleep as asyncio_sleep from collections import defaultdict from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from aiohomeconnect.client import Client as HomeConnectCli...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/utils.py
homeassistant/components/home_connect/utils.py
"""Utility functions for Home Connect.""" import re from aiohomeconnect.model.error import HomeConnectError RE_CAMEL_CASE = re.compile(r"(?<!^)(?=[A-Z])|(?=\d)(?<=\D)") def get_dict_from_home_connect_error( err: HomeConnectError, ) -> dict[str, str]: """Return a translation string from a Home Connect error...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/sensor.py
homeassistant/components/home_connect/sensor.py
"""Provides a sensor for Home Connect.""" from dataclasses import dataclass from datetime import timedelta import logging from typing import cast from aiohomeconnect.model import EventKey, StatusKey from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/__init__.py
homeassistant/components/home_connect/__init__.py
"""Support for BSH Home Connect appliances.""" from __future__ import annotations import logging from typing import Any from aiohomeconnect.client import Client as HomeConnectClient import aiohttp import jwt from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback 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/home_connect/entity.py
homeassistant/components/home_connect/entity.py
"""Home Connect entity base class.""" from abc import abstractmethod from collections.abc import Callable, Coroutine import contextlib from datetime import datetime import logging from typing import Any, Concatenate, cast from aiohomeconnect.model import EventKey, OptionKey from aiohomeconnect.model.error 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/home_connect/button.py
homeassistant/components/home_connect/button.py
"""Provides button entities for Home Connect.""" from aiohomeconnect.model import CommandKey from aiohomeconnect.model.error import HomeConnectError from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/home_connect/select.py
homeassistant/components/home_connect/select.py
"""Provides a select platform for Home Connect.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any, cast from aiohomeconnect.client import Client as HomeConnectClient from aiohomeconnect.model import EventKey, OptionKey, ProgramKey, SettingKey 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/home_connect/light.py
homeassistant/components/home_connect/light.py
"""Provides a light for Home Connect.""" from dataclasses import dataclass import logging from typing import Any, cast from aiohomeconnect.model import EventKey, SettingKey from aiohomeconnect.model.error import HomeConnectError from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_HS_COLOR, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/home_connect/config_flow.py
homeassistant/components/home_connect/config_flow.py
"""Config flow for Home Connect.""" from collections.abc import Mapping import logging from typing import Any import jwt import voluptuous as vol from homeassistant.config_entries import SOURCE_REAUTH, ConfigFlowResult from homeassistant.helpers import config_entry_oauth2_flow, device_registry as dr 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/nsw_fuel_station/const.py
homeassistant/components/nsw_fuel_station/const.py
"""Constants for the NSW Fuel Station integration.""" DATA_NSW_FUEL_STATION = "nsw_fuel_station"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nsw_fuel_station/sensor.py
homeassistant/components/nsw_fuel_station/sensor.py
"""Sensor platform to display the current fuel prices at a NSW fuel station.""" from __future__ import annotations import logging import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) from homeassistant.const import CURRENCY_CENT, U...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nsw_fuel_station/__init__.py
homeassistant/components/nsw_fuel_station/__init__.py
"""The nsw_fuel_station component.""" from __future__ import annotations from dataclasses import dataclass import datetime import logging from nsw_fuel import FuelCheckClient, FuelCheckError, Station from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv 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/flux/switch.py
homeassistant/components/flux/switch.py
"""Flux for Home-Assistant. The idea was taken from https://github.com/KpaBap/hue-flux/ """ from __future__ import annotations import datetime import logging from typing import Any import voluptuous as vol from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ATTR_RGB_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/flux/__init__.py
homeassistant/components/flux/__init__.py
"""The flux 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/downloader/services.py
homeassistant/components/downloader/services.py
"""Support for functionality to download files.""" from __future__ import annotations from http import HTTPStatus import os import re import threading import requests import voluptuous as vol from homeassistant.core import HomeAssistant, ServiceCall, callback from homeassistant.exceptions import ServiceValidationEr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/downloader/const.py
homeassistant/components/downloader/const.py
"""Constants for the Downloader component.""" import logging _LOGGER = logging.getLogger(__package__) DOMAIN = "downloader" DEFAULT_NAME = "Downloader" CONF_DOWNLOAD_DIR = "download_dir" ATTR_FILENAME = "filename" ATTR_SUBDIR = "subdir" ATTR_URL = "url" ATTR_OVERWRITE = "overwrite" CONF_DOWNLOAD_DIR = "download_dir...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/downloader/__init__.py
homeassistant/components/downloader/__init__.py
"""Support for functionality to download files.""" from __future__ import annotations import os from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import _LOGGER, CONF_DOWNLOAD_DIR from .services import async_setup_services async def async_setup_entry(has...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/downloader/config_flow.py
homeassistant/components/downloader/config_flow.py
"""Config flow for Downloader integration.""" from __future__ import annotations import os from typing import Any import voluptuous as vol from homeassistant import exceptions from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.helpers import config_validation as cv 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/pjlink/media_player.py
homeassistant/components/pjlink/media_player.py
"""Support for controlling projector via the PJLink protocol.""" from __future__ import annotations from pypjlink import MUTE_AUDIO, Projector from pypjlink.projector import ProjectorError import voluptuous as vol from homeassistant.components.media_player import ( PLATFORM_SCHEMA as MEDIA_PLAYER_PLATFORM_SCHEMA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pjlink/const.py
homeassistant/components/pjlink/const.py
"""Constants for the PJLink integration.""" CONF_ENCODING = "encoding" DEFAULT_PORT = 4352 DEFAULT_ENCODING = "utf-8" DOMAIN = "pjlink"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pjlink/__init__.py
homeassistant/components/pjlink/__init__.py
"""The pjlink 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/yandextts/tts.py
homeassistant/components/yandextts/tts.py
"""Support for the yandex speechkit tts service.""" import asyncio from http import HTTPStatus import logging import aiohttp import voluptuous as vol from homeassistant.components.tts import ( CONF_LANG, PLATFORM_SCHEMA as TTS_PLATFORM_SCHEMA, Provider, ) from homeassistant.const import CONF_API_KEY fro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/yandextts/__init__.py
homeassistant/components/yandextts/__init__.py
"""Support for the yandex speechkit tts integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ultraloq/__init__.py
homeassistant/components/ultraloq/__init__.py
"""Virtual integration: Ultraloq."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/water_heater/significant_change.py
homeassistant/components/water_heater/significant_change.py
"""Helper to test significant Water Heater state changes.""" from __future__ import annotations from typing import Any from homeassistant.const import UnitOfTemperature from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.significant_change import ( check_absolute_change, check_v...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/water_heater/const.py
homeassistant/components/water_heater/const.py
"""Support for water heater devices.""" DOMAIN = "water_heater" STATE_ECO = "eco" STATE_ELECTRIC = "electric" STATE_PERFORMANCE = "performance" STATE_HIGH_DEMAND = "high_demand" STATE_HEAT_PUMP = "heat_pump" STATE_GAS = "gas"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/water_heater/reproduce_state.py
homeassistant/components/water_heater/reproduce_state.py
"""Reproduce an Water heater state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from homeassistant.const import ( ATTR_ENTITY_ID, ATTR_TEMPERATURE, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_OFF, STATE_ON, ) fro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/water_heater/__init__.py
homeassistant/components/water_heater/__init__.py
"""Support for water heater devices.""" from __future__ import annotations from datetime import timedelta from enum import IntFlag import functools as ft import logging from typing import Any, final from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import ConfigEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/water_heater/device_action.py
homeassistant/components/water_heater/device_action.py
"""Provides device automations for Water Heater.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import async_validate_entity_schema from homeassistant.const import ( ATTR_ENTITY_ID, CONF_DEVICE_ID, CONF_DOMAIN, CONF_ENTITY_ID, CONF_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/mpd/media_player.py
homeassistant/components/mpd/media_player.py
"""Support to interact with a Music Player Daemon.""" from __future__ import annotations import asyncio from contextlib import asynccontextmanager, suppress from datetime import timedelta import hashlib import logging import os from socket import gaierror from typing import Any import mpd from mpd.asyncio import MPD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mpd/const.py
homeassistant/components/mpd/const.py
"""Constants for the MPD integration.""" import logging DOMAIN = "mpd" LOGGER = logging.getLogger(__package__)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mpd/__init__.py
homeassistant/components/mpd/__init__.py
"""The Music Player Daemon integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant PLATFORMS: list[Platform] = [Platform.MEDIA_PLAYER] async def async_setup_entry(hass: HomeAssistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mpd/config_flow.py
homeassistant/components/mpd/config_flow.py
"""Music Player Daemon config flow.""" from asyncio import timeout from contextlib import suppress from socket import gaierror from typing import Any import mpd from mpd.asyncio import MPDClient import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/foursquare/__init__.py
homeassistant/components/foursquare/__init__.py
"""Support for the Foursquare (Swarm) API.""" from http import HTTPStatus import logging from aiohttp import web import requests import voluptuous as vol from homeassistant.components.http import KEY_HASS, HomeAssistantView from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.core import HomeAssistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iammeter/const.py
homeassistant/components/iammeter/const.py
"""Constants for the Iammeter integration.""" from __future__ import annotations DOMAIN = "iammeter" # Default config for iammeter. DEFAULT_IP = "192.168.2.15" DEFAULT_NAME = "IamMeter" DEVICE_3080 = "WEM3080" DEVICE_3080T = "WEM3080T" DEVICE_TYPES = [DEVICE_3080, DEVICE_3080T]
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iammeter/sensor.py
homeassistant/components/iammeter/sensor.py
"""Support for iammeter via local API.""" from __future__ import annotations from asyncio import timeout from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, timedelta import logging from iammeter.client import IamMeter import voluptuous as vol 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/iammeter/__init__.py
homeassistant/components/iammeter/__init__.py
"""Iammeter integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/diagnostics.py
homeassistant/components/technove/diagnostics.py
"""Diagnostics support for TechnoVE.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .coordinator import TechnoVEConfigEntry TO_REDACT = {"unique_id", "ma...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/switch.py
homeassistant/components/technove/switch.py
"""Support for TechnoVE switches.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from technove import Station as TechnoVEStation from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription 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/technove/number.py
homeassistant/components/technove/number.py
"""Support for TechnoVE number entities.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from technove import MIN_CURRENT, TechnoVE from homeassistant.components.number import ( NumberDeviceClass, NumberEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/binary_sensor.py
homeassistant/components/technove/binary_sensor.py
"""Support for TechnoVE binary sensor.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from technove import Station as TechnoVEStation from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/const.py
homeassistant/components/technove/const.py
"""Constants for the TechnoVE integration.""" from datetime import timedelta import logging DOMAIN = "technove" LOGGER = logging.getLogger(__package__) SCAN_INTERVAL = timedelta(seconds=5)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/coordinator.py
homeassistant/components/technove/coordinator.py
"""DataUpdateCoordinator for TechnoVE.""" from __future__ import annotations from technove import Station as TechnoVEStation, TechnoVE, TechnoVEError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant 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/technove/helpers.py
homeassistant/components/technove/helpers.py
"""Helpers for TechnoVE.""" from __future__ import annotations from collections.abc import Callable, Coroutine from typing import Any, Concatenate from technove import TechnoVEConnectionError, TechnoVEError from homeassistant.exceptions import HomeAssistantError from .entity import TechnoVEEntity def technove_ex...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/sensor.py
homeassistant/components/technove/sensor.py
"""Platform for sensor integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from technove import Station as TechnoVEStation, Status from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/__init__.py
homeassistant/components/technove/__init__.py
"""The TechnoVE integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import TechnoVEConfigEntry, TechnoVEDataUpdateCoordinator PLATFORMS = [Platform.BINARY_SENSOR, Platform.NUMBER, Platform.SENSOR, Platform.SWITCH]...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/entity.py
homeassistant/components/technove/entity.py
"""Entity for TechnoVE.""" from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import TechnoVEDataUpdateCoordinator class TechnoVEEntity(CoordinatorEntity[TechnoVEDataU...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/technove/config_flow.py
homeassistant/components/technove/config_flow.py
"""Config flow for TechnoVE.""" from typing import Any from technove import Station as TechnoVEStation, TechnoVE, TechnoVEConnectionError import voluptuous as vol from homeassistant.components import onboarding from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteo_lt/weather.py
homeassistant/components/meteo_lt/weather.py
"""Weather platform for Meteo.lt integration.""" from __future__ import annotations from collections import defaultdict from datetime import datetime from typing import Any from homeassistant.components.weather import ( Forecast, WeatherEntity, WeatherEntityFeature, ) 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/meteo_lt/const.py
homeassistant/components/meteo_lt/const.py
"""Constants for the Meteo.lt integration.""" from datetime import timedelta from homeassistant.const import Platform DOMAIN = "meteo_lt" PLATFORMS = [Platform.WEATHER] MANUFACTURER = "Lithuanian Hydrometeorological Service" MODEL = "Weather Station" DEFAULT_UPDATE_INTERVAL = timedelta(minutes=30) CONF_PLACE_CODE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteo_lt/coordinator.py
homeassistant/components/meteo_lt/coordinator.py
"""DataUpdateCoordinator for Meteo.lt integration.""" from __future__ import annotations import logging import aiohttp from meteo_lt import Forecast as MeteoLtForecast, MeteoLtAPI from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteo_lt/__init__.py
homeassistant/components/meteo_lt/__init__.py
"""The Meteo.lt integration.""" from __future__ import annotations from homeassistant.core import HomeAssistant from .const import CONF_PLACE_CODE, PLATFORMS from .coordinator import MeteoLtConfigEntry, MeteoLtUpdateCoordinator async def async_setup_entry(hass: HomeAssistant, entry: MeteoLtConfigEntry) -> 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/meteo_lt/config_flow.py
homeassistant/components/meteo_lt/config_flow.py
"""Config flow for Meteo.lt integration.""" from __future__ import annotations import logging from typing import Any import aiohttp from meteo_lt import MeteoLtAPI, Place import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import CONF_PLACE_CODE, DOMAIN _LOGG...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pioneer/media_player.py
homeassistant/components/pioneer/media_player.py
"""Support for Pioneer Network Receivers.""" from __future__ import annotations import logging from typing import Final import telnetlib # pylint: disable=deprecated-module import voluptuous as vol from homeassistant.components.media_player import ( PLATFORM_SCHEMA as MEDIA_PLAYER_PLATFORM_SCHEMA, MediaPla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pioneer/__init__.py
homeassistant/components/pioneer/__init__.py
"""The pioneer 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/loqed/lock.py
homeassistant/components/loqed/lock.py
"""LOQED lock integration for Home Assistant.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.lock import LockEntity, LockEntityFeature from homeassistant.core import HomeAssistant, callback 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/loqed/const.py
homeassistant/components/loqed/const.py
"""Constants for the loqed integration.""" DOMAIN = "loqed" CONF_CLOUDHOOK_URL = "cloudhook_url"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/loqed/coordinator.py
homeassistant/components/loqed/coordinator.py
"""Provides the coordinator for a LOQED lock.""" import asyncio import logging from typing import TypedDict from aiohttp.web import Request from loqedAPI import loqed from homeassistant.components import cloud, webhook from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_NAME, 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/loqed/sensor.py
homeassistant/components/loqed/sensor.py
"""Creates LOQED sensors.""" from typing import Final from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( PERCENTAGE, SIGNAL_STRENGTH_DECIBELS_MILLIWATT, EntityCategory, ) 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/loqed/__init__.py
homeassistant/components/loqed/__init__.py
"""The loqed integration.""" from __future__ import annotations import re import aiohttp from loqedAPI import loqed from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers.aiohttp_client import async_ge...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/loqed/entity.py
homeassistant/components/loqed/entity.py
"""Base entity for the LOQED integration.""" from __future__ import annotations from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import LoqedDataCoordinator class 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/loqed/config_flow.py
homeassistant/components/loqed/config_flow.py
"""Config flow for loqed integration.""" from __future__ import annotations import logging import re from typing import Any import aiohttp from loqedAPI import cloud_loqed, loqed import voluptuous as vol from homeassistant.components import webhook from homeassistant.config_entries import ConfigFlow, ConfigFlowResu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/image_upload/media_source.py
homeassistant/components/image_upload/media_source.py
"""Expose image_upload as media sources.""" from __future__ import annotations import pathlib from propcache.api import cached_property from homeassistant.components.media_player import BrowseError, MediaClass from homeassistant.components.media_source import ( BrowseMediaSource, MediaSource, MediaSourc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/image_upload/const.py
homeassistant/components/image_upload/const.py
"""Constants for the Image Upload integration.""" DOMAIN = "image_upload" FOLDER_IMAGE = "image"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/image_upload/__init__.py
homeassistant/components/image_upload/__init__.py
"""The Image Upload integration.""" from __future__ import annotations import asyncio import logging import pathlib import secrets import shutil from typing import Any from aiohttp import hdrs, web from aiohttp.web_request import FileField from PIL import Image, ImageOps, UnidentifiedImageError import voluptuous 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/bluetooth_le_tracker/device_tracker.py
homeassistant/components/bluetooth_le_tracker/device_tracker.py
"""Tracking for bluetooth low energy devices.""" from __future__ import annotations from datetime import datetime, timedelta import logging from uuid import UUID from bleak import BleakClient, BleakError import voluptuous as vol from homeassistant.components import bluetooth from homeassistant.components.bluetooth....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bluetooth_le_tracker/__init__.py
homeassistant/components/bluetooth_le_tracker/__init__.py
"""The bluetooth_le_tracker 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/here_travel_time/model.py
homeassistant/components/here_travel_time/model.py
"""Model Classes for here_travel_time.""" from __future__ import annotations from dataclasses import dataclass from datetime import datetime from typing import TypedDict from here_routing import RoutingMode, TrafficMode class HERETravelTimeData(TypedDict): """Routing information.""" attribution: str | Non...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/here_travel_time/const.py
homeassistant/components/here_travel_time/const.py
"""Constants for the HERE Travel Time integration.""" from typing import Final DOMAIN = "here_travel_time" DEFAULT_SCAN_INTERVAL = 300 CONF_DESTINATION = "destination" CONF_DESTINATION_LATITUDE = "destination_latitude" CONF_DESTINATION_LONGITUDE = "destination_longitude" CONF_DESTINATION_ENTITY_ID = "destination_en...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/here_travel_time/coordinator.py
homeassistant/components/here_travel_time/coordinator.py
"""The HERE Travel Time integration.""" from __future__ import annotations from datetime import datetime, time, timedelta import logging from typing import Any import here_routing from here_routing import ( HERERoutingApi, HERERoutingTooManyRequestsError, Return, RoutingMode, Spans, TrafficMo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/here_travel_time/sensor.py
homeassistant/components/here_travel_time/sensor.py
"""Support for HERE travel time sensors.""" from __future__ import annotations from collections.abc import Mapping from datetime import timedelta from typing import Any from homeassistant.components.sensor import ( RestoreSensor, SensorDeviceClass, SensorEntityDescription, SensorStateClass, ) from ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/here_travel_time/__init__.py
homeassistant/components/here_travel_time/__init__.py
"""The HERE Travel Time integration.""" from __future__ import annotations import logging from homeassistant.const import CONF_API_KEY, CONF_MODE, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.issue_registry import ( IssueSeverity, async_create_issue, async_delete_issue...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/here_travel_time/config_flow.py
homeassistant/components/here_travel_time/config_flow.py
"""Config flow for HERE Travel Time integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from here_routing import ( HERERoutingApi, HERERoutingError, HERERoutingUnauthorizedError, Place, TransportMode, ) from here_transit 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/homeassistant_yellow/switch.py
homeassistant/components/homeassistant_yellow/switch.py
"""Home Assistant Yellow 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 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/homeassistant_yellow/const.py
homeassistant/components/homeassistant_yellow/const.py
"""Constants for the Home Assistant Yellow integration.""" DOMAIN = "homeassistant_yellow" MODEL = "Home Assistant Yellow" MANUFACTURER = "Nabu Casa" RADIO_DEVICE = "/dev/ttyAMA1" ZHA_HW_DISCOVERY_DATA = { "name": "Yellow", "port": { "path": RADIO_DEVICE, "baudrate": 115200, "flow_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/homeassistant_yellow/update.py
homeassistant/components/homeassistant_yellow/update.py
"""Home Assistant Yellow 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, Firmw...
python
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_yellow/hardware.py
homeassistant/components/homeassistant_yellow/hardware.py
"""The Home Assistant Yellow hardware platform.""" from __future__ import annotations from homeassistant.components.hardware import BoardInfo, HardwareInfo from homeassistant.components.hassio import get_os_info from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false