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/evil_genius_labs/entity.py
homeassistant/components/evil_genius_labs/entity.py
"""The Evil Genius Labs integration.""" from __future__ import annotations from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import Evi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/evil_genius_labs/light.py
homeassistant/components/evil_genius_labs/light.py
"""Light platform for Evil Genius Light.""" from __future__ import annotations import asyncio from typing import Any, cast from homeassistant.components import light from homeassistant.components.light import ColorMode, LightEntity, LightEntityFeature from homeassistant.core import HomeAssistant from homeassistant.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/evil_genius_labs/config_flow.py
homeassistant/components/evil_genius_labs/config_flow.py
"""Config flow for Evil Genius Labs integration.""" from __future__ import annotations import asyncio import logging from typing import Any import aiohttp import pyevilgenius import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.core import HomeAssistant 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/google_travel_time/const.py
homeassistant/components/google_travel_time/const.py
"""Constants for Google Travel Time.""" from google.maps.routing_v2 import ( RouteTravelMode, TrafficModel, TransitPreferences, Units, ) DOMAIN = "google_travel_time" ATTRIBUTION = "Powered by Google" CONF_DESTINATION = "destination" CONF_OPTIONS = "options" CONF_ORIGIN = "origin" CONF_AVOID = "avoi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_travel_time/helpers.py
homeassistant/components/google_travel_time/helpers.py
"""Helpers for Google Time Travel integration.""" import logging from google.api_core.client_options import ClientOptions from google.api_core.exceptions import ( Forbidden, GatewayTimeout, GoogleAPIError, PermissionDenied, Unauthorized, ) from google.maps.routing_v2 import ( ComputeRoutesRequ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_travel_time/sensor.py
homeassistant/components/google_travel_time/sensor.py
"""Support for Google travel time sensors.""" from __future__ import annotations import datetime import logging from typing import TYPE_CHECKING, Any from google.api_core.client_options import ClientOptions from google.api_core.exceptions import GoogleAPIError, PermissionDenied from google.maps.routing_v2 import ( ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_travel_time/__init__.py
homeassistant/components/google_travel_time/__init__.py
"""The google_travel_time component.""" import logging from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.util import dt as dt_util from .const import CONF_TIME PLATFORMS = [Platform.SENSOR] _LOGGER = logging...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_travel_time/config_flow.py
homeassistant/components/google_travel_time/config_flow.py
"""Config flow for Google Maps Travel Time integration.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlow, ) from homeassistant.const import CONF_API_KEY, CONF_LANGUA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mfi/switch.py
homeassistant/components/mfi/switch.py
"""Support for Ubiquiti mFi switches.""" from __future__ import annotations import logging from typing import Any from mficlient.client import FailedToLogin, MFiClient import requests import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_PLATFORM_SCHEMA, SwitchEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mfi/sensor.py
homeassistant/components/mfi/sensor.py
"""Support for Ubiquiti mFi sensors.""" from __future__ import annotations import logging from mficlient.client import FailedToLogin, MFiClient import requests import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorDeviceClass, SensorEntit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mfi/__init__.py
homeassistant/components/mfi/__init__.py
"""The mfi 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/eq3btsmart/schemas.py
homeassistant/components/eq3btsmart/schemas.py
"""Voluptuous schemas for eq3btsmart.""" from eq3btsmart.const import EQ3_MAX_TEMP, EQ3_MIN_TEMP import voluptuous as vol from homeassistant.const import CONF_MAC from homeassistant.helpers import config_validation as cv SCHEMA_TEMPERATURE = vol.Range(min=EQ3_MIN_TEMP, max=EQ3_MAX_TEMP) SCHEMA_DEVICE = vol.Schema({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/eq3btsmart/models.py
homeassistant/components/eq3btsmart/models.py
"""Models for eq3btsmart integration.""" from dataclasses import dataclass from eq3btsmart.thermostat import Thermostat from .const import ( DEFAULT_CURRENT_TEMP_SELECTOR, DEFAULT_SCAN_INTERVAL, DEFAULT_TARGET_TEMP_SELECTOR, CurrentTemperatureSelector, TargetTemperatureSelector, ) @dataclass(sl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/switch.py
homeassistant/components/eq3btsmart/switch.py
"""Platform for eq3 switch entities.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass from datetime import timedelta from functools import partial from typing import Any from eq3btsmart import Thermostat from eq3btsmart.const import EQ3_DEFAULT_AWAY_TEMP, Eq3OperationMode from eq3b...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/number.py
homeassistant/components/eq3btsmart/number.py
"""Platform for eq3 number entities.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import TYPE_CHECKING from eq3btsmart import Thermostat from eq3btsmart.const import EQ3_MAX_OFFSET, EQ3_MAX_TEMP, EQ3_MIN_OFFSET, EQ3_MIN_TEMP from eq3btsmart.models import Presets, St...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/binary_sensor.py
homeassistant/components/eq3btsmart/binary_sensor.py
"""Platform for eq3 binary sensor entities.""" from collections.abc import Callable from dataclasses import dataclass from eq3btsmart.models import Status from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/const.py
homeassistant/components/eq3btsmart/const.py
"""Constants for EQ3 Bluetooth Smart Radiator Valves.""" from enum import Enum from eq3btsmart.const import Eq3OperationMode from homeassistant.components.climate import ( PRESET_AWAY, PRESET_BOOST, PRESET_COMFORT, PRESET_ECO, PRESET_NONE, HVACMode, ) DOMAIN = "eq3btsmart" MANUFACTURER = "e...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/sensor.py
homeassistant/components/eq3btsmart/sensor.py
"""Platform for eq3 sensor entities.""" from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from eq3btsmart.models import Status from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/__init__.py
homeassistant/components/eq3btsmart/__init__.py
"""Support for EQ3 devices.""" import asyncio import logging from typing import TYPE_CHECKING from eq3btsmart import Thermostat from eq3btsmart.exceptions import Eq3Exception from homeassistant.components import bluetooth from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform 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/eq3btsmart/entity.py
homeassistant/components/eq3btsmart/entity.py
"""Base class for all eQ-3 entities.""" from typing import Any from eq3btsmart import Eq3Exception from eq3btsmart.const import Eq3Event from homeassistant.core import callback from homeassistant.helpers.device_registry import ( CONNECTION_BLUETOOTH, DeviceInfo, format_mac, ) from homeassistant.helpers.d...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/climate.py
homeassistant/components/eq3btsmart/climate.py
"""Platform for eQ-3 climate entities.""" from datetime import timedelta import logging from typing import Any from eq3btsmart.const import ( EQ3_DEFAULT_AWAY_TEMP, EQ3_MAX_TEMP, EQ3_OFF_TEMP, Eq3OperationMode, Eq3Preset, ) from eq3btsmart.exceptions import Eq3Exception from homeassistant.compone...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/eq3btsmart/config_flow.py
homeassistant/components/eq3btsmart/config_flow.py
"""Config flow for eQ-3 Bluetooth Smart thermostats.""" from typing import Any from homeassistant.components.bluetooth import BluetoothServiceInfoBleak from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_MAC from homeassistant.helpers.device_registry import forma...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/landisgyr_heat_meter/const.py
homeassistant/components/landisgyr_heat_meter/const.py
"""Constants for the Landis+Gyr Heat Meter integration.""" from datetime import timedelta DOMAIN = "landisgyr_heat_meter" ULTRAHEAT_TIMEOUT = 30 # reading the IR port can take some time POLLING_INTERVAL = timedelta(days=1) # Polling is only daily to prevent battery drain.
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/landisgyr_heat_meter/coordinator.py
homeassistant/components/landisgyr_heat_meter/coordinator.py
"""Data update coordinator for the ultraheat api.""" import asyncio import logging import serial from ultraheat_api.response import HeatMeterResponse from ultraheat_api.service import HeatMeterService from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/landisgyr_heat_meter/sensor.py
homeassistant/components/landisgyr_heat_meter/sensor.py
"""Platform for sensor integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime import logging from ultraheat_api.response import HeatMeterResponse from homeassistant.components.sensor import ( SensorDeviceClass, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/landisgyr_heat_meter/__init__.py
homeassistant/components/landisgyr_heat_meter/__init__.py
"""The Landis+Gyr Heat Meter integration.""" from __future__ import annotations import logging from typing import Any import ultraheat_api from homeassistant.const import CONF_DEVICE, Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_registry import RegistryEntry, asy...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/landisgyr_heat_meter/config_flow.py
homeassistant/components/landisgyr_heat_meter/config_flow.py
"""Config flow for Landis+Gyr Heat Meter integration.""" from __future__ import annotations import asyncio import logging from typing import Any import serial from serial.tools import list_ports import ultraheat_api import voluptuous as vol from homeassistant.components import usb from homeassistant.config_entries ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/azure_storage/const.py
homeassistant/components/azure_storage/const.py
"""Constants for the Azure Storage integration.""" from collections.abc import Callable from typing import Final from homeassistant.util.hass_dict import HassKey DOMAIN: Final = "azure_storage" CONF_STORAGE_ACCOUNT_KEY: Final = "storage_account_key" CONF_ACCOUNT_NAME: Final = "account_name" CONF_CONTAINER_NAME: Fin...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/azure_storage/__init__.py
homeassistant/components/azure_storage/__init__.py
"""The Azure Storage integration.""" from aiohttp import ClientTimeout from azure.core.exceptions import ( AzureError, ClientAuthenticationError, ResourceNotFoundError, ) from azure.core.pipeline.transport._aiohttp import ( AioHttpTransport, ) # need to import from private file, as it is not properly ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/azure_storage/backup.py
homeassistant/components/azure_storage/backup.py
"""Support for Azure Storage backup.""" from __future__ import annotations from collections.abc import AsyncIterator, Callable, Coroutine from functools import wraps import json import logging from typing import Any, Concatenate from azure.core.exceptions import AzureError, HttpResponseError, ServiceRequestError 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/azure_storage/config_flow.py
homeassistant/components/azure_storage/config_flow.py
"""Config flow for Azure Storage integration.""" from collections.abc import Mapping import logging from typing import Any from azure.core.exceptions import ClientAuthenticationError, ResourceNotFoundError from azure.core.pipeline.transport._aiohttp import ( AioHttpTransport, ) # need to import from private file...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/burbank_water_and_power/__init__.py
homeassistant/components/burbank_water_and_power/__init__.py
"""Virtual integration: Burbank Water and Power (BWP)."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/http_api.py
homeassistant/components/mobile_app/http_api.py
"""Provides an HTTP API for mobile_app.""" from __future__ import annotations from contextlib import suppress from http import HTTPStatus import secrets from aiohttp.web import Request, Response from nacl.secret import SecretBox import voluptuous as vol from homeassistant.components import cloud from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/device_tracker.py
homeassistant/components/mobile_app/device_tracker.py
"""Device tracker for Mobile app.""" from typing import Any from homeassistant.components.device_tracker import ( ATTR_BATTERY, ATTR_GPS, ATTR_LOCATION_NAME, TrackerEntity, ) from homeassistant.components.zone import ( ENTITY_ID_FORMAT as ZONE_ENTITY_ID_FORMAT, HOME_ZONE, ) from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/push_notification.py
homeassistant/components/mobile_app/push_notification.py
"""Push notification handling.""" from __future__ import annotations import asyncio from collections.abc import Callable from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.event import async_call_later from homeassistant.util.uuid import random_uuid_hex PUSH_CONFIRM_TIMEOUT = 10 # se...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/util.py
homeassistant/components/mobile_app/util.py
"""Mobile app utility functions.""" from __future__ import annotations import asyncio from typing import TYPE_CHECKING from homeassistant.components import cloud from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from .const import ( ATTR_APP_DATA, AT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/websocket_api.py
homeassistant/components/mobile_app/websocket_api.py
"""Mobile app websocket API.""" from __future__ import annotations from functools import wraps from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant, callback from .const import CONF_USER_ID, DATA_CONFIG_ENTRIES, DATA_PUSH_CH...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/binary_sensor.py
homeassistant/components/mobile_app/binary_sensor.py
"""Binary sensor platform for mobile_app.""" from typing import Any from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_WEBHOOK_ID, STATE_ON, STATE_UNKNOWN from homeassistant.core import HomeAssistant, State, 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/mobile_app/const.py
homeassistant/components/mobile_app/const.py
"""Constants for mobile_app.""" import voluptuous as vol from homeassistant.helpers import config_validation as cv DOMAIN = "mobile_app" STORAGE_KEY = DOMAIN STORAGE_VERSION = 1 CONF_CLOUDHOOK_URL = "cloudhook_url" CONF_REMOTE_UI_URL = "remote_ui_url" CONF_SECRET = "secret" CONF_USER_ID = "user_id" DATA_CONFIG_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/mobile_app/helpers.py
homeassistant/components/mobile_app/helpers.py
"""Helpers for mobile_app.""" from __future__ import annotations from collections.abc import Callable, Mapping from http import HTTPStatus import logging from typing import Any from aiohttp.web import Response, json_response from nacl.encoding import Base64Encoder, HexEncoder, RawEncoder from nacl.secret import Secr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/timers.py
homeassistant/components/mobile_app/timers.py
"""Timers for the mobile app.""" from datetime import timedelta from homeassistant.components import notify from homeassistant.components.intent import TimerEventType, TimerInfo from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_DEVICE_ID 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/mobile_app/webhook.py
homeassistant/components/mobile_app/webhook.py
"""Webhook handlers for mobile_app.""" from __future__ import annotations import asyncio from collections.abc import Callable, Coroutine from contextlib import suppress from functools import lru_cache, wraps from http import HTTPStatus import logging import secrets from typing import Any from aiohttp.web import HTTP...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/sensor.py
homeassistant/components/mobile_app/sensor.py
"""Sensor platform for mobile_app.""" from __future__ import annotations from datetime import date, datetime from typing import TYPE_CHECKING, Any from homeassistant.components.sensor import RestoreSensor, SensorDeviceClass from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_WEB...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/__init__.py
homeassistant/components/mobile_app/__init__.py
"""Integrates Native Apps to Home Assistant.""" from contextlib import suppress from functools import partial from typing import Any from homeassistant.auth import EVENT_USER_REMOVED from homeassistant.components import cloud, intent, notify as hass_notify from homeassistant.components.webhook import ( async_regi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/entity.py
homeassistant/components/mobile_app/entity.py
"""An entity class for mobile_app.""" from __future__ import annotations import logging from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_ICON, CONF_NAME, CONF_UNIQUE_ID, STATE_UNAVAILABLE, STATE_UNKNOWN, ) from homeassistant.core import State, callback 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/mobile_app/device_action.py
homeassistant/components/mobile_app/device_action.py
"""Provides device actions for Mobile App.""" from __future__ import annotations import voluptuous as vol from homeassistant.components import notify from homeassistant.components.device_automation import InvalidDeviceAutomationConfig from homeassistant.const import CONF_DEVICE_ID, CONF_DOMAIN, CONF_TYPE from homeas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mobile_app/logbook.py
homeassistant/components/mobile_app/logbook.py
"""Describe mobile_app logbook events.""" from __future__ import annotations from collections.abc import Callable from typing import Any from homeassistant.components.logbook import ( LOGBOOK_ENTRY_ENTITY_ID, LOGBOOK_ENTRY_ICON, LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME, ) 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/mobile_app/notify.py
homeassistant/components/mobile_app/notify.py
"""Support for mobile_app push notifications.""" from __future__ import annotations import asyncio from functools import partial from http import HTTPStatus import logging import aiohttp from homeassistant.components.notify import ( ATTR_DATA, ATTR_MESSAGE, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_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/mobile_app/config_flow.py
homeassistant/components/mobile_app/config_flow.py
"""Config flow for Mobile App.""" from typing import Any import uuid from homeassistant.components import person from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import ATTR_DEVICE_ID from homeassistant.helpers import entity_registry as er from .const import ATTR_APP_ID,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gdacs/diagnostics.py
homeassistant/components/gdacs/diagnostics.py
"""Diagnostics support for GDACS integration.""" from __future__ import annotations from typing import Any from aio_georss_client.status_update import StatusUpdate from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE from homeassistant.core...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gdacs/const.py
homeassistant/components/gdacs/const.py
"""Define constants for the GDACS integration.""" from datetime import timedelta from aio_georss_gdacs.consts import EVENT_TYPE_MAP from homeassistant.const import Platform DOMAIN = "gdacs" PLATFORMS = [Platform.GEO_LOCATION, Platform.SENSOR] CONF_CATEGORIES = "categories" DEFAULT_ICON = "mdi:alert" DEFAULT_RADI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gdacs/geo_location.py
homeassistant/components/gdacs/geo_location.py
"""Geolocation support for GDACS Feed.""" from __future__ import annotations from collections.abc import Callable from datetime import datetime import logging from typing import Any from aio_georss_gdacs.feed_entry import GdacsFeedEntry from homeassistant.components.geo_location import GeolocationEvent 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/gdacs/sensor.py
homeassistant/components/gdacs/sensor.py
"""Feed Entity Manager Sensor support for GDACS Feed.""" from __future__ import annotations from collections.abc import Callable from datetime import datetime import logging from typing import Any from aio_georss_client.status_update import StatusUpdate from homeassistant.components.sensor import SensorEntity 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/gdacs/__init__.py
homeassistant/components/gdacs/__init__.py
"""The Global Disaster Alert and Coordination System (GDACS) integration.""" from __future__ import annotations from collections.abc import Callable from datetime import datetime, timedelta import logging from aio_georss_client.status_update import StatusUpdate from aio_georss_gdacs import GdacsFeedManager 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/gdacs/config_flow.py
homeassistant/components/gdacs/config_flow.py
"""Config flow to configure the GDACS integration.""" import logging from typing import Any import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import ( CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_SCAN_INTERVAL, ) 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/syncthing/const.py
homeassistant/components/syncthing/const.py
"""Constants for the syncthing integration.""" from datetime import timedelta DOMAIN = "syncthing" DEFAULT_VERIFY_SSL = True DEFAULT_URL = "http://127.0.0.1:8384" RECONNECT_INTERVAL = timedelta(seconds=10) SCAN_INTERVAL = timedelta(seconds=120) FOLDER_SUMMARY_RECEIVED = "syncthing_folder_summary_received" FOLDER_P...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/syncthing/sensor.py
homeassistant/components/syncthing/sensor.py
"""Support for monitoring the Syncthing instance.""" import aiosyncthing from homeassistant.components.sensor import SensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import PlatformNotReady 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/syncthing/__init__.py
homeassistant/components/syncthing/__init__.py
"""The syncthing integration.""" import asyncio import logging import aiosyncthing from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONF_TOKEN, CONF_URL, CONF_VERIFY_SSL, EVENT_HOMEASSISTANT_STOP, Platform, ) from homeassistant.core import HomeAssistant 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/syncthing/config_flow.py
homeassistant/components/syncthing/config_flow.py
"""Config flow for syncthing integration.""" from typing import Any import aiosyncthing import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_TOKEN, CONF_URL, CONF_VERIFY_SSL from homeassistant.core import HomeAssistant from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/diagnostics.py
homeassistant/components/comelit/diagnostics.py
"""Diagnostics support for Comelit integration.""" from __future__ import annotations from typing import Any from aiocomelit import ( ComelitSerialBridgeObject, ComelitVedoAreaObject, ComelitVedoZoneObject, ) from aiocomelit.const import BRIDGE from homeassistant.components.diagnostics import async_reda...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/cover.py
homeassistant/components/comelit/cover.py
"""Support for covers.""" from __future__ import annotations from typing import Any, cast from aiocomelit import ComelitSerialBridgeObject from aiocomelit.const import COVER, STATE_COVER, STATE_OFF, STATE_ON from homeassistant.components.cover import CoverDeviceClass, CoverEntity, CoverState from homeassistant.core...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/switch.py
homeassistant/components/comelit/switch.py
"""Support for switches.""" from __future__ import annotations from typing import Any, cast from aiocomelit import ComelitSerialBridgeObject from aiocomelit.const import IRRIGATION, OTHER, STATE_OFF, STATE_ON from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity from homeassistant.core 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/comelit/binary_sensor.py
homeassistant/components/comelit/binary_sensor.py
"""Support for sensors.""" from __future__ import annotations from typing import TYPE_CHECKING, cast from aiocomelit.api import ComelitVedoZoneObject from aiocomelit.const import ALARM_ZONE, AlarmZoneState from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) 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/comelit/const.py
homeassistant/components/comelit/const.py
"""Comelit constants.""" import logging from aiocomelit.api import ( ComelitSerialBridgeObject, ComelitVedoAreaObject, ComelitVedoZoneObject, ) from aiocomelit.const import BRIDGE, VEDO _LOGGER = logging.getLogger(__package__) ObjectClassType = ( ComelitSerialBridgeObject | ComelitVedoAreaObject | 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/comelit/coordinator.py
homeassistant/components/comelit/coordinator.py
"""Support for Comelit.""" from abc import abstractmethod from collections.abc import Mapping from datetime import timedelta from typing import TypeVar, cast from aiocomelit.api import ComelitCommonApi, ComeliteSerialBridgeApi, ComelitVedoApi from aiocomelit.const import ( ALARM_AREA, ALARM_ZONE, BRIDGE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/utils.py
homeassistant/components/comelit/utils.py
"""Utils for Comelit.""" from collections.abc import Awaitable, Callable, Coroutine from functools import wraps from typing import TYPE_CHECKING, Any, Concatenate from aiocomelit.api import ComelitSerialBridgeObject from aiocomelit.exceptions import CannotAuthenticate, CannotConnect, CannotRetrieveData from aiohttp 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/comelit/sensor.py
homeassistant/components/comelit/sensor.py
"""Support for sensors.""" from __future__ import annotations from typing import TYPE_CHECKING, Final, cast from aiocomelit.api import ComelitSerialBridgeObject, ComelitVedoZoneObject from aiocomelit.const import ALARM_ZONE, OTHER, AlarmZoneState from homeassistant.components.sensor import ( SensorDeviceClass, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/__init__.py
homeassistant/components/comelit/__init__.py
"""Comelit integration.""" from aiocomelit.const import BRIDGE from homeassistant.const import CONF_HOST, CONF_PIN, CONF_PORT, CONF_TYPE, Platform from homeassistant.core import HomeAssistant from .const import CONF_VEDO_PIN, DEFAULT_PORT from .coordinator import ( ComelitBaseCoordinator, ComelitConfigEntry,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/humidifier.py
homeassistant/components/comelit/humidifier.py
"""Support for humidifiers.""" from __future__ import annotations from enum import StrEnum from typing import Any, cast from aiocomelit import ComelitSerialBridgeObject from aiocomelit.const import CLIMATE from homeassistant.components.humidifier import ( DOMAIN as HUMIDIFIER_DOMAIN, MODE_AUTO, MODE_NOR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/entity.py
homeassistant/components/comelit/entity.py
"""Base entity for Comelit.""" from __future__ import annotations from aiocomelit import ComelitSerialBridgeObject from homeassistant.helpers.update_coordinator import CoordinatorEntity from .coordinator import ComelitSerialBridge class ComelitBridgeBaseEntity(CoordinatorEntity[ComelitSerialBridge]): """Comel...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/alarm_control_panel.py
homeassistant/components/comelit/alarm_control_panel.py
"""Support for Comelit VEDO system.""" from __future__ import annotations import logging from typing import TYPE_CHECKING, cast from aiocomelit.api import ComelitVedoAreaObject from aiocomelit.const import ALARM_AREA, AlarmAreaState from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/climate.py
homeassistant/components/comelit/climate.py
"""Support for climates.""" from __future__ import annotations from enum import StrEnum from typing import Any, TypedDict, cast from aiocomelit import ComelitSerialBridgeObject from aiocomelit.const import CLIMATE from homeassistant.components.climate import ( DOMAIN as CLIMATE_DOMAIN, ClimateEntity, Cl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/light.py
homeassistant/components/comelit/light.py
"""Support for lights.""" from __future__ import annotations from typing import Any, cast from aiocomelit.const import LIGHT, STATE_OFF, STATE_ON from homeassistant.components.light import ColorMode, LightEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfig...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comelit/config_flow.py
homeassistant/components/comelit/config_flow.py
"""Config flow for Comelit integration.""" from __future__ import annotations from asyncio.exceptions import TimeoutError from collections.abc import Mapping import re from typing import TYPE_CHECKING, Any from aiocomelit import ( ComeliteSerialBridgeApi, ComelitVedoApi, exceptions as aiocomelit_exceptio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/light/device_trigger.py
homeassistant/components/light/device_trigger.py
"""Provides device trigger for lights.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import toggle_entity from homeassistant.const import CONF_DOMAIN from homeassistant.core import CALLBACK_TYPE, HomeAssistant from homeassistant.helpers.trigger 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/light/device_condition.py
homeassistant/components/light/device_condition.py
"""Provides device conditions for lights.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import toggle_entity from homeassistant.const import CONF_DOMAIN from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.condition 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/light/condition.py
homeassistant/components/light/condition.py
"""Provides conditions for lights.""" from collections.abc import Callable from typing import TYPE_CHECKING, Any, Final, Unpack, override import voluptuous as vol from homeassistant.const import CONF_OPTIONS, CONF_TARGET, STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant, split_entity_id 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/light/significant_change.py
homeassistant/components/light/significant_change.py
"""Helper to test significant Light state changes.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.significant_change import check_absolute_change from . import ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ATTR_EFFECT, ATTR_H...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/light/const.py
homeassistant/components/light/const.py
"""Provides constants for lights.""" from __future__ import annotations from datetime import timedelta from enum import IntFlag, StrEnum from typing import TYPE_CHECKING from homeassistant.util.hass_dict import HassKey if TYPE_CHECKING: from homeassistant.helpers.entity_component import EntityComponent 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/light/intent.py
homeassistant/components/light/intent.py
"""Intents for the light integration.""" from __future__ import annotations import logging import voluptuous as vol from homeassistant.const import SERVICE_TURN_ON from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv, intent from homeassistant.util import color as 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/light/reproduce_state.py
homeassistant/components/light/reproduce_state.py
"""Reproduce an Light state.""" from __future__ import annotations import asyncio from collections.abc import Iterable, Mapping import logging from typing import Any, NamedTuple, cast from homeassistant.const import ( ATTR_ENTITY_ID, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_OFF, STATE_ON, ) 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/light/__init__.py
homeassistant/components/light/__init__.py
"""Provides functionality to interact with lights.""" from __future__ import annotations from collections.abc import Iterable import csv import dataclasses from functools import partial import logging import os from typing import TYPE_CHECKING, Any, Final, Self, cast, final from propcache.api import cached_property ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/light/device_action.py
homeassistant/components/light/device_action.py
"""Provides device actions for lights.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( async_get_entity_registry_entry_or_raise, async_validate_entity_schema, toggle_entity, ) from homeassistant.const import ( ATTR_ENTITY_ID, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/light/trigger.py
homeassistant/components/light/trigger.py
"""Provides triggers for lights.""" from homeassistant.const import STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant from homeassistant.helpers.trigger import ( Trigger, make_entity_numerical_state_attribute_changed_trigger, make_entity_numerical_state_attribute_crossed_threshold_trigger, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watts/application_credentials.py
homeassistant/components/watts/application_credentials.py
"""Application credentials for Watts integration.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant from .const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watts/const.py
homeassistant/components/watts/const.py
"""Constants for the Watts Vision+ integration.""" from visionpluspython.models import ThermostatMode from homeassistant.components.climate import HVACMode DOMAIN = "watts" OAUTH2_AUTHORIZE = "https://visionlogin.b2clogin.com/visionlogin.onmicrosoft.com/B2C_1A_VISION_UNIFIEDSIGNUPORSIGNIN/oauth2/v2.0/authorize" OAU...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watts/coordinator.py
homeassistant/components/watts/coordinator.py
"""Data coordinator for Watts Vision integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import datetime, timedelta import logging from typing import TYPE_CHECKING from visionpluspython.client import WattsVisionClient from visionpluspython.exceptions import ( WattsV...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watts/__init__.py
homeassistant/components/watts/__init__.py
"""The Watts Vision + integration.""" from __future__ import annotations from dataclasses import dataclass from http import HTTPStatus import logging from aiohttp import ClientError, ClientResponseError from visionpluspython.auth import WattsVisionAuth from visionpluspython.client import WattsVisionClient from visio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watts/entity.py
homeassistant/components/watts/entity.py
"""Base entity for Watts Vision integration.""" from __future__ import annotations from visionpluspython.models import ThermostatDevice from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator 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/watts/climate.py
homeassistant/components/watts/climate.py
"""Climate platform for Watts Vision integration.""" from __future__ import annotations import logging from typing import Any from visionpluspython.models import ThermostatDevice from homeassistant.components.climate import ( ClimateEntity, ClimateEntityFeature, HVACMode, ) from homeassistant.const 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/watts/config_flow.py
homeassistant/components/watts/config_flow.py
"""Config flow for Watts Vision integration.""" import logging from typing import Any from visionpluspython.auth import WattsVisionAuth from homeassistant.config_entries import ConfigFlowResult from homeassistant.helpers import config_entry_oauth2_flow from .const import DOMAIN, OAUTH2_SCOPES class OAuth2FlowHand...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iqvia/diagnostics.py
homeassistant/components/iqvia/diagnostics.py
"""Diagnostics support for IQVIA.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_UNIQUE_ID from homeassistant.core import HomeAssistant from .const import CONF_ZIP_CODE from .coordinator import Iqvi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iqvia/const.py
homeassistant/components/iqvia/const.py
"""Define IQVIA constants.""" import logging LOGGER = logging.getLogger(__package__) DOMAIN = "iqvia" CONF_ZIP_CODE = "zip_code" TYPE_ALLERGY_FORECAST = "allergy_average_forecasted" TYPE_ALLERGY_INDEX = "allergy_index" TYPE_ALLERGY_OUTLOOK = "allergy_outlook" TYPE_ALLERGY_TODAY = "allergy_index_today" TYPE_ALLERGY...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iqvia/coordinator.py
homeassistant/components/iqvia/coordinator.py
"""Support for IQVIA.""" from __future__ import annotations from collections.abc import Callable, Coroutine from datetime import timedelta from typing import Any from pyiqvia.errors import IQVIAError from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iqvia/sensor.py
homeassistant/components/iqvia/sensor.py
"""Support for IQVIA sensors.""" from __future__ import annotations from statistics import mean from typing import Any, NamedTuple, cast import numpy as np from homeassistant.components.sensor import ( SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ATTR_STATE ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iqvia/__init__.py
homeassistant/components/iqvia/__init__.py
"""Support for IQVIA.""" from __future__ import annotations import asyncio from pyiqvia import Client from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import aiohttp_client from .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/iqvia/entity.py
homeassistant/components/iqvia/entity.py
"""Support for IQVIA.""" from __future__ import annotations from homeassistant.core import callback from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import CONF_ZIP_CODE, TYPE_ALLERGY_FORECAST, TYPE_ALLERGY_OUTLOOK from .coo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iqvia/config_flow.py
homeassistant/components/iqvia/config_flow.py
"""Config flow to configure the IQVIA component.""" from __future__ import annotations from typing import Any from pyiqvia import Client from pyiqvia.errors import InvalidZipError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.helpers import aiohttp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/heatmiser/__init__.py
homeassistant/components/heatmiser/__init__.py
"""The heatmiser 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/heatmiser/climate.py
homeassistant/components/heatmiser/climate.py
"""Support for the PRT Heatmiser thermostats using the V3 protocol.""" from __future__ import annotations import logging from typing import Any from heatmiserv3 import connection, heatmiser import voluptuous as vol from homeassistant.components.climate import ( PLATFORM_SCHEMA as CLIMATE_PLATFORM_SCHEMA, Cl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false