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/diaz/__init__.py
homeassistant/components/diaz/__init__.py
"""Virtual integration: Diaz."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hurrican_shutters_wholesale/__init__.py
homeassistant/components/hurrican_shutters_wholesale/__init__.py
"""Virtual integration: Hurrican shutters wholesale."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gtfs/sensor.py
homeassistant/components/gtfs/sensor.py
"""Support for GTFS (Google/General Transport Format Schema).""" from __future__ import annotations import datetime import logging import os import threading from typing import Any import pygtfs from sqlalchemy.sql import text import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gtfs/__init__.py
homeassistant/components/gtfs/__init__.py
"""The gtfs 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/nextcloud/binary_sensor.py
homeassistant/components/nextcloud/binary_sensor.py
"""Summary binary data from Nextcoud.""" from __future__ import annotations from typing import Final from homeassistant.components.binary_sensor import ( BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant 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/nextcloud/const.py
homeassistant/components/nextcloud/const.py
"""Constants for Nextcloud integration.""" from datetime import timedelta DOMAIN = "nextcloud" DEFAULT_SCAN_INTERVAL = timedelta(seconds=60) DEFAULT_VERIFY_SSL = True
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextcloud/coordinator.py
homeassistant/components/nextcloud/coordinator.py
"""Data update coordinator for the Nextcloud integration.""" import logging from typing import Any from nextcloudmonitor import NextcloudMonitor, NextcloudMonitorError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_URL from homeassistant.core import HomeAssistant 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/nextcloud/update.py
homeassistant/components/nextcloud/update.py
"""Update data from Nextcoud.""" from __future__ import annotations from homeassistant.components.update import UpdateEntity, UpdateEntityDescription from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import NextcloudConfigE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextcloud/sensor.py
homeassistant/components/nextcloud/sensor.py
"""Summary data from Nextcoud.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typing import Final from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, 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/nextcloud/__init__.py
homeassistant/components/nextcloud/__init__.py
"""The Nextcloud integration.""" import logging from nextcloudmonitor import ( NextcloudMonitor, NextcloudMonitorAuthorizationError, NextcloudMonitorConnectionError, NextcloudMonitorRequestError, ) from homeassistant.const import ( CONF_PASSWORD, CONF_URL, CONF_USERNAME, CONF_VERIFY_S...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextcloud/entity.py
homeassistant/components/nextcloud/entity.py
"""Base entity for the Nextcloud integration.""" from urllib.parse import urlparse from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextcloud/config_flow.py
homeassistant/components/nextcloud/config_flow.py
"""Config flow to configure the Nextcloud integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from nextcloudmonitor import ( NextcloudMonitor, NextcloudMonitorAuthorizationError, NextcloudMonitorConnectionError, NextcloudMonitorRequestError, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/maytag/__init__.py
homeassistant/components/maytag/__init__.py
"""Maytag virtual integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lupusec/switch.py
homeassistant/components/lupusec/switch.py
"""Support for Lupusec Security System switches.""" from __future__ import annotations from datetime import timedelta from functools import partial from typing import Any import lupupy.constants as CONST from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant 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/lupusec/binary_sensor.py
homeassistant/components/lupusec/binary_sensor.py
"""Support for Lupusec Security System binary sensors.""" from __future__ import annotations from datetime import timedelta from functools import partial import logging import lupupy.constants as CONST from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) 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/lupusec/const.py
homeassistant/components/lupusec/const.py
"""Constants for the Lupusec component.""" from lupupy.constants import ( TYPE_CONTACT_XT, TYPE_DOOR, TYPE_INDOOR_SIREN_XT, TYPE_KEYPAD_V2, TYPE_OUTDOOR_SIREN_XT, TYPE_POWER_SWITCH, TYPE_POWER_SWITCH_1_XT, TYPE_POWER_SWITCH_2_XT, TYPE_SMOKE, TYPE_SMOKE_XT, TYPE_WATER, TY...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lupusec/__init__.py
homeassistant/components/lupusec/__init__.py
"""Support for Lupusec Home Security system.""" from json import JSONDecodeError import logging import lupupy from lupupy.exceptions import LupusecException from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, 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/lupusec/entity.py
homeassistant/components/lupusec/entity.py
"""Provides the Lupusec entity for Home Assistant.""" import lupupy from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity from .const import DOMAIN, TYPE_TRANSLATION class LupusecDevice(Entity): """Representation of a Lupusec device.""" _attr_has_enti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lupusec/alarm_control_panel.py
homeassistant/components/lupusec/alarm_control_panel.py
"""Support for Lupusec System alarm control panels.""" from __future__ import annotations from datetime import timedelta import lupupy from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmControlPanelEntityFeature, AlarmControlPanelState, ) from homeassistant.core imp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lupusec/config_flow.py
homeassistant/components/lupusec/config_flow.py
"""Config flow for Lupusec integration.""" from json import JSONDecodeError import logging from typing import Any import lupupy import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME from homeassistant.cor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/diagnostics.py
homeassistant/components/huawei_lte/diagnostics.py
"""Diagnostics support for Huawei LTE.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import DOMAIN ENTRY_FIELDS_DATA_TO_RED...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/device_tracker.py
homeassistant/components/huawei_lte/device_tracker.py
"""Support for device tracking of Huawei LTE routers.""" from __future__ import annotations import logging from typing import Any, cast from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, ScannerEntity, ) from homeassistant.config_entries import ConfigEntry from homeassista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/switch.py
homeassistant/components/huawei_lte/switch.py
"""Support for Huawei LTE switches.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.switch import ( DOMAIN as SWITCH_DOMAIN, SwitchDeviceClass, SwitchEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import Hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/binary_sensor.py
homeassistant/components/huawei_lte/binary_sensor.py
"""Support for Huawei LTE binary sensors.""" from __future__ import annotations import logging from typing import Any from huawei_lte_api.enums.cradle import ConnectionStatusEnum from homeassistant.components.binary_sensor import ( DOMAIN as BINARY_SENSOR_DOMAIN, BinarySensorDeviceClass, BinarySensorEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/const.py
homeassistant/components/huawei_lte/const.py
"""Huawei LTE constants.""" DOMAIN = "huawei_lte" CONF_MANUFACTURER = "manufacturer" CONF_TRACK_WIRED_CLIENTS = "track_wired_clients" CONF_UNAUTHENTICATED_MODE = "unauthenticated_mode" CONF_UPNP_UDN = "upnp_udn" DEFAULT_DEVICE_NAME = "LTE" DEFAULT_MANUFACTURER = "Huawei Technologies Co., Ltd." DEFAULT_NOTIFY_SERVICE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/utils.py
homeassistant/components/huawei_lte/utils.py
"""Utilities for the Huawei LTE integration.""" from __future__ import annotations from contextlib import suppress import re from urllib.parse import urlparse import warnings from huawei_lte_api.Session import GetResponseType import requests from urllib3.exceptions import InsecureRequestWarning 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/huawei_lte/sensor.py
homeassistant/components/huawei_lte/sensor.py
"""Support for Huawei LTE sensors.""" from __future__ import annotations from bisect import bisect from collections.abc import Callable, Sequence from dataclasses import dataclass from datetime import datetime, timedelta import ipaddress import logging import re from homeassistant.components.sensor import ( DOMA...
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/huawei_lte/__init__.py
homeassistant/components/huawei_lte/__init__.py
"""Support for Huawei LTE routers.""" from __future__ import annotations from collections import defaultdict from collections.abc import Callable from contextlib import suppress from dataclasses import dataclass, field from datetime import timedelta import logging from typing import Any, NamedTuple, cast from xml.par...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/entity.py
homeassistant/components/huawei_lte/entity.py
"""Support for Huawei LTE routers.""" from __future__ import annotations from datetime import timedelta from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import Entity from . import Router from .const ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/button.py
homeassistant/components/huawei_lte/button.py
"""Huawei LTE buttons.""" from __future__ import annotations import logging from huawei_lte_api.enums.device import ControlModeEnum from homeassistant.components.button import ( ButtonDeviceClass, ButtonEntity, ButtonEntityDescription, ) 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/huawei_lte/select.py
homeassistant/components/huawei_lte/select.py
"""Support for Huawei LTE selects.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from functools import partial import logging from huawei_lte_api.enums.net import LTEBandEnum, NetworkBandEnum, NetworkModeEnum from homeassistant.components.select 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/huawei_lte/notify.py
homeassistant/components/huawei_lte/notify.py
"""Support for Huawei LTE router notifications.""" from __future__ import annotations import logging from typing import Any from huawei_lte_api.exceptions import ResponseErrorException from homeassistant.components.notify import ATTR_TARGET, BaseNotificationService from homeassistant.const import ATTR_CONFIG_ENTRY_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huawei_lte/config_flow.py
homeassistant/components/huawei_lte/config_flow.py
"""Config flow for the Huawei LTE platform.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import TYPE_CHECKING, Any from urllib.parse import urlparse from huawei_lte_api.Client import Client from huawei_lte_api.Connection import Connection from huawei_lte_api.ex...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/api.py
homeassistant/components/monzo/api.py
"""API for Monzo bound to Home Assistant OAuth.""" from aiohttp import ClientSession from monzopy import AbstractMonzoApi from homeassistant.helpers import config_entry_oauth2_flow class AuthenticatedMonzoAPI(AbstractMonzoApi): """A Monzo API instance with authentication tied to an OAuth2 based config entry."""...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/application_credentials.py
homeassistant/components/monzo/application_credentials.py
"""application_credentials platform the Monzo integration.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant OAUTH2_AUTHORIZE = "https://auth.monzo.com" OAUTH2_TOKEN = "https://api.monzo.com/oauth2/token" async def async_get_authorizatio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/const.py
homeassistant/components/monzo/const.py
"""Constants for the Monzo integration.""" DOMAIN = "monzo"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/coordinator.py
homeassistant/components/monzo/coordinator.py
"""The Monzo integration.""" from dataclasses import dataclass from datetime import timedelta import logging from pprint import pformat from typing import Any from monzopy import AuthorisationExpiredError, InvalidMonzoAPIResponseError from homeassistant.config_entries import ConfigEntry 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/monzo/sensor.py
homeassistant/components/monzo/sensor.py
"""Platform for sensor integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) from homeassistant.config_entri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/__init__.py
homeassistant/components/monzo/__init__.py
"""The Monzo integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.config_entry_oa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/entity.py
homeassistant/components/monzo/entity.py
"""Base entity for Monzo.""" from __future__ import annotations from collections.abc import Callable from typing import Any from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monzo/config_flow.py
homeassistant/components/monzo/config_flow.py
"""Config flow for Monzo.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import voluptuous as vol from homeassistant.config_entries import SOURCE_REAUTH, ConfigFlowResult from homeassistant.const import CONF_TOKEN from homeassistant.helpers import con...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ai_task/http.py
homeassistant/components/ai_task/http.py
"""HTTP endpoint for AI Task integration.""" from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant, callback from .const import DATA_PREFERENCES @callback def async_setup(hass: HomeAssistant) -> None: """Set up the 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/ai_task/task.py
homeassistant/components/ai_task/task.py
"""AI tasks to be handled by agents.""" from __future__ import annotations from dataclasses import dataclass from datetime import datetime, timedelta import io import mimetypes from pathlib import Path import tempfile from typing import Any import voluptuous as vol from homeassistant.components import camera, conve...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ai_task/media_source.py
homeassistant/components/ai_task/media_source.py
"""Expose images as media sources.""" from __future__ import annotations from pathlib import Path from homeassistant.components.media_source import MediaSource, local_source from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from .const import DATA_MEDIA_SOURCE, DOM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ai_task/const.py
homeassistant/components/ai_task/const.py
"""Constants for the AI Task integration.""" from __future__ import annotations from enum import IntFlag from typing import TYPE_CHECKING, Final from homeassistant.util.hass_dict import HassKey if TYPE_CHECKING: from homeassistant.components.media_source import local_source from homeassistant.helpers.entity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ai_task/__init__.py
homeassistant/components/ai_task/__init__.py
"""Integration to offer AI tasks to Home Assistant.""" import logging from typing import Any import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_ENTITY_ID, CONF_DESCRIPTION, CONF_SELECTOR from homeassistant.core import ( HassJobType, HomeAssistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ai_task/entity.py
homeassistant/components/ai_task/entity.py
"""Entity for the AI Task integration.""" from collections.abc import AsyncGenerator import contextlib from typing import final from propcache.api import cached_property from homeassistant.components.conversation import ( ChatLog, UserContent, async_get_chat_log, ) from homeassistant.const import STATE_U...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/api.py
homeassistant/components/lyric/api.py
"""API for Honeywell Lyric bound to Home Assistant OAuth.""" from typing import cast from aiohttp import BasicAuth, ClientSession from aiolyric.client import LyricClient from homeassistant.components.application_credentials import AuthImplementation from homeassistant.helpers import config_entry_oauth2_flow from hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/application_credentials.py
homeassistant/components/lyric/application_credentials.py
"""Application credentials platform for the Honeywell Lyric integration.""" from homeassistant.components.application_credentials import ( AuthorizationServer, ClientCredential, ) from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from .api import LyricLoca...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/const.py
homeassistant/components/lyric/const.py
"""Constants for the Honeywell Lyric integration.""" from aiohttp.client_exceptions import ClientResponseError from aiolyric.exceptions import LyricAuthenticationException, LyricException DOMAIN = "lyric" OAUTH2_AUTHORIZE = "https://api.honeywell.com/oauth2/authorize" OAUTH2_TOKEN = "https://api.honeywell.com/oauth2...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/coordinator.py
homeassistant/components/lyric/coordinator.py
"""The Honeywell Lyric integration.""" from __future__ import annotations import asyncio from datetime import timedelta from http import HTTPStatus import logging from aiohttp.client_exceptions import ClientResponseError from aiolyric import Lyric from aiolyric.exceptions import LyricAuthenticationException, LyricEx...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/sensor.py
homeassistant/components/lyric/sensor.py
"""Support for Honeywell Lyric sensor platform.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, timedelta from aiolyric.objects.device import LyricDevice from aiolyric.objects.location import LyricLocation from aiolyric.objec...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/__init__.py
homeassistant/components/lyric/__init__.py
"""The Honeywell Lyric integration.""" from __future__ import annotations from aiolyric import Lyric from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import ( aiohttp_client, config_entry_oauth2_flow, config_validation as cv, ) from .api 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/lyric/entity.py
homeassistant/components/lyric/entity.py
"""The Honeywell Lyric integration.""" from __future__ import annotations from aiolyric.objects.device import LyricDevice from aiolyric.objects.location import LyricLocation from aiolyric.objects.priority import LyricAccessory, LyricRoom from homeassistant.helpers import device_registry as dr from homeassistant.help...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lyric/climate.py
homeassistant/components/lyric/climate.py
"""Support for Honeywell Lyric climate platform.""" from __future__ import annotations import asyncio import enum import logging from time import localtime, strftime, time from typing import Any from aiolyric.objects.device import LyricDevice from aiolyric.objects.location import LyricLocation import voluptuous as 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/lyric/config_flow.py
homeassistant/components/lyric/config_flow.py
"""Config flow for Honeywell Lyric.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from homeassistant.config_entries import ConfigFlowResult from homeassistant.helpers import config_entry_oauth2_flow from .const import DOMAIN class OAuth2FlowHandler...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waze_travel_time/const.py
homeassistant/components/waze_travel_time/const.py
"""Constants for waze_travel_time.""" from __future__ import annotations DOMAIN = "waze_travel_time" SEMAPHORE = "semaphore" CONF_DESTINATION = "destination" CONF_ORIGIN = "origin" CONF_INCL_FILTER = "incl_filter" CONF_EXCL_FILTER = "excl_filter" CONF_REALTIME = "realtime" CONF_UNITS = "units" CONF_VEHICLE_TYPE = "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/waze_travel_time/coordinator.py
homeassistant/components/waze_travel_time/coordinator.py
"""The Waze Travel Time data coordinator.""" import asyncio from collections.abc import Collection from dataclasses import dataclass from datetime import timedelta import logging from typing import Literal from pywaze.route_calculator import CalcRoutesResponse, WazeRouteCalculator, WRCError from homeassistant.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/waze_travel_time/helpers.py
homeassistant/components/waze_travel_time/helpers.py
"""Helpers for Waze Travel Time integration.""" import logging from pywaze.route_calculator import WazeRouteCalculator, WRCError from homeassistant.core import HomeAssistant from homeassistant.helpers.httpx_client import get_async_client from homeassistant.helpers.location import find_coordinates _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/waze_travel_time/sensor.py
homeassistant/components/waze_travel_time/sensor.py
"""Support for Waze travel time sensor.""" from __future__ import annotations from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_NAME, UnitOfTim...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waze_travel_time/__init__.py
homeassistant/components/waze_travel_time/__init__.py
"""The waze_travel_time component.""" import asyncio import logging from pywaze.route_calculator import WazeRouteCalculator import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_REGION, Platform from homeassistant.core import ( HomeAssistant, Servi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waze_travel_time/config_flow.py
homeassistant/components/waze_travel_time/config_flow.py
"""Config flow for Waze Travel Time integration.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.config_entries import ( SOURCE_RECONFIGURE, ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlow, ) from homeassistant.const import CONF_NAM...
python
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/api.py
homeassistant/components/google/api.py
"""Client library for talking to Google APIs.""" from __future__ import annotations import datetime import logging from typing import Any, cast import aiohttp from gcal_sync.auth import AbstractAuth from oauth2client.client import ( Credentials, DeviceFlowInfo, FlowExchangeError, OAuth2DeviceCodeErro...
python
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/diagnostics.py
homeassistant/components/google/diagnostics.py
"""Provides diagnostics for google calendar.""" import datetime from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from homeassistant.util import dt as dt_util from .store import GoogleConfigEntry TO_REDACT = { "id", "ical_u...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google/application_credentials.py
homeassistant/components/google/application_credentials.py
"""application_credentials platform for nest.""" import oauth2client from homeassistant.components.application_credentials import ( AuthorizationServer, ClientCredential, ) from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from .api import GoogleHybridAut...
python
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/store.py
homeassistant/components/google/store.py
"""Google Calendar local storage.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import Any from gcal_sync.api import GoogleCalendarService from gcal_sync.store import CalendarStore from homeassistant.config_entries import ConfigEntry 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/google/const.py
homeassistant/components/google/const.py
"""Constants for google integration.""" from __future__ import annotations from enum import Enum, StrEnum DOMAIN = "google" CONF_CALENDAR_ACCESS = "calendar_access" CONF_CREDENTIAL_TYPE = "credential_type" DATA_CALENDARS = "calendars" DATA_CONFIG = "config" class FeatureAccess(Enum): """Class to represent dif...
python
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/coordinator.py
homeassistant/components/google/coordinator.py
"""Support for Google Calendar Search binary sensors.""" from __future__ import annotations from collections.abc import Iterable from datetime import datetime, timedelta import itertools import logging from gcal_sync.api import GoogleCalendarService, ListEventsRequest from gcal_sync.exceptions import ApiException 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/google/__init__.py
homeassistant/components/google/__init__.py
"""Support for Google - Calendar Event Devices.""" from __future__ import annotations from collections.abc import Mapping from datetime import datetime, timedelta import logging from typing import Any import aiohttp from gcal_sync.api import GoogleCalendarService from gcal_sync.exceptions import ApiException, AuthEx...
python
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/calendar.py
homeassistant/components/google/calendar.py
"""Support for Google Calendar Search binary sensors.""" from __future__ import annotations from collections.abc import Mapping import dataclasses from datetime import datetime, timedelta import logging from typing import Any, cast from gcal_sync.api import Range, SyncEventsRequest from gcal_sync.exceptions import 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/google/config_flow.py
homeassistant/components/google/config_flow.py
"""Config flow for Google integration.""" from __future__ import annotations import asyncio from collections.abc import Mapping import logging from typing import Any from gcal_sync.api import GoogleCalendarService from gcal_sync.exceptions import ApiException, ApiForbiddenException import voluptuous as vol from hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comfoconnect/fan.py
homeassistant/components/comfoconnect/fan.py
"""Platform to control a Zehnder ComfoAir Q350/450/600 ventilation unit.""" from __future__ import annotations import logging import math from typing import Any from pycomfoconnect import ( CMD_FAN_MODE_AWAY, CMD_FAN_MODE_HIGH, CMD_FAN_MODE_LOW, CMD_FAN_MODE_MEDIUM, CMD_MODE_AUTO, CMD_MODE_MA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comfoconnect/sensor.py
homeassistant/components/comfoconnect/sensor.py
"""Platform to control a Zehnder ComfoAir Q350/450/600 ventilation unit.""" from __future__ import annotations from dataclasses import dataclass import logging from pycomfoconnect import ( SENSOR_BYPASS_STATE, SENSOR_CURRENT_RMOT, SENSOR_DAYS_TO_REPLACE_FILTER, SENSOR_FAN_EXHAUST_DUTY, SENSOR_FAN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/comfoconnect/__init__.py
homeassistant/components/comfoconnect/__init__.py
"""Support to control a Zehnder ComfoAir Q350/450/600 ventilation unit.""" import logging from pycomfoconnect import Bridge, ComfoConnect import voluptuous as vol from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PIN, CONF_TOKEN, EVENT_HOMEASSISTANT_STOP, Platform, ) 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/gaggenau/__init__.py
homeassistant/components/gaggenau/__init__.py
"""Gaggenau virtual integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ffmpeg_motion/binary_sensor.py
homeassistant/components/ffmpeg_motion/binary_sensor.py
"""Provides a binary sensor which is a collection of ffmpeg tools.""" from __future__ import annotations from typing import Any from haffmpeg.core import HAFFmpeg import haffmpeg.sensor as ffmpeg_sensor import voluptuous as vol from homeassistant.components.binary_sensor import ( PLATFORM_SCHEMA as BINARY_SENSO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ffmpeg_motion/__init__.py
homeassistant/components/ffmpeg_motion/__init__.py
"""The ffmpeg_motion 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/yale_smart_alarm/diagnostics.py
homeassistant/components/yale_smart_alarm/diagnostics.py
"""Diagnostics support for Yale Smart Alarm.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from . import YaleConfigEntry TO_REDACT = { "address", "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_smart_alarm/switch.py
homeassistant/components/yale_smart_alarm/switch.py
"""Switches for Yale Alarm.""" from __future__ import annotations from typing import Any from yalesmartalarmclient import YaleLock from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesC...
python
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_smart_alarm/binary_sensor.py
homeassistant/components/yale_smart_alarm/binary_sensor.py
"""Binary sensors for Yale Alarm.""" from __future__ import annotations from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant 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/yale_smart_alarm/lock.py
homeassistant/components/yale_smart_alarm/lock.py
"""Lock for Yale Alarm.""" from __future__ import annotations from typing import Any from yalesmartalarmclient import YaleLock, YaleLockState from homeassistant.components.lock import LockEntity, LockState from homeassistant.const import ATTR_CODE from homeassistant.core import HomeAssistant from homeassistant.exce...
python
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_smart_alarm/const.py
homeassistant/components/yale_smart_alarm/const.py
"""Yale integration constants.""" import logging from yalesmartalarmclient.client import ( YALE_STATE_ARM_FULL, YALE_STATE_ARM_PARTIAL, YALE_STATE_DISARM, ) from yalesmartalarmclient.exceptions import AuthenticationError, UnknownError from homeassistant.components.alarm_control_panel import AlarmControlP...
python
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_smart_alarm/coordinator.py
homeassistant/components/yale_smart_alarm/coordinator.py
"""DataUpdateCoordinator for the Yale integration.""" from __future__ import annotations from datetime import timedelta from typing import TYPE_CHECKING, Any from yalesmartalarmclient import YaleLock from yalesmartalarmclient.client import YaleSmartAlarmClient from yalesmartalarmclient.exceptions import Authenticati...
python
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_smart_alarm/sensor.py
homeassistant/components/yale_smart_alarm/sensor.py
"""Sensors for Yale Alarm.""" from __future__ import annotations from typing import cast from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.const import UnitOfTemperature from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConf...
python
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_smart_alarm/__init__.py
homeassistant/components/yale_smart_alarm/__init__.py
"""The yale_smart_alarm component.""" from __future__ import annotations from homeassistant.components.lock import CONF_DEFAULT_CODE, DOMAIN as LOCK_DOMAIN from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_CODE, CONF_NAME from homeassistant.core import HomeAssistant 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/yale_smart_alarm/entity.py
homeassistant/components/yale_smart_alarm/entity.py
"""Base class for yale_smart_alarm entity.""" from yalesmartalarmclient import YaleLock from homeassistant.const import CONF_USERNAME from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, DeviceInfo from homeassistant.helpers.entity import Entity from homeassistant.helpers.update_coordinator 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/yale_smart_alarm/button.py
homeassistant/components/yale_smart_alarm/button.py
"""Support for Yale Smart Alarm button.""" from __future__ import annotations from typing import TYPE_CHECKING from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from homeassistant.help...
python
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_smart_alarm/alarm_control_panel.py
homeassistant/components/yale_smart_alarm/alarm_control_panel.py
"""Support for Yale Alarm.""" from __future__ import annotations from typing import TYPE_CHECKING from yalesmartalarmclient.const import ( YALE_STATE_ARM_FULL, YALE_STATE_ARM_PARTIAL, YALE_STATE_DISARM, ) from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmCo...
python
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_smart_alarm/select.py
homeassistant/components/yale_smart_alarm/select.py
"""Select for Yale Alarm.""" from __future__ import annotations from yalesmartalarmclient import YaleLock, YaleLockVolume from homeassistant.components.select import SelectEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback 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/yale_smart_alarm/config_flow.py
homeassistant/components/yale_smart_alarm/config_flow.py
"""Adds config flow for Yale Smart Alarm integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any import voluptuous as vol from yalesmartalarmclient.client import YaleSmartAlarmClient from yalesmartalarmclient.exceptions import AuthenticationError 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/google_air_quality/const.py
homeassistant/components/google_air_quality/const.py
"""Constants for the Google Air Quality integration.""" from typing import Final DOMAIN = "google_air_quality" SECTION_API_KEY_OPTIONS: Final = "api_key_options" CONF_REFERRER: Final = "referrer"
python
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_air_quality/coordinator.py
homeassistant/components/google_air_quality/coordinator.py
"""Coordinator for fetching data from Google Air Quality API.""" from dataclasses import dataclass from datetime import timedelta import logging from typing import Final from google_air_quality_api.api import GoogleAirQualityApi from google_air_quality_api.exceptions import GoogleAirQualityApiError from google_air_qu...
python
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_air_quality/sensor.py
homeassistant/components/google_air_quality/sensor.py
"""Creates the sensor entities for Google Air Quality.""" from collections.abc import Callable from dataclasses import dataclass import logging from google_air_quality_api.model import AirQualityCurrentConditionsData from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEnt...
python
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_air_quality/__init__.py
homeassistant/components/google_air_quality/__init__.py
"""The Google Air Quality integration.""" import asyncio from google_air_quality_api.api import GoogleAirQualityApi from google_air_quality_api.auth import Auth from homeassistant.const import CONF_API_KEY, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_g...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_air_quality/config_flow.py
homeassistant/components/google_air_quality/config_flow.py
"""Config flow for the Google Air Quality integration.""" from __future__ import annotations import logging from typing import Any from google_air_quality_api.api import GoogleAirQualityApi from google_air_quality_api.auth import Auth from google_air_quality_api.exceptions import GoogleAirQualityApiError import volu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/frontend/storage.py
homeassistant/components/frontend/storage.py
"""API for persistent storage for the frontend.""" from __future__ import annotations import asyncio from collections.abc import Callable, Coroutine from functools import wraps from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.components.websocket_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/frontend/__init__.py
homeassistant/components/frontend/__init__.py
"""Handle the frontend for Home Assistant.""" from __future__ import annotations from collections.abc import Callable, Iterator from functools import lru_cache, partial import logging import os import pathlib from typing import Any, TypedDict from aiohttp import hdrs, web, web_urldispatcher import jinja2 from propca...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watttime/diagnostics.py
homeassistant/components/watttime/diagnostics.py
"""Diagnostics support for WattTime.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONF_LATITUDE, CONF_LONGITUDE, CONF_PASSWORD, 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/watttime/const.py
homeassistant/components/watttime/const.py
"""Constants for the WattTime integration.""" import logging DOMAIN = "watttime" LOGGER = logging.getLogger(__package__) CONF_BALANCING_AUTHORITY = "balancing_authority" CONF_BALANCING_AUTHORITY_ABBREV = "balancing_authority_abbreviation"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/watttime/sensor.py
homeassistant/components/watttime/sensor.py
"""Support for WattTime sensors.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast from homeassistant.components.sensor import ( SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false