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/freedompro/__init__.py
homeassistant/components/freedompro/__init__.py
"""Support for freedompro.""" from __future__ import annotations from typing import Final from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import FreedomproConfigEntry, FreedomproDataUpdateCoordinator PLATFORMS: Final[list[Platform]] = [ Platform.BINARY_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/freedompro/climate.py
homeassistant/components/freedompro/climate.py
"""Support for Freedompro climate.""" from __future__ import annotations import json import logging from typing import Any from aiohttp.client import ClientSession from pyfreedompro import put_state from homeassistant.components.climate import ( ATTR_HVAC_MODE, ClimateEntity, ClimateEntityFeature, 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/freedompro/light.py
homeassistant/components/freedompro/light.py
"""Support for Freedompro light.""" from __future__ import annotations import json from typing import Any from pyfreedompro import put_state from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_HS_COLOR, ColorMode, LightEntity, ) from homeassistant.const import CONF_API_KEY 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/freedompro/config_flow.py
homeassistant/components/freedompro/config_flow.py
"""Config flow to configure Freedompro.""" from typing import Any from pyfreedompro import get_list import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_API_KEY from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/google_assistant_sdk/diagnostics.py
homeassistant/components/google_assistant_sdk/diagnostics.py
"""Diagnostics support for Google Assistant SDK.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .helpers import GoogleAssistantSDKConfigEntry TO_REDACT = {"access_token", "refresh_toke...
python
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_assistant_sdk/application_credentials.py
homeassistant/components/google_assistant_sdk/application_credentials.py
"""application_credentials platform for Google Assistant SDK.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant from homeassistant.helpers.config_entry_oauth2_flow import ( AUTH_CALLBACK_PATH, MY_AUTH_CALLBACK_PATH, ) async def as...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_assistant_sdk/services.py
homeassistant/components/google_assistant_sdk/services.py
"""Services for the Google Assistant SDK integration.""" from __future__ import annotations import dataclasses import voluptuous as vol from homeassistant.core import ( HomeAssistant, ServiceCall, ServiceResponse, SupportsResponse, callback, ) from homeassistant.helpers import config_validation ...
python
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_assistant_sdk/const.py
homeassistant/components/google_assistant_sdk/const.py
"""Constants for Google Assistant SDK integration.""" from typing import Final DOMAIN: Final = "google_assistant_sdk" DEFAULT_NAME: Final = "Google Assistant SDK" CONF_LANGUAGE_CODE: Final = "language_code" # https://developers.google.com/assistant/sdk/reference/rpc/languages SUPPORTED_LANGUAGE_CODES: 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/google_assistant_sdk/helpers.py
homeassistant/components/google_assistant_sdk/helpers.py
"""Helper classes for Google Assistant SDK integration.""" from __future__ import annotations from dataclasses import dataclass from http import HTTPStatus import logging from typing import Any import uuid import aiohttp from aiohttp import web from gassist_text import TextAssistant from google.oauth2.credentials 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/google_assistant_sdk/__init__.py
homeassistant/components/google_assistant_sdk/__init__.py
"""Support for Google Assistant SDK.""" from __future__ import annotations import aiohttp from gassist_text import TextAssistant from google.oauth2.credentials import Credentials from homeassistant.components import conversation from homeassistant.const import CONF_ACCESS_TOKEN, CONF_NAME, Platform 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/google_assistant_sdk/notify.py
homeassistant/components/google_assistant_sdk/notify.py
"""Support for Google Assistant SDK broadcast notifications.""" from __future__ import annotations from typing import Any from homeassistant.components.notify import ATTR_TARGET, BaseNotificationService from homeassistant.core import HomeAssistant from homeassistant.helpers.typing import ConfigType, DiscoveryInfoTyp...
python
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_assistant_sdk/config_flow.py
homeassistant/components/google_assistant_sdk/config_flow.py
"""Config flow for Google Assistant SDK integration.""" 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, SOURCE_RECONFIGURE, ConfigFlowResult, OptionsFlow, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/aten_pe/switch.py
homeassistant/components/aten_pe/switch.py
"""The ATEN PE switch component.""" from __future__ import annotations import logging from typing import Any from atenpdu import AtenPE, AtenPEError import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_PLATFORM_SCHEMA, SwitchDeviceClass, SwitchEntity, ) 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/aten_pe/__init__.py
homeassistant/components/aten_pe/__init__.py
"""The ATEN PE 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/govee_ble/event.py
homeassistant/components/govee_ble/event.py
"""Support for govee_ble event entities.""" from __future__ import annotations from govee_ble import ModelInfo, SensorType from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_last_service_info, ) from homeassistant.components.event import ( EventDeviceClass, EventEntity,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/govee_ble/binary_sensor.py
homeassistant/components/govee_ble/binary_sensor.py
"""Support for govee-ble binary sensors.""" from __future__ import annotations from govee_ble import ( BinarySensorDeviceClass as GoveeBLEBinarySensorDeviceClass, SensorUpdate, ) from govee_ble.parser import ERROR from homeassistant import config_entries from homeassistant.components.binary_sensor 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/govee_ble/const.py
homeassistant/components/govee_ble/const.py
"""Constants for the Govee Bluetooth integration.""" DOMAIN = "govee_ble" CONF_DEVICE_TYPE = "device_type"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/govee_ble/coordinator.py
homeassistant/components/govee_ble/coordinator.py
"""The govee Bluetooth integration.""" from __future__ import annotations from collections.abc import Callable from logging import Logger from govee_ble import GoveeBluetoothDeviceData, ModelInfo, SensorUpdate, get_model_info from homeassistant.components.bluetooth import ( BluetoothScanningMode, BluetoothS...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/govee_ble/sensor.py
homeassistant/components/govee_ble/sensor.py
"""Support for govee ble sensors.""" from __future__ import annotations from datetime import date, datetime from decimal import Decimal from govee_ble import DeviceClass, SensorUpdate, Units from govee_ble.parser import ERROR from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluet...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/govee_ble/__init__.py
homeassistant/components/govee_ble/__init__.py
"""The Govee Bluetooth BLE integration.""" from __future__ import annotations from functools import partial import logging from govee_ble import GoveeBluetoothDeviceData from homeassistant.components.bluetooth import BluetoothScanningMode from homeassistant.const import Platform from homeassistant.core import HomeA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/govee_ble/device.py
homeassistant/components/govee_ble/device.py
"""Support for govee-ble devices.""" from __future__ import annotations from govee_ble import DeviceKey from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothEntityKey, ) def device_key_to_bluetooth_entity_key( device_key: DeviceKey, ) -> PassiveBluetoothEntityKey: "...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/govee_ble/config_flow.py
homeassistant/components/govee_ble/config_flow.py
"""Config flow for govee ble integration.""" from __future__ import annotations from typing import Any from govee_ble import GoveeBluetoothDeviceData as DeviceData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_discovered_service_info, ) 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/rtorrent/sensor.py
homeassistant/components/rtorrent/sensor.py
"""Support for monitoring the rtorrent BitTorrent client API.""" from __future__ import annotations import logging from typing import cast import xmlrpc.client import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorDeviceClass, SensorEntit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rtorrent/__init__.py
homeassistant/components/rtorrent/__init__.py
"""The rtorrent 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/yi/camera.py
homeassistant/components/yi/camera.py
"""Support for Xiaomi Cameras (HiSilicon Hi3518e V200).""" from __future__ import annotations import logging from aioftp import Client, StatusCodeError from haffmpeg.camera import CameraMjpeg import voluptuous as vol from homeassistant.components import ffmpeg from homeassistant.components.camera import ( PLATF...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/yi/__init__.py
homeassistant/components/yi/__init__.py
"""The yi 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/peblar/diagnostics.py
homeassistant/components/peblar/diagnostics.py
"""Diagnostics support for Peblar.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import PeblarConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: PeblarConfigEntry ) -> dict[str, Any]: """Return...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/switch.py
homeassistant/components/peblar/switch.py
"""Support for Peblar selects.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from peblar import PeblarEVInterface from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.cons...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/number.py
homeassistant/components/peblar/number.py
"""Support for Peblar numbers.""" from __future__ import annotations from homeassistant.components.number import ( NumberDeviceClass, NumberEntityDescription, RestoreNumber, ) from homeassistant.const import ( STATE_UNAVAILABLE, STATE_UNKNOWN, EntityCategory, UnitOfElectricCurrent, ) 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/peblar/binary_sensor.py
homeassistant/components/peblar/binary_sensor.py
"""Support for Peblar binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/const.py
homeassistant/components/peblar/const.py
"""Constants for the Peblar integration.""" from __future__ import annotations import logging from typing import Final from peblar import ChargeLimiter, CPState DOMAIN: Final = "peblar" LOGGER = logging.getLogger(__package__) PEBLAR_CHARGE_LIMITER_TO_HOME_ASSISTANT = { ChargeLimiter.CHARGING_CABLE: "charging_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/coordinator.py
homeassistant/components/peblar/coordinator.py
"""Data update coordinator for Peblar EV chargers.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from datetime import timedelta from typing import Any, Concatenate from peblar import ( Peblar, PeblarApi, PeblarAuthenticationError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/update.py
homeassistant/components/peblar/update.py
"""Support for Peblar updates.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.update import ( UpdateDeviceClass, UpdateEntity, UpdateEntityDescription, ) from homeassistant.core import HomeAssistant 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/peblar/helpers.py
homeassistant/components/peblar/helpers.py
"""Helpers for Peblar.""" from __future__ import annotations from collections.abc import Callable, Coroutine from typing import Any, Concatenate from peblar import PeblarAuthenticationError, PeblarConnectionError, PeblarError from homeassistant.exceptions import HomeAssistantError from .const import DOMAIN from .e...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/sensor.py
homeassistant/components/peblar/sensor.py
"""Support for Peblar sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, timedelta from peblar import PeblarUserConfiguration from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, 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/peblar/__init__.py
homeassistant/components/peblar/__init__.py
"""Integration for Peblar EV chargers.""" from __future__ import annotations import asyncio from aiohttp import CookieJar from peblar import ( AccessMode, Peblar, PeblarAuthenticationError, PeblarConnectionError, PeblarError, ) from homeassistant.const import CONF_HOST, CONF_PASSWORD, Platform f...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/entity.py
homeassistant/components/peblar/entity.py
"""Base entity for the Peblar integration.""" from __future__ import annotations from typing import Any from homeassistant.const import CONF_HOST from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescrip...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/button.py
homeassistant/components/peblar/button.py
"""Support for Peblar button.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from peblar import Peblar from homeassistant.components.button import ( ButtonDeviceClass, ButtonEntity, ButtonEntityDescription, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/select.py
homeassistant/components/peblar/select.py
"""Support for Peblar selects.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from peblar import Peblar, PeblarUserConfiguration, SmartChargingMode from homeassistant.components.select import SelectEntity, SelectEntityDe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/peblar/config_flow.py
homeassistant/components/peblar/config_flow.py
"""Config flow to configure the Peblar integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from aiohttp import CookieJar from peblar import Peblar, PeblarAuthenticationError, PeblarConnectionError import voluptuous as vol from homeassistant.config_entries 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/voip/assist_satellite.py
homeassistant/components/voip/assist_satellite.py
"""Assist satellite entity for VoIP integration.""" from __future__ import annotations import asyncio from datetime import timedelta from enum import IntFlag from functools import partial import io import logging from pathlib import Path import socket import time from typing import TYPE_CHECKING, Any, Final import wa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/repairs.py
homeassistant/components/voip/repairs.py
"""Repairs implementation for the VoIP integration.""" from __future__ import annotations from homeassistant.components.assist_pipeline.repair_flows import ( # pylint: disable=hass-component-root-import AssistInProgressDeprecatedRepairFlow, ) from homeassistant.components.repairs import RepairsFlow 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/voip/switch.py
homeassistant/components/voip/switch.py
"""VoIP switch entities.""" from __future__ import annotations from typing import TYPE_CHECKING, Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.const import STATE_ON, EntityCategory from homeassistant.core ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/store.py
homeassistant/components/voip/store.py
"""VOIP contact storage.""" from dataclasses import dataclass import logging from homeassistant.core import HomeAssistant from homeassistant.helpers.storage import Store from .const import STORAGE_VER _LOGGER = logging.getLogger(__name__) @dataclass class DeviceContact: """Device contact data.""" contact...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/binary_sensor.py
homeassistant/components/voip/binary_sensor.py
"""Binary sensor for VoIP.""" from __future__ import annotations from typing import TYPE_CHECKING from homeassistant.components.binary_sensor import ( BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callba...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/const.py
homeassistant/components/voip/const.py
"""Constants for the Voice over IP integration.""" from typing import Final DOMAIN = "voip" RATE = 16000 WIDTH = 2 CHANNELS = 1 RTP_AUDIO_SETTINGS = { "rate": RATE, "width": WIDTH, "channels": CHANNELS, "sleep_ratio": 0.99, } CONF_SIP_PORT = "sip_port" CONF_SIP_USER = "sip_user" STORAGE_VER: 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/voip/devices.py
homeassistant/components/voip/devices.py
"""Class to manage devices.""" from __future__ import annotations from collections.abc import Callable, Iterator from dataclasses import dataclass, field import logging from typing import Any from voip_utils import CallInfo, VoipDatagramProtocol from voip_utils.sip import SipEndpoint 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/voip/voip.py
homeassistant/components/voip/voip.py
"""Voice over IP (VoIP) implementation.""" from __future__ import annotations import asyncio from functools import partial import logging from pathlib import Path import time from typing import TYPE_CHECKING from voip_utils import ( CallInfo, RtcpState, RtpDatagramProtocol, SdpInfo, VoipDatagramP...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/__init__.py
homeassistant/components/voip/__init__.py
"""The Voice over IP integration.""" from __future__ import annotations import asyncio from collections.abc import Callable from dataclasses import dataclass import logging from voip_utils import SIP_PORT from homeassistant.auth.const import GROUP_ID_USER from homeassistant.config_entries import ConfigEntry 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/voip/entity.py
homeassistant/components/voip/entity.py
"""VoIP entities.""" from __future__ import annotations from homeassistant.helpers import entity from homeassistant.helpers.device_registry import DeviceInfo from .const import DOMAIN from .devices import VoIPDevice class VoIPEntity(entity.Entity): """VoIP entity.""" _attr_has_entity_name = True _attr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/select.py
homeassistant/components/voip/select.py
"""Select entities for VoIP integration.""" from __future__ import annotations from typing import TYPE_CHECKING from homeassistant.components.assist_pipeline import ( AssistPipelineSelect, VadSensitivitySelect, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/voip/config_flow.py
homeassistant/components/voip/config_flow.py
"""Config flow for VoIP integration.""" from __future__ import annotations from typing import Any from voip_utils import SIP_PORT import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlow, ) from homeassistant.core import callback from...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_sheets/application_credentials.py
homeassistant/components/google_sheets/application_credentials.py
"""application_credentials platform for Google Sheets.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: """Return authorization server.""" retu...
python
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_sheets/services.py
homeassistant/components/google_sheets/services.py
"""Support for Google Sheets.""" from __future__ import annotations from datetime import datetime from typing import TYPE_CHECKING from google.auth.exceptions import RefreshError from google.oauth2.credentials import Credentials from gspread import Client from gspread.exceptions import APIError from gspread.utils 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/google_sheets/const.py
homeassistant/components/google_sheets/const.py
"""Constants for Google Sheets integration.""" from __future__ import annotations DOMAIN = "google_sheets" DEFAULT_NAME = "Google Sheets" DEFAULT_ACCESS = "https://www.googleapis.com/auth/drive.file"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/google_sheets/__init__.py
homeassistant/components/google_sheets/__init__.py
"""Support for Google Sheets.""" from __future__ import annotations import aiohttp from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_TOKEN from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady 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/google_sheets/config_flow.py
homeassistant/components/google_sheets/config_flow.py
"""Config flow for Google Sheets integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from google.oauth2.credentials import Credentials from gspread import Client, GSpreadException from homeassistant.config_entries import SOURCE_REAUTH, ConfigF...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/device_tracker.py
homeassistant/components/fressnapf_tracker/device_tracker.py
"""Device tracker platform for fressnapf_tracker.""" from homeassistant.components.device_tracker import SourceType from homeassistant.components.device_tracker.config_entry import TrackerEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallbac...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/services.py
homeassistant/components/fressnapf_tracker/services.py
"""Services and service helpers for fressnapf_tracker.""" from fressnapftracker import FressnapfTrackerError, FressnapfTrackerInvalidTokenError from homeassistant.exceptions import ConfigEntryAuthFailed, HomeAssistantError from .const import DOMAIN def handle_fressnapf_tracker_exception(exception: FressnapfTracker...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/switch.py
homeassistant/components/fressnapf_tracker/switch.py
"""Switch platform for Fressnapf Tracker.""" from typing import TYPE_CHECKING, Any from fressnapftracker import FressnapfTrackerError from homeassistant.components.switch import ( SwitchDeviceClass, SwitchEntity, SwitchEntityDescription, ) from homeassistant.const import EntityCategory 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/fressnapf_tracker/binary_sensor.py
homeassistant/components/fressnapf_tracker/binary_sensor.py
"""Binary Sensor platform for fressnapf_tracker.""" from collections.abc import Callable from dataclasses import dataclass from fressnapftracker import Tracker from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassis...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/const.py
homeassistant/components/fressnapf_tracker/const.py
"""Constants for the Fressnapf Tracker integration.""" DOMAIN = "fressnapf_tracker" CONF_PHONE_NUMBER = "phone_number" CONF_SMS_CODE = "sms_code" CONF_USER_ID = "user_id"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/coordinator.py
homeassistant/components/fressnapf_tracker/coordinator.py
"""Data update coordinator for Fressnapf Tracker integration.""" from datetime import timedelta import logging from fressnapftracker import ( ApiClient, Device, FressnapfTrackerError, FressnapfTrackerInvalidDeviceTokenError, Tracker, ) from homeassistant.config_entries import ConfigEntry 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/fressnapf_tracker/sensor.py
homeassistant/components/fressnapf_tracker/sensor.py
"""Sensor platform for fressnapf_tracker.""" from collections.abc import Callable from dataclasses import dataclass from fressnapftracker import Tracker from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.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/fressnapf_tracker/__init__.py
homeassistant/components/fressnapf_tracker/__init__.py
"""The Fressnapf Tracker integration.""" from fressnapftracker import AuthClient, FressnapfTrackerAuthenticationError from homeassistant.const import CONF_ACCESS_TOKEN, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed from homeassistant.helpers.httpx_cli...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/entity.py
homeassistant/components/fressnapf_tracker/entity.py
"""fressnapf_tracker class.""" from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from . import FressnapfTrackerDataUpdateCoordinator from .const import DOMAIN class FressnapfT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fressnapf_tracker/light.py
homeassistant/components/fressnapf_tracker/light.py
"""Light platform for fressnapf_tracker.""" from typing import TYPE_CHECKING, Any from fressnapftracker import FressnapfTrackerError from homeassistant.components.light import ( ATTR_BRIGHTNESS, ColorMode, LightEntity, LightEntityDescription, ) from homeassistant.const import EntityCategory 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/fressnapf_tracker/config_flow.py
homeassistant/components/fressnapf_tracker/config_flow.py
"""Config flow for the Fressnapf Tracker integration.""" from collections.abc import Mapping import logging from typing import Any from fressnapftracker import ( AuthClient, FressnapfTrackerInvalidPhoneNumberError, FressnapfTrackerInvalidTokenError, ) import voluptuous as vol from homeassistant.config_en...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/influxdb/const.py
homeassistant/components/influxdb/const.py
"""Constants for InfluxDB integration.""" from datetime import timedelta import re import voluptuous as vol from homeassistant.const import ( CONF_API_VERSION, CONF_HOST, CONF_PASSWORD, CONF_PATH, CONF_PORT, CONF_SSL, CONF_TOKEN, CONF_USERNAME, CONF_VERIFY_SSL, ) 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/influxdb/sensor.py
homeassistant/components/influxdb/sensor.py
"""InfluxDB component which allows you to get data from an Influx database.""" from __future__ import annotations import datetime import logging from typing import Final import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) 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/influxdb/__init__.py
homeassistant/components/influxdb/__init__.py
"""Support for sending data to an Influx database.""" from __future__ import annotations from collections.abc import Callable from contextlib import suppress from dataclasses import dataclass import logging import math import queue import threading import time from typing import Any from influxdb import InfluxDBClie...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/constructa/__init__.py
homeassistant/components/constructa/__init__.py
"""Constructa 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/fish_audio/tts.py
homeassistant/components/fish_audio/tts.py
"""TTS platform for the Fish Audio integration.""" from __future__ import annotations import logging from typing import Any from fishaudio.exceptions import APIError, RateLimitError from homeassistant.components.tts import TextToSpeechEntity, TtsAudioType from homeassistant.config_entries import ConfigSubentry 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/fish_audio/error.py
homeassistant/components/fish_audio/error.py
"""Exceptions for the Fish Audio integration.""" import logging from homeassistant.exceptions import HomeAssistantError _LOGGER = logging.getLogger(__package__) class FishAudioError(HomeAssistantError): """Base class for Fish Audio errors.""" class CannotConnectError(FishAudioError): """Error to indicate...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fish_audio/const.py
homeassistant/components/fish_audio/const.py
"""Constants for the FishAudio integration.""" from typing import Literal DOMAIN = "fish_audio" CONF_NAME: Literal["name"] = "name" CONF_USER_ID: Literal["user_id"] = "user_id" CONF_API_KEY: Literal["api_key"] = "api_key" CONF_VOICE_ID: Literal["voice_id"] = "voice_id" CONF_BACKEND: Literal["backend"] = "backend" 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/fish_audio/__init__.py
homeassistant/components/fish_audio/__init__.py
"""The Fish Audio integration.""" from __future__ import annotations import logging from fishaudio import AsyncFishAudio from fishaudio.exceptions import AuthenticationError, FishAudioError from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/fish_audio/types.py
homeassistant/components/fish_audio/types.py
"""Type definitions for the Fish Audio integration.""" from __future__ import annotations from fishaudio import AsyncFishAudio from homeassistant.config_entries import ConfigEntry type FishAudioConfigEntry = ConfigEntry[AsyncFishAudio]
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fish_audio/config_flow.py
homeassistant/components/fish_audio/config_flow.py
"""Config flow for the Fish Audio integration.""" from __future__ import annotations import logging from typing import Any from fishaudio import AsyncFishAudio from fishaudio.exceptions import AuthenticationError, FishAudioError import voluptuous as vol from homeassistant.config_entries import ( SOURCE_USER, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/foobot/sensor.py
homeassistant/components/foobot/sensor.py
"""Support for the Foobot indoor air quality monitor.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any import aiohttp from foobot_async import FoobotClient import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_P...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/foobot/__init__.py
homeassistant/components/foobot/__init__.py
"""The foobot 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/nextdns/diagnostics.py
homeassistant/components/nextdns/diagnostics.py
"""Diagnostics support for NextDNS.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_API_KEY, CONF_UNIQUE_ID from homeassistant.core import HomeAssistant from . import N...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/system_health.py
homeassistant/components/nextdns/system_health.py
"""Provide info to system health.""" from __future__ import annotations from typing import Any from nextdns.const import API_ENDPOINT from homeassistant.components import system_health from homeassistant.core import HomeAssistant, callback @callback def async_register( hass: HomeAssistant, register: system_he...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/switch.py
homeassistant/components/nextdns/switch.py
"""Support for the NextDNS service.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from aiohttp import ClientError from aiohttp.client_exceptions import ClientConnectorError from nextdns import ApiError, InvalidApiKeyError, Settings...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/binary_sensor.py
homeassistant/components/nextdns/binary_sensor.py
"""Support for the NextDNS service.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from nextdns import ConnectionStatus from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/const.py
homeassistant/components/nextdns/const.py
"""Constants for NextDNS integration.""" from datetime import timedelta ATTR_CONNECTION = "connection" ATTR_DNSSEC = "dnssec" ATTR_ENCRYPTION = "encryption" ATTR_IP_VERSIONS = "ip_versions" ATTR_PROTOCOLS = "protocols" ATTR_SETTINGS = "settings" ATTR_STATUS = "status" CONF_PROFILE_ID = "profile_id" UPDATE_INTERVAL_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/coordinator.py
homeassistant/components/nextdns/coordinator.py
"""NextDns coordinator.""" from __future__ import annotations from datetime import timedelta import logging from typing import TYPE_CHECKING from aiohttp.client_exceptions import ClientConnectorError from nextdns import ( AnalyticsDnssec, AnalyticsEncryption, AnalyticsIpVersions, AnalyticsProtocols, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/sensor.py
homeassistant/components/nextdns/sensor.py
"""Support for the NextDNS service.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from nextdns import ( AnalyticsDnssec, AnalyticsEncryption, AnalyticsIpVersions, AnalyticsProtocols, AnalyticsStatus, ) from nextdns.model import NextDn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/__init__.py
homeassistant/components/nextdns/__init__.py
"""The NextDNS component.""" from __future__ import annotations import asyncio from dataclasses import dataclass from aiohttp.client_exceptions import ClientConnectorError from nextdns import ( AnalyticsDnssec, AnalyticsEncryption, AnalyticsIpVersions, AnalyticsProtocols, AnalyticsStatus, 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/nextdns/entity.py
homeassistant/components/nextdns/entity.py
"""Define NextDNS entities.""" from nextdns.model import NextDnsData from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nextdns/button.py
homeassistant/components/nextdns/button.py
"""Support for the NextDNS service.""" from __future__ import annotations from aiohttp import ClientError from aiohttp.client_exceptions import ClientConnectorError from nextdns import ApiError, InvalidApiKeyError from homeassistant.components.button import ButtonEntity, ButtonEntityDescription 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/nextdns/config_flow.py
homeassistant/components/nextdns/config_flow.py
"""Adds config flow for NextDNS.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from aiohttp.client_exceptions import ClientConnectorError from nextdns import ApiError, InvalidApiKeyError, NextDns from tenacity import RetryError import voluptuous as vo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sinch/__init__.py
homeassistant/components/sinch/__init__.py
"""Component to integrate with Sinch SMS 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/sinch/notify.py
homeassistant/components/sinch/notify.py
"""Support for Sinch notifications.""" from __future__ import annotations import logging from clx.xms.api import MtBatchTextSmsResult from clx.xms.client import Client from clx.xms.exceptions import ( ErrorResponseException, NotFoundException, UnauthorizedException, UnexpectedResponseException, ) 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/august/event.py
homeassistant/components/august/event.py
"""Support for august events.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import TYPE_CHECKING from yalexs.activity import Activity from yalexs.doorbell import DoorbellDetail from yalexs.lock import LockDetail from homeassistant.components...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/august/diagnostics.py
homeassistant/components/august/diagnostics.py
"""Diagnostics support for august.""" from __future__ import annotations from typing import Any from yalexs.const import DEFAULT_BRAND from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from . import AugustConfigEntry from .const import CONF_BRAND TO_RE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/august/util.py
homeassistant/components/august/util.py
"""August util functions.""" from __future__ import annotations from datetime import datetime, timedelta from functools import partial import aiohttp from yalexs.activity import ACTION_DOORBELL_CALL_MISSED, Activity, ActivityType from yalexs.doorbell import DoorbellDetail from yalexs.lock import LockDetail from yale...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/august/application_credentials.py
homeassistant/components/august/application_credentials.py
"""application_credentials platform for the august integration.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant OAUTH2_AUTHORIZE = "https://auth.august.com/authorization" OAUTH2_TOKEN = "https://auth.august.com/access_token" async def ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/august/binary_sensor.py
homeassistant/components/august/binary_sensor.py
"""Support for August binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, timedelta from functools import partial import logging from yalexs.activity import Activity, ActivityType from yalexs.doorbell import Doorb...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/august/lock.py
homeassistant/components/august/lock.py
"""Support for August lock.""" from __future__ import annotations import logging from typing import Any from aiohttp import ClientResponseError from yalexs.activity import ActivityType from yalexs.lock import Lock, LockOperation, LockStatus from yalexs.util import get_latest_activity, update_lock_detail_from_activit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/august/camera.py
homeassistant/components/august/camera.py
"""Support for August doorbell camera.""" from __future__ import annotations import logging from aiohttp import ClientSession from yalexs.activity import ActivityType from yalexs.doorbell import Doorbell from yalexs.util import update_doorbell_image_from_activity from homeassistant.components.camera import Camera f...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false