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/yale/__init__.py
homeassistant/components/yale/__init__.py
"""Support for Yale devices.""" from __future__ import annotations from pathlib import Path from typing import cast from aiohttp import ClientResponseError from yalexs.const import Brand from yalexs.exceptions import YaleApiError from yalexs.manager.const import CONF_BRAND from yalexs.manager.exceptions import Canno...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/yale/entity.py
homeassistant/components/yale/entity.py
"""Base class for Yale entity.""" from abc import abstractmethod from yalexs.activity import Activity, ActivityType from yalexs.doorbell import Doorbell, DoorbellDetail from yalexs.keypad import KeypadDetail from yalexs.lock import Lock, LockDetail from yalexs.util import get_configuration_url from homeassistant.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/yale/button.py
homeassistant/components/yale/button.py
"""Support for Yale buttons.""" from homeassistant.components.button import ButtonEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import YaleConfigEntry from .entity import YaleEntity async def async_setup_entry( ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/yale/data.py
homeassistant/components/yale/data.py
"""Support for Yale devices.""" from __future__ import annotations from yalexs.lock import LockDetail from yalexs.manager.data import YaleXSData from yalexs_ble import YaleXSBLEDiscovery from homeassistant.config_entries import SOURCE_INTEGRATION_DISCOVERY from homeassistant.core import HomeAssistant, callback 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/yale/config_flow.py
homeassistant/components/yale/config_flow.py
"""Config flow for Yale integration.""" from collections.abc import Mapping import logging from typing import Any import jwt from homeassistant.config_entries import SOURCE_REAUTH, ConfigFlowResult from homeassistant.helpers import config_entry_oauth2_flow from .const import DOMAIN _LOGGER = logging.getLogger(__na...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/yale/gateway.py
homeassistant/components/yale/gateway.py
"""Handle Yale connection setup and authentication.""" import logging from pathlib import Path from aiohttp import ClientSession from yalexs.authenticator_common import Authentication, AuthenticationState from yalexs.manager.gateway import Gateway from homeassistant.helpers import config_entry_oauth2_flow _LOGGER =...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zone/condition.py
homeassistant/components/zone/condition.py
"""Offer zone automation rules.""" from __future__ import annotations from typing import Any, Unpack, cast import voluptuous as vol from homeassistant.const import ( ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, CONF_ENTITY_ID, CONF_OPTIONS, CONF_ZONE, STATE_UNAVAILABLE, STATE_UN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zone/const.py
homeassistant/components/zone/const.py
"""Constants for the zone component.""" CONF_PASSIVE = "passive" DOMAIN = "zone" HOME_ZONE = "home" ATTR_PASSIVE = "passive" ATTR_RADIUS = "radius"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zone/__init__.py
homeassistant/components/zone/__init__.py
"""Support for the definition of zones.""" from __future__ import annotations from collections.abc import Callable import logging from operator import attrgetter import sys from typing import Any, Self, cast import voluptuous as vol from homeassistant import config_entries from homeassistant.const import ( ATTR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zone/trigger.py
homeassistant/components/zone/trigger.py
"""Offer zone automation rules.""" from __future__ import annotations import logging import voluptuous as vol from homeassistant.const import ( ATTR_FRIENDLY_NAME, CONF_ENTITY_ID, CONF_EVENT, CONF_PLATFORM, CONF_ZONE, ) from homeassistant.core import ( CALLBACK_TYPE, Event, EventStat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zone/config_flow.py
homeassistant/components/zone/config_flow.py
"""Config flow to configure zone component. This is no longer in use. This file is around so that existing config entries will remain to be loaded and then automatically migrated to the storage collection. """ from homeassistant.config_entries import ConfigFlow from .const import DOMAIN class ZoneConfigFlow(Config...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/device_tracker.py
homeassistant/components/mysensors/device_tracker.py
"""Support for tracking MySensors devices.""" from __future__ import annotations from homeassistant.components.device_tracker import TrackerEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback from homeassistant.hel...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/handler.py
homeassistant/components/mysensors/handler.py
"""Handle MySensors messages.""" from __future__ import annotations from collections.abc import Callable from mysensors import Message from mysensors.const import SYSTEM_CHILD_ID from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher 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/mysensors/cover.py
homeassistant/components/mysensors/cover.py
"""Support for MySensors covers.""" from __future__ import annotations from enum import Enum, unique from typing import Any from homeassistant.components.cover import ATTR_POSITION, CoverEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import STATE_ON, Platform 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/mysensors/switch.py
homeassistant/components/mysensors/switch.py
"""Support for MySensors switches.""" from __future__ import annotations from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import STATE_ON, Platform from homeassistant.core import HomeAssistant from homeassist...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/binary_sensor.py
homeassistant/components/mysensors/binary_sensor.py
"""Support for MySensors binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/mysensors/const.py
homeassistant/components/mysensors/const.py
"""MySensors constants.""" from __future__ import annotations from collections import defaultdict from typing import Final, Literal, TypedDict from homeassistant.const import Platform ATTR_DEVICES: Final = "devices" ATTR_GATEWAY_ID: Final = "gateway_id" ATTR_NODE_ID: Final = "node_id" CONF_BAUD_RATE: Final = "baud...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/helpers.py
homeassistant/components/mysensors/helpers.py
"""Helper functions for mysensors package.""" from __future__ import annotations from collections import defaultdict from collections.abc import Callable from enum import IntEnum import logging from typing import cast from mysensors import BaseAsyncGateway, Message from mysensors.sensor import ChildSensor import vol...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/sensor.py
homeassistant/components/mysensors/sensor.py
"""Support for MySensors sensors.""" from __future__ import annotations from typing import Any from awesomeversion import AwesomeVersion from mysensors import BaseAsyncGateway 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/mysensors/__init__.py
homeassistant/components/mysensors/__init__.py
"""Connect to a MySensors gateway via pymysensors API.""" from __future__ import annotations from collections.abc import Callable, Mapping import logging from mysensors import BaseAsyncGateway from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core impor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/remote.py
homeassistant/components/mysensors/remote.py
"""Support MySensors IR transceivers.""" from __future__ import annotations from collections.abc import Iterable from typing import Any, cast from homeassistant.components.remote import ( ATTR_COMMAND, RemoteEntity, RemoteEntityFeature, ) from homeassistant.config_entries import ConfigEntry 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/mysensors/entity.py
homeassistant/components/mysensors/entity.py
"""Handle MySensors devices.""" from __future__ import annotations from abc import abstractmethod import logging from typing import Any from mysensors import BaseAsyncGateway, Sensor from mysensors.sensor import ChildSensor from homeassistant.const import ( ATTR_BATTERY_LEVEL, CONF_DEVICE, STATE_OFF, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/text.py
homeassistant/components/mysensors/text.py
"""Provide a text platform for MySensors.""" from __future__ import annotations from homeassistant.components.text import TextEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatche...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/climate.py
homeassistant/components/mysensors/climate.py
"""MySensors platform that offers a Climate (MySensors-HVAC) component.""" from __future__ import annotations from typing import Any from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, ClimateEntity, ClimateEntityFeature, HVACMode, ) from homeassistant.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/mysensors/light.py
homeassistant/components/mysensors/light.py
"""Support for MySensors lights.""" from __future__ import annotations from typing import Any, cast from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_RGB_COLOR, ATTR_RGBW_COLOR, ColorMode, LightEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.cons...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/config_flow.py
homeassistant/components/mysensors/config_flow.py
"""Config flow for MySensors.""" from __future__ import annotations import os from typing import Any from awesomeversion import ( AwesomeVersion, AwesomeVersionStrategy, AwesomeVersionStrategyException, ) import voluptuous as vol from homeassistant.components.mqtt import ( DOMAIN as MQTT_DOMAIN, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mysensors/gateway.py
homeassistant/components/mysensors/gateway.py
"""Handle MySensors gateways.""" from __future__ import annotations import asyncio from collections import defaultdict from collections.abc import Callable import logging import socket import sys from typing import Any from mysensors import BaseAsyncGateway, Message, Sensor, get_const, mysensors 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/madeco/__init__.py
homeassistant/components/madeco/__init__.py
"""Virtual integration: Madeco."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/vad.py
homeassistant/components/assist_pipeline/vad.py
"""Voice activity detection.""" from __future__ import annotations from collections.abc import Callable, Iterable from dataclasses import dataclass from enum import StrEnum import logging from .const import SAMPLE_CHANNELS, SAMPLE_RATE, SAMPLE_WIDTH _LOGGER = logging.getLogger(__name__) class VadSensitivity(StrEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/error.py
homeassistant/components/assist_pipeline/error.py
"""Assist pipeline errors.""" from homeassistant.exceptions import HomeAssistantError class PipelineError(HomeAssistantError): """Base class for pipeline errors.""" def __init__(self, code: str, message: str) -> None: """Set error message.""" self.code = code self.message = message ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/websocket_api.py
homeassistant/components/assist_pipeline/websocket_api.py
"""Assist pipeline Websocket API.""" import asyncio import base64 from collections.abc import AsyncGenerator, Callable import contextlib import logging import math from typing import Any, Final import audioop # pylint: disable=deprecated-module import voluptuous as vol from homeassistant.components import conversat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/const.py
homeassistant/components/assist_pipeline/const.py
"""Constants for the Assist pipeline integration.""" from pathlib import Path DOMAIN = "assist_pipeline" DATA_CONFIG = f"{DOMAIN}.config" DEFAULT_PIPELINE_TIMEOUT = 60 * 5 # seconds DEFAULT_WAKE_WORD_TIMEOUT = 3 # seconds CONF_DEBUG_RECORDING_DIR = "debug_recording_dir" DATA_LAST_WAKE_UP = f"{DOMAIN}.last_wake...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/ring_buffer.py
homeassistant/components/assist_pipeline/ring_buffer.py
"""Implementation of a ring buffer using bytearray.""" class RingBuffer: """Basic ring buffer using a bytearray. Not threadsafe. """ def __init__(self, maxlen: int) -> None: """Initialize empty buffer.""" self._buffer = bytearray(maxlen) self._pos = 0 self._length = 0...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/pipeline.py
homeassistant/components/assist_pipeline/pipeline.py
"""Classes for voice assistant pipelines.""" from __future__ import annotations import array import asyncio from collections import defaultdict, deque from collections.abc import AsyncGenerator, AsyncIterable, Callable from dataclasses import asdict, dataclass, field from enum import StrEnum import logging from pathl...
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/assist_pipeline/repair_flows.py
homeassistant/components/assist_pipeline/repair_flows.py
"""Repairs implementation for the cloud integration.""" from __future__ import annotations from typing import cast import voluptuous as vol from homeassistant.components.assist_satellite import DOMAIN as ASSIST_SATELLITE_DOMAIN from homeassistant.components.repairs import RepairsFlow from homeassistant.data_entry_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/assist_pipeline/__init__.py
homeassistant/components/assist_pipeline/__init__.py
"""The Assist pipeline integration.""" from __future__ import annotations from collections.abc import AsyncIterable from typing import Any import voluptuous as vol from homeassistant.components import stt from homeassistant.core import Context, HomeAssistant from homeassistant.helpers import chat_session from homea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/logbook.py
homeassistant/components/assist_pipeline/logbook.py
"""Describe assist_pipeline logbook events.""" from __future__ import annotations from collections.abc import Callable from homeassistant.components.logbook import LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME from homeassistant.const import ATTR_DEVICE_ID from homeassistant.core import Event, HomeAssistant, callback 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/assist_pipeline/select.py
homeassistant/components/assist_pipeline/select.py
"""Select entities for a pipeline.""" from __future__ import annotations from collections.abc import Iterable from dataclasses import replace from homeassistant.components.select import SelectEntity, SelectEntityDescription from homeassistant.const import EntityCategory, Platform from homeassistant.core import HomeA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/assist_pipeline/audio_enhancer.py
homeassistant/components/assist_pipeline/audio_enhancer.py
"""Audio enhancement for Assist.""" from abc import ABC, abstractmethod from dataclasses import dataclass import logging import math from pysilero_vad import SileroVoiceActivityDetector from pyspeex_noise import AudioProcessor from .const import BYTES_PER_CHUNK _LOGGER = logging.getLogger(__name__) @dataclass(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/kentuckypower/__init__.py
homeassistant/components/kentuckypower/__init__.py
"""Virtual integration: Kentucky Power."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/proliphix/__init__.py
homeassistant/components/proliphix/__init__.py
"""The proliphix 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/proliphix/climate.py
homeassistant/components/proliphix/climate.py
"""Support for Proliphix NT10e Thermostats.""" from __future__ import annotations from typing import Any import proliphix import voluptuous as vol from homeassistant.components.climate import ( PLATFORM_SCHEMA as CLIMATE_PLATFORM_SCHEMA, ClimateEntity, ClimateEntityFeature, HVACAction, HVACMode,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensirion_ble/const.py
homeassistant/components/sensirion_ble/const.py
"""Constants for the sensirion_ble integration.""" DOMAIN = "sensirion_ble"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensirion_ble/sensor.py
homeassistant/components/sensirion_ble/sensor.py
"""Support for Sensirion sensors.""" from __future__ import annotations from sensor_state_data import ( DeviceKey, SensorDescription, SensorDeviceClass as SSDSensorDeviceClass, SensorUpdate, Units, ) from homeassistant import config_entries from homeassistant.components.bluetooth.passive_update_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/sensirion_ble/__init__.py
homeassistant/components/sensirion_ble/__init__.py
"""The sensirion_ble integration.""" from __future__ import annotations import logging from sensirion_ble import SensirionBluetoothDeviceData from homeassistant.components.bluetooth import BluetoothScanningMode from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothProcessorCo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensirion_ble/config_flow.py
homeassistant/components/sensirion_ble/config_flow.py
"""Config flow for sensirion_ble.""" from __future__ import annotations from typing import Any from sensirion_ble import SensirionBluetoothDeviceData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_discovered_service_info, ) from homeassistant.confi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/msteams/__init__.py
homeassistant/components/msteams/__init__.py
"""The Microsoft Teams 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/msteams/notify.py
homeassistant/components/msteams/notify.py
"""Microsoft Teams platform for notify component.""" from __future__ import annotations import logging import pymsteams import voluptuous as vol from homeassistant.components.notify import ( ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA as NOTIFY_PLATFORM_SCHEMA, BaseNotificationSer...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/adax/const.py
homeassistant/components/adax/const.py
"""Constants for the Adax integration.""" import datetime from typing import Final ACCOUNT_ID: Final = "account_id" CLOUD = "Cloud" CONNECTION_TYPE = "connection_type" DOMAIN: Final = "adax" LOCAL = "Local" WIFI_SSID = "wifi_ssid" WIFI_PSWD = "wifi_pswd" SCAN_INTERVAL = datetime.timedelta(seconds=60)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/adax/coordinator.py
homeassistant/components/adax/coordinator.py
"""DataUpdateCoordinator for the Adax component.""" import logging from typing import Any, cast from adax import Adax from adax_local import Adax as AdaxLocal from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_IP_ADDRESS, CONF_PASSWORD, CONF_TOKEN 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/adax/sensor.py
homeassistant/components/adax/sensor.py
"""Support for Adax energy sensors.""" from __future__ import annotations from dataclasses import dataclass from typing import cast from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import UnitOfEnergy,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/adax/__init__.py
homeassistant/components/adax/__init__.py
"""The Adax integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .const import CONNECTION_TYPE, LOCAL from .coordinator import AdaxCloudCoordinator, AdaxConfigEntry, AdaxLocalCoordinator PLATFORMS = [Platform.CLIMATE, Platform....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/adax/climate.py
homeassistant/components/adax/climate.py
"""Support for Adax wifi-enabled home heaters.""" from __future__ import annotations from typing import Any, cast from adax import Adax from adax_local import Adax as AdaxLocal from homeassistant.components.climate import ( ClimateEntity, ClimateEntityFeature, HVACMode, ) 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/adax/config_flow.py
homeassistant/components/adax/config_flow.py
"""Config flow for Adax integration.""" from __future__ import annotations import logging from typing import Any import adax import adax_local import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import ( CONF_IP_ADDRESS, CONF_PASSWORD, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/buienradar/weather.py
homeassistant/components/buienradar/weather.py
"""Support for Buienradar.nl weather service.""" import logging from buienradar.constants import ( CONDCODE, CONDITION, DATETIME, MAX_TEMP, MIN_TEMP, RAIN, RAIN_CHANCE, WINDAZIMUTH, WINDSPEED, ) from homeassistant.components.weather import ( ATTR_CONDITION_CLOUDY, ATTR_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/buienradar/util.py
homeassistant/components/buienradar/util.py
"""Shared utilities for different supported platforms.""" from datetime import datetime, timedelta from http import HTTPStatus import logging from typing import Any import aiohttp from buienradar.buienradar import parse_data from buienradar.constants import ( ATTRIBUTION, CONDITION, CONTENT, DATA, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/buienradar/camera.py
homeassistant/components/buienradar/camera.py
"""Provide animated GIF loops of Buienradar imagery.""" from __future__ import annotations import asyncio from datetime import datetime, timedelta import logging import aiohttp import voluptuous as vol from homeassistant.components.camera import Camera from homeassistant.const import CONF_COUNTRY_CODE, CONF_LATITUD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/buienradar/const.py
homeassistant/components/buienradar/const.py
"""Constants for buienradar component.""" DOMAIN = "buienradar" DEFAULT_TIMEOUT = 60 DEFAULT_TIMEFRAME = 60 DEFAULT_DIMENSION = 700 DEFAULT_DELTA = 600 CONF_DELTA = "delta" CONF_TIMEFRAME = "timeframe" SUPPORTED_COUNTRY_CODES = ["NL", "BE"] DEFAULT_COUNTRY = "NL" SCHEDULE_OK = 10 """Schedule next call after (minu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/buienradar/sensor.py
homeassistant/components/buienradar/sensor.py
"""Support for Buienradar.nl weather service.""" from __future__ import annotations import logging from buienradar.constants import ( ATTRIBUTION, CONDCODE, CONDITION, DETAILED, EXACT, EXACTNL, FORECAST, IMAGE, MEASURED, PRECIPITATION_FORECAST, STATIONNAME, TIMEFRAME, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/buienradar/__init__.py
homeassistant/components/buienradar/__init__.py
"""The buienradar integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .util import BrData PLATFORMS = [Platform.CAMERA, Platform.SENSOR, Platform.WEATHER] type BuienRadarCo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/buienradar/config_flow.py
homeassistant/components/buienradar/config_flow.py
"""Config flow for buienradar integration.""" from __future__ import annotations import copy from typing import Any, cast import voluptuous as vol from homeassistant.config_entries import ConfigEntry, ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_COUNTRY_CODE, CONF_LATITUDE, CONF_LONGITUDE 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/powerfox/diagnostics.py
homeassistant/components/powerfox/diagnostics.py
"""Support for Powerfox diagnostics.""" from __future__ import annotations from datetime import datetime from typing import Any from powerfox import HeatMeter, PowerMeter, WaterMeter from homeassistant.core import HomeAssistant from .coordinator import PowerfoxConfigEntry, PowerfoxDataUpdateCoordinator async def...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerfox/const.py
homeassistant/components/powerfox/const.py
"""Constants for the Powerfox integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Final DOMAIN: Final = "powerfox" LOGGER = logging.getLogger(__package__) SCAN_INTERVAL = timedelta(seconds=10)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerfox/coordinator.py
homeassistant/components/powerfox/coordinator.py
"""Coordinator for Powerfox integration.""" from __future__ import annotations from powerfox import ( Device, Powerfox, PowerfoxAuthenticationError, PowerfoxConnectionError, PowerfoxNoDataError, Poweropti, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import 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/powerfox/sensor.py
homeassistant/components/powerfox/sensor.py
"""Sensors for Powerfox integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from powerfox import Device, HeatMeter, PowerMeter, WaterMeter from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDesc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerfox/__init__.py
homeassistant/components/powerfox/__init__.py
"""The Powerfox integration.""" from __future__ import annotations import asyncio from powerfox import DeviceType, Powerfox, PowerfoxConnectionError from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotRea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerfox/entity.py
homeassistant/components/powerfox/entity.py
"""Generic entity for Powerfox.""" from __future__ import annotations from powerfox import Device from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import PowerfoxDataUpdateCoordinator cla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerfox/config_flow.py
homeassistant/components/powerfox/config_flow.py
"""Config flow for Powerfox integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from powerfox import Powerfox, PowerfoxAuthenticationError, PowerfoxConnectionError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bitcoin/sensor.py
homeassistant/components/bitcoin/sensor.py
"""Bitcoin information service that uses blockchain.com.""" from __future__ import annotations from datetime import timedelta import logging from blockchain import exchangerates, statistics import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, Sens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bitcoin/__init__.py
homeassistant/components/bitcoin/__init__.py
"""The bitcoin 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/google_mail/api.py
homeassistant/components/google_mail/api.py
"""API for Google Mail bound to Home Assistant OAuth.""" from functools import partial from aiohttp.client_exceptions import ClientError, ClientResponseError from google.auth.exceptions import RefreshError from google.oauth2.credentials import Credentials from googleapiclient.discovery import Resource, build 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/google_mail/application_credentials.py
homeassistant/components/google_mail/application_credentials.py
"""application_credentials platform for Google Mail.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: """Return authorization server.""" return...
python
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_mail/services.py
homeassistant/components/google_mail/services.py
"""Services for Google Mail integration.""" from __future__ import annotations from datetime import datetime, timedelta from typing import TYPE_CHECKING from googleapiclient.http import HttpRequest import voluptuous as vol from homeassistant.core import HomeAssistant, ServiceCall, callback from homeassistant.helper...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_mail/const.py
homeassistant/components/google_mail/const.py
"""Constants for Google Mail integration.""" from __future__ import annotations ATTR_BCC = "bcc" ATTR_CC = "cc" ATTR_ENABLED = "enabled" ATTR_END = "end" ATTR_FROM = "from" ATTR_ALIAS_FROM = "alias_from" ATTR_ME = "me" ATTR_MESSAGE = "message" ATTR_PLAIN_TEXT = "plain_text" ATTR_RESTRICT_CONTACTS = "restrict_contacts...
python
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_mail/sensor.py
homeassistant/components/google_mail/sensor.py
"""Support for Google Mail Sensors.""" from __future__ import annotations from datetime import UTC, datetime, timedelta from googleapiclient.http import HttpRequest from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) from homeassistant.core import Ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_mail/__init__.py
homeassistant/components/google_mail/__init__.py
"""Support for Google Mail.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_NAME, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.config...
python
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_mail/entity.py
homeassistant/components/google_mail/entity.py
"""Entity representing a Google Mail account.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import Entity, EntityDescription from .api import AsyncConfigEntryAuth from .const import DOMAIN, MANUFACTURER class Go...
python
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_mail/notify.py
homeassistant/components/google_mail/notify.py
"""Notification service for Google Mail integration.""" from __future__ import annotations import base64 from email.mime.text import MIMEText from email.utils import formataddr from typing import Any from googleapiclient.http import HttpRequest from homeassistant.components.notify import ( ATTR_DATA, ATTR_M...
python
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_mail/config_flow.py
homeassistant/components/google_mail/config_flow.py
"""Config flow for Google Mail integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any, cast from google.oauth2.credentials import Credentials from googleapiclient.discovery import build from homeassistant.config_entries import SOURCE_REAUTH, 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/zha/silabs_multiprotocol.py
homeassistant/components/zha/silabs_multiprotocol.py
"""Silicon Labs Multiprotocol support.""" from __future__ import annotations import asyncio import contextlib from homeassistant.components.homeassistant_hardware.silabs_multiprotocol_addon import ( is_multiprotocol_url, ) from homeassistant.core import HomeAssistant from . import api # The approximate time it...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/device_trigger.py
homeassistant/components/zha/device_trigger.py
"""Provides device automations for ZHA devices that emit events.""" import voluptuous as vol from zha.application.const import ZHA_EVENT from homeassistant.components.device_automation import ( DEVICE_TRIGGER_BASE_SCHEMA, InvalidDeviceAutomationConfig, ) from homeassistant.components.homeassistant.triggers 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/zha/api.py
homeassistant/components/zha/api.py
"""API for Zigbee Home Automation.""" from __future__ import annotations from typing import TYPE_CHECKING, Literal from zha.application.const import RadioType from zigpy.backups import NetworkBackup from zigpy.config import CONF_DEVICE, CONF_DEVICE_PATH from zigpy.types import Channels from zigpy.util import pick_op...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/diagnostics.py
homeassistant/components/zha/diagnostics.py
"""Provides diagnostics for ZHA.""" from __future__ import annotations import dataclasses from importlib.metadata import version from typing import Any from zha.application.const import ATTR_IEEE from zha.application.gateway import Gateway from zigpy.application import ControllerApplication from zigpy.config 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/zha/device_tracker.py
homeassistant/components/zha/device_tracker.py
"""Support for the ZHA platform.""" from __future__ import annotations import functools from homeassistant.components.device_tracker import ScannerEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/cover.py
homeassistant/components/zha/cover.py
"""Support for ZHA covers.""" from __future__ import annotations import functools import logging from typing import Any from zha.application.platforms.cover import Shade as ZhaShade from zha.application.platforms.cover.const import ( CoverEntityFeature as ZHACoverEntityFeature, ) from homeassistant.components.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/zha/switch.py
homeassistant/components/zha/switch.py
"""Switches on Zigbee Home Automation networks.""" from __future__ import annotations import functools import logging from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core 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/zha/number.py
homeassistant/components/zha/number.py
"""Support for ZHA AnalogOutput cluster.""" from __future__ import annotations import functools import logging from homeassistant.components.number import RestoreNumber from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant 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/zha/websocket_api.py
homeassistant/components/zha/websocket_api.py
"""Web socket API for Zigbee Home Automation devices.""" from __future__ import annotations import asyncio import logging from typing import TYPE_CHECKING, Any, Literal, NamedTuple, cast import voluptuous as vol from zha.application.const import ( ATTR_ARGS, ATTR_ATTRIBUTE, ATTR_CLUSTER_ID, ATTR_CLUS...
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/zha/binary_sensor.py
homeassistant/components/zha/binary_sensor.py
"""Binary sensors on Zigbee Home Automation networks.""" from __future__ import annotations import functools from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from h...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/lock.py
homeassistant/components/zha/lock.py
"""Locks on Zigbee Home Automation networks.""" import functools from typing import Any import voluptuous as vol from homeassistant.components.lock import LockEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant, State, call...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/const.py
homeassistant/components/zha/const.py
"""Constants for the ZHA integration.""" EZSP_OVERWRITE_EUI64 = ( "i_understand_i_can_update_eui64_only_once_and_i_still_want_to_do_it" ) ATTR_ACTIVE_COORDINATOR = "active_coordinator" ATTR_ATTRIBUTES = "attributes" ATTR_AVAILABLE = "available" ATTR_DEVICE_TYPE = "device_type" ATTR_CLUSTER_NAME = "cluster_name" A...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/update.py
homeassistant/components/zha/update.py
"""Representation of ZHA updates.""" from __future__ import annotations import functools import logging from typing import Any from zha.exceptions import ZHAException from zigpy.application import ControllerApplication from homeassistant.components.update import ( UpdateDeviceClass, UpdateEntity, Update...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/helpers.py
homeassistant/components/zha/helpers.py
"""Helper functions for the ZHA integration.""" from __future__ import annotations import asyncio import collections from collections.abc import Awaitable, Callable, Coroutine, Mapping import copy import dataclasses import enum import functools import itertools import logging import queue import re import time from t...
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/zha/fan.py
homeassistant/components/zha/fan.py
"""Fans on Zigbee Home Automation networks.""" from __future__ import annotations import functools from typing import Any from zha.application.platforms.fan.const import FanEntityFeature as ZHAFanEntityFeature from homeassistant.components.fan import FanEntity, FanEntityFeature from homeassistant.config_entries imp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/homeassistant_hardware.py
homeassistant/components/zha/homeassistant_hardware.py
"""Home Assistant Hardware firmware utilities.""" from __future__ import annotations from homeassistant.components.homeassistant_hardware.util import ( ApplicationType, FirmwareInfo, OwningIntegration, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, cal...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/siren.py
homeassistant/components/zha/siren.py
"""Support for ZHA sirens.""" from __future__ import annotations import functools from typing import Any from zha.application.const import ( WARNING_DEVICE_MODE_BURGLAR, WARNING_DEVICE_MODE_EMERGENCY, WARNING_DEVICE_MODE_EMERGENCY_PANIC, WARNING_DEVICE_MODE_FIRE, WARNING_DEVICE_MODE_FIRE_PANIC, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/sensor.py
homeassistant/components/zha/sensor.py
"""Sensors on Zigbee Home Automation networks.""" from __future__ import annotations from collections.abc import Mapping import functools import logging from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) from homeassistant.config_entr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/__init__.py
homeassistant/components/zha/__init__.py
"""Support for Zigbee Home Automation devices.""" import contextlib import logging from zoneinfo import ZoneInfo import voluptuous as vol from zha.application.const import BAUD_RATES, RadioType from zha.application.gateway import Gateway from zha.application.helpers import ZHAData from zha.zigbee.device import get_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/zha/entity.py
homeassistant/components/zha/entity.py
"""Entity for Zigbee Home Automation.""" from __future__ import annotations import asyncio from collections.abc import Callable from functools import partial import logging from typing import Any from propcache.api import cached_property from zha.mixins import LogMixin from homeassistant.const import ( ATTR_MAN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/device_action.py
homeassistant/components/zha/device_action.py
"""Provides device actions for ZHA devices.""" from __future__ import annotations from typing import Any import voluptuous as vol from zha.exceptions import ZHAException from zha.zigbee.cluster_handlers.const import ( CLUSTER_HANDLER_IAS_WD, CLUSTER_HANDLER_INOVELLI, ) from zha.zigbee.cluster_handlers.manufa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false