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/microsoft/tts.py
homeassistant/components/microsoft/tts.py
"""Support for the Microsoft Cognitive Services text-to-speech service.""" import logging from pycsspeechtts import pycsspeechtts from requests.exceptions import HTTPError import voluptuous as vol from homeassistant.components.tts import ( CONF_LANG, PLATFORM_SCHEMA as TTS_PLATFORM_SCHEMA, Provider, ) 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/microsoft/__init__.py
homeassistant/components/microsoft/__init__.py
"""Support for Microsoft 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/aws/const.py
homeassistant/components/aws/const.py
"""Constant for AWS component.""" DOMAIN = "aws" DATA_CONFIG = "aws_config" DATA_HASS_CONFIG = "aws_hass_config" DATA_SESSIONS = "aws_sessions" CONF_ACCESS_KEY_ID = "aws_access_key_id" CONF_CONTEXT = "context" CONF_CREDENTIAL_NAME = "credential_name" CONF_CREDENTIALS = "credentials" CONF_NOTIFY = "notify" CONF_REGIO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aws/__init__.py
homeassistant/components/aws/__init__.py
"""Support for Amazon Web Services (AWS).""" import asyncio from collections import OrderedDict import logging from aiobotocore.session import AioSession import voluptuous as vol from homeassistant import config_entries from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_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/aws/notify.py
homeassistant/components/aws/notify.py
"""AWS platform for notify component.""" from __future__ import annotations import asyncio import base64 import json import logging from typing import Any from aiobotocore.session import AioSession from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aws/config_flow.py
homeassistant/components/aws/config_flow.py
"""Config flow for AWS component.""" from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class AWSFlowHandler(ConfigFlow, domain=DOMAIN): """Handle a config flow.""" VERSION = 1 async def async_step_import(self, import_data: dict[str,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/seventeentrack/services.py
homeassistant/components/seventeentrack/services.py
"""Services for the seventeentrack integration.""" from typing import Any, Final from pyseventeentrack.package import PACKAGE_STATUS_MAP, Package import voluptuous as vol from homeassistant.config_entries import ConfigEntry, ConfigEntryState from homeassistant.const import ATTR_CONFIG_ENTRY_ID, ATTR_FRIENDLY_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/seventeentrack/const.py
homeassistant/components/seventeentrack/const.py
"""Constants for the 17track.net component.""" from datetime import timedelta import logging LOGGER = logging.getLogger(__package__) ATTR_DESTINATION_COUNTRY = "destination_country" ATTR_INFO_TEXT = "info_text" ATTR_TIMESTAMP = "timestamp" ATTR_ORIGIN_COUNTRY = "origin_country" ATTR_PACKAGES = "packages" ATTR_PACKAG...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/seventeentrack/coordinator.py
homeassistant/components/seventeentrack/coordinator.py
"""Coordinator for 17Track.""" from dataclasses import dataclass from typing import Any from pyseventeentrack import Client as SeventeenTrackClient from pyseventeentrack.errors import SeventeenTrackError from pyseventeentrack.package import Package from homeassistant.config_entries import ConfigEntry 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/seventeentrack/sensor.py
homeassistant/components/seventeentrack/sensor.py
"""Support for package tracking sensors from 17track.net.""" from __future__ import annotations from homeassistant.components.sensor import SensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceEntryType, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/seventeentrack/__init__.py
homeassistant/components/seventeentrack/__init__.py
"""The seventeentrack component.""" from pyseventeentrack import Client as SeventeenTrackClient from pyseventeentrack.errors import SeventeenTrackError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/seventeentrack/config_flow.py
homeassistant/components/seventeentrack/config_flow.py
"""Adds config flow for 17track.net.""" from __future__ import annotations import logging from typing import Any from pyseventeentrack import Client as SeventeenTrackClient from pyseventeentrack.errors import SeventeenTrackError import voluptuous as vol from homeassistant.config_entries import ConfigEntry, ConfigFl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/services.py
homeassistant/components/transmission/services.py
"""Define services for the Transmission integration.""" from enum import StrEnum from functools import partial import logging from typing import Any, cast from transmission_rpc import Torrent import voluptuous as vol from homeassistant.config_entries import ConfigEntryState from homeassistant.const import CONF_ID 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/transmission/switch.py
homeassistant/components/transmission/switch.py
"""Support for setting the Transmission BitTorrent client Turtle Mode.""" import asyncio from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.core import HomeAssistant 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/transmission/const.py
homeassistant/components/transmission/const.py
"""Constants for the Transmission Bittorrent Client component.""" from __future__ import annotations from collections.abc import Callable from transmission_rpc import Torrent DOMAIN = "transmission" ORDER_NEWEST_FIRST = "newest_first" ORDER_OLDEST_FIRST = "oldest_first" ORDER_BEST_RATIO_FIRST = "best_ratio_first" ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/coordinator.py
homeassistant/components/transmission/coordinator.py
"""Coordinator for transmssion integration.""" from __future__ import annotations from datetime import timedelta import logging import transmission_rpc from transmission_rpc.session import SessionStats from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST 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/transmission/helpers.py
homeassistant/components/transmission/helpers.py
"""Helper functions for Transmission.""" from typing import Any from transmission_rpc.torrent import Torrent def format_torrent(torrent: Torrent) -> dict[str, Any]: """Format a single torrent.""" value: dict[str, Any] = {} value["id"] = torrent.id value["name"] = torrent.name value["status"] = ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/errors.py
homeassistant/components/transmission/errors.py
"""Errors for the Transmission component.""" from homeassistant.exceptions import HomeAssistantError class AuthenticationError(HomeAssistantError): """Wrong Username or Password.""" class CannotConnect(HomeAssistantError): """Unable to connect to client.""" class UnknownError(HomeAssistantError): """...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/sensor.py
homeassistant/components/transmission/sensor.py
"""Support for monitoring the Transmission BitTorrent client API.""" from __future__ import annotations from collections.abc import Callable from contextlib import suppress from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/__init__.py
homeassistant/components/transmission/__init__.py
"""Support for the Transmission BitTorrent client API.""" from __future__ import annotations from functools import partial import logging import re from typing import Any, Final import transmission_rpc from transmission_rpc.error import ( TransmissionAuthError, TransmissionConnectError, TransmissionError...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/entity.py
homeassistant/components/transmission/entity.py
"""Base class for Transmission entities.""" 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 import TransmissionDataUpdateCoordinato...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/transmission/config_flow.py
homeassistant/components/transmission/config_flow.py
"""Config flow for Transmission Bittorrent Client.""" from __future__ import annotations from collections.abc import Mapping from typing import Any import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlow, ) from homeassistant.const 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/hikvisioncam/switch.py
homeassistant/components/hikvisioncam/switch.py
"""Support turning on/off motion detection on Hikvision cameras.""" from __future__ import annotations import logging from typing import Any import hikvision.api from hikvision.error import HikvisionError, MissingParamError import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA 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/hikvisioncam/__init__.py
homeassistant/components/hikvisioncam/__init__.py
"""The hikvisioncam 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_pubsub/__init__.py
homeassistant/components/google_pubsub/__init__.py
"""Support for Google Cloud Pub/Sub.""" from __future__ import annotations import datetime import json import logging import os from google.cloud.pubsub_v1 import PublisherClient import voluptuous as vol from homeassistant.const import EVENT_STATE_CHANGED, STATE_UNAVAILABLE, STATE_UNKNOWN from homeassistant.core 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/monoprice/media_player.py
homeassistant/components/monoprice/media_player.py
"""Support for interfacing with Monoprice 6 zone home audio controller.""" import logging from serial import SerialException from homeassistant import core from homeassistant.components.media_player import ( MediaPlayerDeviceClass, MediaPlayerEntity, MediaPlayerEntityFeature, MediaPlayerState, ) 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/monoprice/const.py
homeassistant/components/monoprice/const.py
"""Constants for the Monoprice 6-Zone Amplifier Media Player component.""" DOMAIN = "monoprice" CONF_SOURCES = "sources" CONF_SOURCE_1 = "source_1" CONF_SOURCE_2 = "source_2" CONF_SOURCE_3 = "source_3" CONF_SOURCE_4 = "source_4" CONF_SOURCE_5 = "source_5" CONF_SOURCE_6 = "source_6" CONF_NOT_FIRST_RUN = "not_first_r...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monoprice/__init__.py
homeassistant/components/monoprice/__init__.py
"""The Monoprice 6-Zone Amplifier integration.""" import logging from pymonoprice import get_monoprice from serial import SerialException from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monoprice/config_flow.py
homeassistant/components/monoprice/config_flow.py
"""Config flow for Monoprice 6-Zone Amplifier integration.""" from __future__ import annotations import logging from typing import Any from pymonoprice import get_monoprice from serial import SerialException import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, 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/homeassistant_green/const.py
homeassistant/components/homeassistant_green/const.py
"""Constants for the Home Assistant Green integration.""" DOMAIN = "homeassistant_green"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/homeassistant_green/hardware.py
homeassistant/components/homeassistant_green/hardware.py
"""The Home Assistant Green hardware platform.""" from __future__ import annotations from homeassistant.components.hardware import BoardInfo, HardwareInfo from homeassistant.components.hassio import get_os_info from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantEr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/homeassistant_green/__init__.py
homeassistant/components/homeassistant_green/__init__.py
"""The Home Assistant Green integration.""" from __future__ import annotations from homeassistant.components.hassio import get_os_info from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers.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/homeassistant_green/config_flow.py
homeassistant/components/homeassistant_green/config_flow.py
"""Config flow for the Home Assistant Green integration.""" from __future__ import annotations import asyncio import logging from typing import Any import voluptuous as vol from homeassistant.components.hassio import ( GreenOptions, SupervisorError, get_supervisor_client, ) from homeassistant.config_ent...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/diagnostics.py
homeassistant/components/pi_hole/diagnostics.py
"""Diagnostics support for the Pi-hole integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_API_KEY from homeassistant.core import HomeAssistant from . import PiHoleConfigEntry TO_REDACT = {...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/switch.py
homeassistant/components/pi_hole/switch.py
"""Support for turning on and off Pi-hole system.""" from __future__ import annotations import logging from typing import Any from hole.exceptions import HoleError import voluptuous as vol from homeassistant.components.switch import SwitchEntity from homeassistant.const import CONF_NAME from homeassistant.core impo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/binary_sensor.py
homeassistant/components/pi_hole/binary_sensor.py
"""Support for getting status from a Pi-hole system.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from hole import Hole from homeassistant.components.binary_sensor import ( BinarySensorEntity, BinarySensorEntityDescriptio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/const.py
homeassistant/components/pi_hole/const.py
"""Constants for the pi_hole integration.""" from datetime import timedelta DOMAIN = "pi_hole" CONF_STATISTICS_ONLY = "statistics_only" DEFAULT_LOCATION = "admin" DEFAULT_METHOD = "GET" DEFAULT_NAME = "Pi-Hole" DEFAULT_SSL = False DEFAULT_VERIFY_SSL = True DEFAULT_STATISTICS_ONLY = True SERVICE_DISABLE = "disable"...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/update.py
homeassistant/components/pi_hole/update.py
"""Support for update entities of a Pi-hole system.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from hole import Hole from homeassistant.components.update import UpdateEntity, UpdateEntityDescription from homeassistant.const import CONF_NAME, EntityCa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/sensor.py
homeassistant/components/pi_hole/sensor.py
"""Support for getting statistical data from a Pi-hole system.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from hole import Hole from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.const import CONF_NAME, PERCENTAG...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/__init__.py
homeassistant/components/pi_hole/__init__.py
"""The pi_hole component.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import Any, Literal from hole import Hole, HoleV5, HoleV6 from hole.exceptions import HoleConnectionError, HoleError from homeassistant.config_entries import ConfigEntry from homeassistant.co...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/entity.py
homeassistant/components/pi_hole/entity.py
"""The pi_hole component.""" from __future__ import annotations from hole import Hole from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import ( CoordinatorEntity, DataUpdateCoordinator, ) from .const import DOMAIN class PiHoleEntity(CoordinatorEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pi_hole/config_flow.py
homeassistant/components/pi_hole/config_flow.py
"""Config flow to configure the Pi-hole integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from hole.exceptions import HoleError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/emonitor/const.py
homeassistant/components/emonitor/const.py
"""Constants for the SiteSage Emonitor integration.""" DOMAIN = "emonitor"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/emonitor/sensor.py
homeassistant/components/emonitor/sensor.py
"""Support for a Emonitor channel sensor.""" from __future__ import annotations from aioemonitor.monitor import EmonitorChannel, EmonitorStatus from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import 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/emonitor/__init__.py
homeassistant/components/emonitor/__init__.py
"""The SiteSage Emonitor integration.""" from __future__ import annotations from datetime import timedelta import logging from aioemonitor import Emonitor from aioemonitor.monitor import EmonitorStatus from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, Platform 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/emonitor/config_flow.py
homeassistant/components/emonitor/config_flow.py
"""Config flow for SiteSage Emonitor integration.""" import logging from typing import Any from aioemonitor import Emonitor import aiohttp import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_NAME 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/pushover/const.py
homeassistant/components/pushover/const.py
"""Constants for pushover.""" from typing import Final DOMAIN: Final = "pushover" DATA_HASS_CONFIG: Final = "pushover_hass_config" DEFAULT_NAME: Final = "Pushover" ATTR_ATTACHMENT: Final = "attachment" ATTR_URL: Final = "url" ATTR_URL_TITLE: Final = "url_title" ATTR_PRIORITY: Final = "priority" ATTR_RETRY: Final = "...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pushover/__init__.py
homeassistant/components/pushover/__init__.py
"""The pushover component.""" from __future__ import annotations from pushover_complete import BadAPIRequestError, PushoverAPI from requests.exceptions import RequestException from urllib3.exceptions import HTTPError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, 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/pushover/notify.py
homeassistant/components/pushover/notify.py
"""Pushover platform for notify component.""" from __future__ import annotations import logging from typing import Any from pushover_complete import BadAPIRequestError, PushoverAPI from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, BaseNotificat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pushover/config_flow.py
homeassistant/components/pushover/config_flow.py
"""Config flow for pushover integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from pushover_complete import BadAPIRequestError, PushoverAPI import voluptuous as vol from homeassistant.config_entries import ConfigEntry, ConfigFlow, ConfigFlowResult 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/meteoclimatic/weather.py
homeassistant/components/meteoclimatic/weather.py
"""Support for Meteoclimatic weather service.""" from meteoclimatic import Condition from homeassistant.components.weather import WeatherEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import UnitOfPressure, UnitOfSpeed, UnitOfTemperature from homeassistant.core import HomeAssista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteoclimatic/const.py
homeassistant/components/meteoclimatic/const.py
"""Meteoclimatic component constants.""" from __future__ import annotations from datetime import timedelta from meteoclimatic import Condition from homeassistant.components.weather import ( ATTR_CONDITION_CLEAR_NIGHT, ATTR_CONDITION_CLOUDY, ATTR_CONDITION_EXCEPTIONAL, ATTR_CONDITION_FOG, ATTR_CO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteoclimatic/coordinator.py
homeassistant/components/meteoclimatic/coordinator.py
"""Support for Meteoclimatic weather data.""" import logging from typing import Any from meteoclimatic import MeteoclimaticClient from meteoclimatic.exceptions import MeteoclimaticError from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.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/meteoclimatic/sensor.py
homeassistant/components/meteoclimatic/sensor.py
"""Support for Meteoclimatic sensor.""" from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( DEGREE, PERCENTAGE, UnitOfPrecipitationD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteoclimatic/__init__.py
homeassistant/components/meteoclimatic/__init__.py
"""Support for Meteoclimatic weather data.""" from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import DOMAIN, PLATFORMS from .coordinator import MeteoclimaticUpdateCoordinator async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/meteoclimatic/config_flow.py
homeassistant/components/meteoclimatic/config_flow.py
"""Config flow to configure the Meteoclimatic integration.""" import logging from typing import Any from meteoclimatic import MeteoclimaticClient from meteoclimatic.exceptions import MeteoclimaticError, StationNotFound import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/airpatrol/const.py
homeassistant/components/airpatrol/const.py
"""Constants for the AirPatrol integration.""" from datetime import timedelta import logging from airpatrol.api import AirPatrolAuthenticationError, AirPatrolError from homeassistant.const import Platform DOMAIN = "airpatrol" LOGGER = logging.getLogger(__package__) PLATFORMS = [Platform.CLIMATE, Platform.SENSOR] 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/airpatrol/coordinator.py
homeassistant/components/airpatrol/coordinator.py
"""Data update coordinator for AirPatrol.""" from __future__ import annotations from typing import Any from airpatrol.api import AirPatrolAPI, AirPatrolAuthenticationError, AirPatrolError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ACCESS_TOKEN, CONF_EMAIL, CONF_PASSWOR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airpatrol/sensor.py
homeassistant/components/airpatrol/sensor.py
"""Sensors for AirPatrol integration.""" from __future__ import annotations from dataclasses import dataclass from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import PERCENTAGE, UnitOfTemperature 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/airpatrol/__init__.py
homeassistant/components/airpatrol/__init__.py
"""The AirPatrol integration.""" from __future__ import annotations from homeassistant.core import HomeAssistant from .const import PLATFORMS from .coordinator import AirPatrolConfigEntry, AirPatrolDataUpdateCoordinator async def async_setup_entry(hass: HomeAssistant, entry: AirPatrolConfigEntry) -> bool: """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/airpatrol/entity.py
homeassistant/components/airpatrol/entity.py
"""Base entity for AirPatrol integration.""" from __future__ import annotations from typing import Any from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import AirPatrolDataUpdateCoordinator...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airpatrol/climate.py
homeassistant/components/airpatrol/climate.py
"""Climate platform for AirPatrol integration.""" from __future__ import annotations from typing import Any from homeassistant.components.climate import ( FAN_AUTO, FAN_HIGH, FAN_LOW, SWING_OFF, SWING_ON, 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/airpatrol/config_flow.py
homeassistant/components/airpatrol/config_flow.py
"""Config flow for the AirPatrol integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from airpatrol.api import AirPatrolAPI, AirPatrolAuthenticationError, AirPatrolError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlow...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/geonetnz_quakes/diagnostics.py
homeassistant/components/geonetnz_quakes/diagnostics.py
"""Diagnostics support for GeoNet NZ Quakes Feeds integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE from homeassistant.core import HomeAssistant from . import Geon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/geonetnz_quakes/const.py
homeassistant/components/geonetnz_quakes/const.py
"""Define constants for the GeoNet NZ Quakes integration.""" from datetime import timedelta from homeassistant.const import Platform DOMAIN = "geonetnz_quakes" PLATFORMS = [Platform.GEO_LOCATION, Platform.SENSOR] CONF_MINIMUM_MAGNITUDE = "minimum_magnitude" CONF_MMI = "mmi" DEFAULT_FILTER_TIME_INTERVAL = timedelt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/geonetnz_quakes/geo_location.py
homeassistant/components/geonetnz_quakes/geo_location.py
"""Geolocation support for GeoNet NZ Quakes Feeds.""" from __future__ import annotations from collections.abc import Callable import logging from typing import Any from aio_geojson_geonetnz_quakes.feed_entry import GeonetnzQuakesFeedEntry from homeassistant.components.geo_location import GeolocationEvent 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/geonetnz_quakes/sensor.py
homeassistant/components/geonetnz_quakes/sensor.py
"""Feed Entity Manager Sensor support for GeoNet NZ Quakes Feeds.""" from __future__ import annotations import logging from homeassistant.components.sensor import SensorEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_connect 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/geonetnz_quakes/__init__.py
homeassistant/components/geonetnz_quakes/__init__.py
"""The GeoNet NZ Quakes integration.""" from datetime import timedelta import logging from aio_geojson_geonetnz_quakes import GeonetnzQuakesFeedManager import voluptuous as vol from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry from homeassistant.const import ( CONF_LATITUDE, CONF_LONGITUDE,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/geonetnz_quakes/config_flow.py
homeassistant/components/geonetnz_quakes/config_flow.py
"""Config flow to configure the GeoNet NZ Quakes integration.""" import logging from typing import Any import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import ( CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_SCAN_INTERVAL, ) 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/alarm_control_panel/device_trigger.py
homeassistant/components/alarm_control_panel/device_trigger.py
"""Provides device automations for Alarm control panel.""" from __future__ import annotations from typing import Final import voluptuous as vol from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA from homeassistant.components.homeassistant.triggers import state as state_trigger 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/alarm_control_panel/device_condition.py
homeassistant/components/alarm_control_panel/device_condition.py
"""Provide the device automations for Alarm control panel.""" from __future__ import annotations from typing import Final import voluptuous as vol from homeassistant.const import ( ATTR_ENTITY_ID, CONF_CONDITION, CONF_DEVICE_ID, CONF_DOMAIN, CONF_ENTITY_ID, CONF_TYPE, ) from homeassistant.co...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/alarm_control_panel/significant_change.py
homeassistant/components/alarm_control_panel/significant_change.py
"""Helper to test significant Alarm Control Panel state changes.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant, callback from . import ATTR_CHANGED_BY, ATTR_CODE_ARM_REQUIRED SIGNIFICANT_ATTRIBUTES: set[str] = { ATTR_CHANGED_BY, ATTR_CODE_ARM_REQU...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/alarm_control_panel/const.py
homeassistant/components/alarm_control_panel/const.py
"""Provides the constants needed for component.""" from enum import IntFlag, StrEnum from typing import Final DOMAIN: Final = "alarm_control_panel" ATTR_CHANGED_BY: Final = "changed_by" ATTR_CODE_ARM_REQUIRED: Final = "code_arm_required" class AlarmControlPanelState(StrEnum): """Alarm control panel entity stat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/alarm_control_panel/reproduce_state.py
homeassistant/components/alarm_control_panel/reproduce_state.py
"""Reproduce an Alarm control panel state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any, Final from homeassistant.const import ( ATTR_ENTITY_ID, SERVICE_ALARM_ARM_AWAY, SERVICE_ALARM_ARM_CUSTOM_BYPASS, SERVICE_ALARM_AR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/alarm_control_panel/__init__.py
homeassistant/components/alarm_control_panel/__init__.py
"""Component to interface with an alarm control panel.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any, Final, final from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.c...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/alarm_control_panel/device_action.py
homeassistant/components/alarm_control_panel/device_action.py
"""Provides device automations for Alarm control panel.""" from __future__ import annotations from typing import Final import voluptuous as vol from homeassistant.components.device_automation import async_validate_entity_schema from homeassistant.const import ( ATTR_CODE, ATTR_ENTITY_ID, CONF_CODE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/alarm_control_panel/trigger.py
homeassistant/components/alarm_control_panel/trigger.py
"""Provides triggers for alarm control panels.""" from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.entity import get_supported_features from homeassistant.helpers.trigger import ( EntityTargetStateTriggerBase, Trigger, make_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/fing/device_tracker.py
homeassistant/components/fing/device_tracker.py
"""Platform for Device tracker integration.""" from fing_agent_api.models import Device from homeassistant.components.device_tracker import ScannerEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import entity_registry as er from homeassistant.helpers.entity_platform import Add...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fing/const.py
homeassistant/components/fing/const.py
"""Const for the Fing integration.""" DOMAIN = "fing" UPNP_AVAILABLE = "upnp_available"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fing/coordinator.py
homeassistant/components/fing/coordinator.py
"""DataUpdateCoordinator for Fing integration.""" from dataclasses import dataclass, field from datetime import timedelta import logging from fing_agent_api import FingAgent from fing_agent_api.models import AgentInfoResponse, Device import httpx from homeassistant.config_entries import ConfigEntry from 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/fing/utils.py
homeassistant/components/fing/utils.py
"""Utils functions.""" from enum import Enum class DeviceType(Enum): """Device types enum.""" GENERIC = "mdi:lan-connect" MOBILE = PHONE = "mdi:cellphone" TABLET = IPOD = EREADER = "mdi:tablet" WATCH = WEARABLE = "mdi:watch" CAR = AUTOMOTIVE = "mdi:car-back" MEDIA_PLAYER = "mdi:volume-hi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fing/__init__.py
homeassistant/components/fing/__init__.py
"""The Fing integration.""" from __future__ import annotations import logging from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryError from .coordinator import FingConfigEntry, FingDataUpdateCoordinator _LOGGER = logging.getLogger(_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fing/config_flow.py
homeassistant/components/fing/config_flow.py
"""Config flow file.""" from contextlib import suppress import logging from typing import Any from fing_agent_api import FingAgent import httpx import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_API_KEY, CONF_IP_ADDRESS, CONF_PORT 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/google_tasks/api.py
homeassistant/components/google_tasks/api.py
"""API for Google Tasks bound to Home Assistant OAuth.""" from functools import partial import json import logging from typing import Any from google.oauth2.credentials import Credentials from googleapiclient.discovery import Resource, build from googleapiclient.errors import HttpError from googleapiclient.http 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_tasks/application_credentials.py
homeassistant/components/google_tasks/application_credentials.py
"""Application credentials platform for the Google Tasks integration.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant from .const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN async def async_get_authorization_server(hass: HomeAssistant) -> Au...
python
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_tasks/todo.py
homeassistant/components/google_tasks/todo.py
"""Google Tasks todo platform.""" from __future__ import annotations from datetime import UTC, date, datetime from typing import Any, cast from homeassistant.components.todo import ( TodoItem, TodoItemStatus, TodoListEntity, TodoListEntityFeature, ) from homeassistant.core import HomeAssistant from h...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_tasks/exceptions.py
homeassistant/components/google_tasks/exceptions.py
"""Exceptions for Google Tasks api calls.""" from homeassistant.exceptions import HomeAssistantError class GoogleTasksApiError(HomeAssistantError): """Error talking to the Google Tasks API."""
python
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_tasks/const.py
homeassistant/components/google_tasks/const.py
"""Constants for the Google Tasks integration.""" from enum import StrEnum DOMAIN = "google_tasks" OAUTH2_AUTHORIZE = "https://accounts.google.com/o/oauth2/v2/auth" OAUTH2_TOKEN = "https://oauth2.googleapis.com/token" OAUTH2_SCOPES = [ "https://www.googleapis.com/auth/tasks", "https://www.googleapis.com/auth...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_tasks/coordinator.py
homeassistant/components/google_tasks/coordinator.py
"""Coordinator for fetching data from Google Tasks API.""" import asyncio import datetime import logging from typing import Any, Final from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator from .api...
python
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_tasks/__init__.py
homeassistant/components/google_tasks/__init__.py
"""The Google Tasks integration.""" from __future__ import annotations import asyncio from aiohttp import ClientError, ClientResponseError from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady 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/google_tasks/config_flow.py
homeassistant/components/google_tasks/config_flow.py
"""Config flow for Google Tasks.""" from collections.abc import Mapping import logging from typing import Any from google.oauth2.credentials import Credentials from googleapiclient.discovery import build from googleapiclient.errors import HttpError from googleapiclient.http import HttpRequest 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/opnsense/device_tracker.py
homeassistant/components/opnsense/device_tracker.py
"""Device tracker support for OPNsense routers.""" from typing import Any, NewType from pyopnsense import diagnostics from homeassistant.components.device_tracker import DeviceScanner from homeassistant.core import HomeAssistant from homeassistant.helpers.typing import ConfigType from .const import CONF_INTERFACE_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/opnsense/const.py
homeassistant/components/opnsense/const.py
"""Constants for OPNsense component.""" DOMAIN = "opnsense" OPNSENSE_DATA = DOMAIN CONF_API_SECRET = "api_secret" CONF_INTERFACE_CLIENT = "interface_client" CONF_TRACKER_INTERFACES = "tracker_interfaces"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opnsense/__init__.py
homeassistant/components/opnsense/__init__.py
"""Support for OPNsense Routers.""" import logging from pyopnsense import diagnostics from pyopnsense.exceptions import APIException import voluptuous as vol from homeassistant.const import CONF_API_KEY, CONF_URL, CONF_VERIFY_SSL, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers 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/greenwave/__init__.py
homeassistant/components/greenwave/__init__.py
"""The greenwave 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/greenwave/light.py
homeassistant/components/greenwave/light.py
"""Support for Greenwave Reality (TCP Connected) lights.""" from __future__ import annotations from datetime import timedelta import logging import os from typing import Any import greenwavereality as greenwave import voluptuous as vol from homeassistant.components.light import ( ATTR_BRIGHTNESS, PLATFORM_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/tplink_tapo/__init__.py
homeassistant/components/tplink_tapo/__init__.py
"""Virtual integration: TP-Link Tapo."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cribl/__init__.py
homeassistant/components/cribl/__init__.py
"""Cribl virtual integration for Home Assistant."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/skybell/switch.py
homeassistant/components/skybell/switch.py
"""Switch support for the Skybell HD Doorbell.""" from __future__ import annotations from typing import Any, cast from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant 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/skybell/binary_sensor.py
homeassistant/components/skybell/binary_sensor.py
"""Binary sensor support for the Skybell HD Doorbell.""" from __future__ import annotations from aioskybell.helpers import const as CONST from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.config_entries im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false