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/sense/config_flow.py
homeassistant/components/sense/config_flow.py
"""Config flow for Sense integration.""" from collections.abc import Mapping from functools import partial import logging from typing import Any from sense_energy import ( ASyncSenseable, SenseAuthenticationException, SenseMFARequiredException, ) import voluptuous as vol from homeassistant.config_entries...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/number.py
homeassistant/components/sabnzbd/number.py
"""Number entities for the SABnzbd integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from pysabnzbd import SabnzbdApiException from homeassistant.components.number import ( NumberEntity, NumberEntityDescription, NumberMod...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/binary_sensor.py
homeassistant/components/sabnzbd/binary_sensor.py
"""Binary sensor platform for SABnzbd.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/sabnzbd/const.py
homeassistant/components/sabnzbd/const.py
"""Constants for the Sabnzbd component.""" DOMAIN = "sabnzbd"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/coordinator.py
homeassistant/components/sabnzbd/coordinator.py
"""DataUpdateCoordinator for the SABnzbd integration.""" from datetime import timedelta import logging from typing import Any from pysabnzbd import SabnzbdApi, SabnzbdApiException from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coord...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/helpers.py
homeassistant/components/sabnzbd/helpers.py
"""Support for the Sabnzbd service.""" from pysabnzbd import SabnzbdApi, SabnzbdApiException from homeassistant.const import CONF_API_KEY, CONF_URL from homeassistant.core import _LOGGER, HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession async def get_client(hass: 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/sabnzbd/sensor.py
homeassistant/components/sabnzbd/sensor.py
"""Support for monitoring an SABnzbd NZB client.""" from __future__ import annotations from dataclasses import dataclass from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import UnitOfDataRate, UnitOfIn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/__init__.py
homeassistant/components/sabnzbd/__init__.py
"""Support for monitoring an SABnzbd NZB client.""" from __future__ import annotations import logging from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from .coordinator import SabnzbdConfigEntry, SabnzbdUpdateCoordinator 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/sabnzbd/entity.py
homeassistant/components/sabnzbd/entity.py
"""Base entity for Sabnzbd.""" from homeassistant.const import CONF_URL 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 .coordi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/button.py
homeassistant/components/sabnzbd/button.py
"""Button platform for the SABnzbd component.""" from collections.abc import Callable from dataclasses import dataclass from typing import Any from pysabnzbd import SabnzbdApiException from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.core import HomeAssistant from ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sabnzbd/config_flow.py
homeassistant/components/sabnzbd/config_flow.py
"""Adds config flow for SabNzbd.""" from __future__ import annotations import logging from typing import Any import voluptuous as vol import yarl from homeassistant.config_entries import ( SOURCE_RECONFIGURE, ConfigFlow, ConfigFlowResult, ) from homeassistant.const import CONF_API_KEY, CONF_URL 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/melcloud/diagnostics.py
homeassistant/components/melcloud/diagnostics.py
"""Diagnostics support for MelCloud.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_TOKEN, CONF_USERNAME from homeassistant.core import HomeAssistant from homeassistant.helpers import entity_registry...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/melcloud/const.py
homeassistant/components/melcloud/const.py
"""Constants for the MELCloud Climate integration.""" DOMAIN = "melcloud" CONF_POSITION = "position" ATTR_STATUS = "status" ATTR_VANE_HORIZONTAL = "vane_horizontal" ATTR_VANE_HORIZONTAL_POSITIONS = "vane_horizontal_positions" ATTR_VANE_VERTICAL = "vane_vertical" ATTR_VANE_VERTICAL_POSITIONS = "vane_vertical_position...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/melcloud/sensor.py
homeassistant/components/melcloud/sensor.py
"""Support for MelCloud device sensors.""" from __future__ import annotations from collections.abc import Callable import dataclasses from typing import Any from pymelcloud import DEVICE_TYPE_ATA, DEVICE_TYPE_ATW from pymelcloud.atw_device import Zone from homeassistant.components.sensor import ( SensorDeviceCl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/melcloud/__init__.py
homeassistant/components/melcloud/__init__.py
"""The MELCloud Climate integration.""" from __future__ import annotations import asyncio from datetime import timedelta import logging from typing import Any from aiohttp import ClientConnectionError, ClientResponseError from pymelcloud import Device, get_devices from pymelcloud.atw_device import Zone from homeass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/melcloud/water_heater.py
homeassistant/components/melcloud/water_heater.py
"""Platform for water_heater integration.""" from __future__ import annotations from typing import Any from pymelcloud import DEVICE_TYPE_ATW, AtwDevice from pymelcloud.atw_device import ( PROPERTY_OPERATION_MODE, PROPERTY_TARGET_TANK_TEMPERATURE, ) from pymelcloud.device import PROPERTY_POWER 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/melcloud/climate.py
homeassistant/components/melcloud/climate.py
"""Platform for climate integration.""" from __future__ import annotations from datetime import timedelta from typing import Any, cast from pymelcloud import DEVICE_TYPE_ATA, DEVICE_TYPE_ATW, AtaDevice, AtwDevice import pymelcloud.ata_device as ata import pymelcloud.atw_device as atw from pymelcloud.atw_device 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/melcloud/config_flow.py
homeassistant/components/melcloud/config_flow.py
"""Config flow for the MELCloud platform.""" from __future__ import annotations import asyncio from collections.abc import Mapping from http import HTTPStatus import logging from typing import Any from aiohttp import ClientError, ClientResponseError import pymelcloud import voluptuous as vol 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/airtouch4/const.py
homeassistant/components/airtouch4/const.py
"""Constants for the AirTouch4 integration.""" DOMAIN = "airtouch4"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airtouch4/coordinator.py
homeassistant/components/airtouch4/coordinator.py
"""DataUpdateCoordinator for the airtouch integration.""" import logging from airtouch4pyapi import AirTouch from airtouch4pyapi.airtouch import AirTouchStatus from homeassistant.components.climate import SCAN_INTERVAL from homeassistant.config_entries import ConfigEntry from homeassistant.core import 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/airtouch4/__init__.py
homeassistant/components/airtouch4/__init__.py
"""The AirTouch4 integration.""" from airtouch4pyapi import AirTouch from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from .coordinator import AirTouch4ConfigEntry, AirtouchDataUpdateCoordinator PLATFORMS = [Pla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airtouch4/climate.py
homeassistant/components/airtouch4/climate.py
"""AirTouch 4 component to control of AirTouch 4 Climate Devices.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.climate import ( FAN_AUTO, FAN_DIFFUSE, FAN_FOCUS, FAN_HIGH, FAN_LOW, FAN_MEDIUM, ClimateEntity, ClimateEntityFea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airtouch4/config_flow.py
homeassistant/components/airtouch4/config_flow.py
"""Config flow for AirTouch4.""" from typing import Any from airtouch4pyapi import AirTouch, AirTouchStatus import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST from .const import DOMAIN DATA_SCHEMA = vol.Schema({vol.Required(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/meraki/device_tracker.py
homeassistant/components/meraki/device_tracker.py
"""Support for the Meraki CMX location service.""" from __future__ import annotations from http import HTTPStatus import json import logging import voluptuous as vol from homeassistant.components.device_tracker import ( PLATFORM_SCHEMA as DEVICE_TRACKER_PLATFORM_SCHEMA, AsyncSeeCallback, SourceType, ) 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/meraki/__init__.py
homeassistant/components/meraki/__init__.py
"""The meraki 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/probe_plus/const.py
homeassistant/components/probe_plus/const.py
"""Constants for the Probe Plus integration.""" DOMAIN = "probe_plus"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/probe_plus/coordinator.py
homeassistant/components/probe_plus/coordinator.py
"""Coordinator for the probe_plus integration.""" from __future__ import annotations from datetime import timedelta import logging from pyprobeplus import ProbePlusDevice from pyprobeplus.exceptions import ProbePlusDeviceNotFound, ProbePlusError from homeassistant.components import bluetooth 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/probe_plus/sensor.py
homeassistant/components/probe_plus/sensor.py
"""Support for Probe Plus BLE sensors.""" from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.sensor import ( RestoreSensor, SensorDeviceClass, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( PERCENTAGE, SIGNAL_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/probe_plus/__init__.py
homeassistant/components/probe_plus/__init__.py
"""The Probe Plus integration.""" from __future__ import annotations from homeassistant.const import CONF_MODEL, Platform from homeassistant.core import HomeAssistant from .coordinator import ProbePlusConfigEntry, ProbePlusDataUpdateCoordinator PLATFORMS: list[Platform] = [Platform.SENSOR] async def async_setup_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/probe_plus/entity.py
homeassistant/components/probe_plus/entity.py
"""Probe Plus base entity type.""" from dataclasses import dataclass from pyprobeplus import ProbePlusDevice from homeassistant.const import CONF_MODEL from homeassistant.helpers.device_registry import ( CONNECTION_BLUETOOTH, DeviceInfo, format_mac, ) from homeassistant.helpers.entity import EntityDescri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/probe_plus/config_flow.py
homeassistant/components/probe_plus/config_flow.py
"""Config flow for probe_plus integration.""" from __future__ import annotations import dataclasses import logging from typing import Any import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfo, async_discovered_service_info, ) from homeassistant.config_entries 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/konnected/panel.py
homeassistant/components/konnected/panel.py
"""Support for Konnected devices.""" import asyncio import logging import konnected from homeassistant.const import ( ATTR_ENTITY_ID, ATTR_STATE, CONF_ACCESS_TOKEN, CONF_BINARY_SENSORS, CONF_DEVICES, CONF_DISCOVERY, CONF_HOST, CONF_ID, CONF_NAME, CONF_PIN, CONF_PORT, 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/konnected/switch.py
homeassistant/components/konnected/switch.py
"""Support for wired switches attached to a Konnected device.""" import logging from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_STATE, CONF_DEVICES, CONF_NAME, CONF_REPEAT, 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/konnected/binary_sensor.py
homeassistant/components/konnected/binary_sensor.py
"""Support for wired binary sensors attached to a Konnected device.""" from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_ENTITY_ID, ATTR_STATE, CONF_BINARY_SENSORS, CONF_DEVICES, CONF_NAM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/konnected/const.py
homeassistant/components/konnected/const.py
"""Konnected constants.""" DOMAIN = "konnected" CONF_ACTIVATION = "activation" CONF_API_HOST = "api_host" CONF_DEFAULT_OPTIONS = "default_options" CONF_MOMENTARY = "momentary" CONF_PAUSE = "pause" CONF_POLL_INTERVAL = "poll_interval" CONF_PRECISION = "precision" CONF_INVERSE = "inverse" CONF_BLINK = "blink" CONF_DHT_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/konnected/errors.py
homeassistant/components/konnected/errors.py
"""Errors for the Konnected component.""" from homeassistant.exceptions import HomeAssistantError class KonnectedException(HomeAssistantError): """Base class for Konnected exceptions.""" class CannotConnect(KonnectedException): """Unable to connect to the panel."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/konnected/sensor.py
homeassistant/components/konnected/sensor.py
"""Support for DHT and DS18B20 sensors attached to a Konnected device.""" from __future__ import annotations from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) from homeassistant.config_entries import ConfigEntry 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/konnected/__init__.py
homeassistant/components/konnected/__init__.py
"""Support for Konnected devices.""" import copy import hmac from http import HTTPStatus import json import logging from aiohttp.hdrs import AUTHORIZATION from aiohttp.web import Request, Response import voluptuous as vol from homeassistant import config_entries from homeassistant.components.binary_sensor import DEV...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/konnected/handlers.py
homeassistant/components/konnected/handlers.py
"""Handle Konnected messages.""" import logging from homeassistant.components.sensor import SensorDeviceClass from homeassistant.const import ATTR_ENTITY_ID, ATTR_STATE from homeassistant.helpers.dispatcher import async_dispatcher_send from homeassistant.util import decorator from .const import CONF_INVERSE, SIGNAL_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/konnected/config_flow.py
homeassistant/components/konnected/config_flow.py
"""Config flow for konnected.io integration.""" from __future__ import annotations import asyncio import copy import logging import random import string from typing import Any from urllib.parse import urlparse import voluptuous as vol from homeassistant.components.binary_sensor import ( DEVICE_CLASSES_SCHEMA, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ntfy/event.py
homeassistant/components/ntfy/event.py
"""Event platform for ntfy integration.""" from __future__ import annotations import asyncio import logging from typing import TYPE_CHECKING from aiontfy import Event, Notification from aiontfy.exceptions import ( NtfyConnectionError, NtfyForbiddenError, NtfyHTTPError, NtfyTimeoutError, ) 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/ntfy/diagnostics.py
homeassistant/components/ntfy/diagnostics.py
"""Diagnostics platform for ntfy integration.""" from __future__ import annotations from typing import Any from yarl import URL from homeassistant.components.diagnostics import REDACTED from homeassistant.const import CONF_URL from homeassistant.core import HomeAssistant from . import NtfyConfigEntry async def 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/ntfy/repairs.py
homeassistant/components/ntfy/repairs.py
"""Repairs for ntfy integration.""" from __future__ import annotations import voluptuous as vol from homeassistant import data_entry_flow from homeassistant.components.repairs import ConfirmRepairFlow, RepairsFlow from homeassistant.core import HomeAssistant from homeassistant.helpers import entity_registry as er 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/ntfy/const.py
homeassistant/components/ntfy/const.py
"""Constants for the ntfy integration.""" from typing import Final DOMAIN = "ntfy" DEFAULT_URL: Final = "https://ntfy.sh" CONF_TOPIC = "topic" CONF_PRIORITY = "filter_priority" CONF_TITLE = "filter_title" CONF_MESSAGE = "filter_message" CONF_TAGS = "filter_tags" SECTION_AUTH = "auth" SECTION_FILTER = "filter" NTFY_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/ntfy/coordinator.py
homeassistant/components/ntfy/coordinator.py
"""DataUpdateCoordinator for ntfy integration.""" from __future__ import annotations from datetime import timedelta import logging from aiontfy import Account as NtfyAccount, Ntfy from aiontfy.exceptions import ( NtfyConnectionError, NtfyHTTPError, NtfyTimeoutError, NtfyUnauthorizedAuthenticationErro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ntfy/sensor.py
homeassistant/components/ntfy/sensor.py
"""Sensor platform for ntfy integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from aiontfy import Account as NtfyAccount from yarl import URL from homeassistant.components.sensor import ( SensorDeviceClass, Sens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ntfy/__init__.py
homeassistant/components/ntfy/__init__.py
"""The ntfy integration.""" from __future__ import annotations import logging from aiontfy import Ntfy from aiontfy.exceptions import ( NtfyConnectionError, NtfyHTTPError, NtfyTimeoutError, NtfyUnauthorizedAuthenticationError, ) from homeassistant.const import CONF_TOKEN, CONF_URL, CONF_VERIFY_SSL, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ntfy/entity.py
homeassistant/components/ntfy/entity.py
"""Base entity for ntfy integration.""" from __future__ import annotations from yarl import URL from homeassistant.config_entries import ConfigSubentry from homeassistant.const import CONF_URL from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import Entit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ntfy/notify.py
homeassistant/components/ntfy/notify.py
"""ntfy notification entity.""" from __future__ import annotations from datetime import timedelta from typing import Any from aiontfy import Message from aiontfy.exceptions import ( NtfyException, NtfyHTTPError, NtfyUnauthorizedAuthenticationError, ) import voluptuous as vol from yarl import URL 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/ntfy/config_flow.py
homeassistant/components/ntfy/config_flow.py
"""Config flow for the ntfy integration.""" from __future__ import annotations from collections.abc import Mapping import logging import random import re import string from typing import TYPE_CHECKING, Any from aiontfy import Ntfy from aiontfy.exceptions import ( NtfyException, NtfyHTTPError, NtfyUnautho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/client.py
homeassistant/components/remote_calendar/client.py
"""Specifies the parameter for the httpx download.""" from httpx import AsyncClient, Response, Timeout async def get_calendar(client: AsyncClient, url: str) -> Response: """Make an HTTP GET request using Home Assistant's async HTTPX client with timeout.""" return await client.get( url, follow...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/diagnostics.py
homeassistant/components/remote_calendar/diagnostics.py
"""Provides diagnostics for the remote calendar.""" import datetime from typing import Any from ical.diagnostics import redact_ics from homeassistant.core import HomeAssistant from homeassistant.util import dt as dt_util from . import RemoteCalendarConfigEntry async def async_get_config_entry_diagnostics( has...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/ics.py
homeassistant/components/remote_calendar/ics.py
"""Module for parsing ICS content. This module exists to fix known issues where calendar providers return calendars that do not follow rfcc5545. This module will attempt to fix the calendar and return a valid calendar object. """ import logging from ical.calendar import Calendar from ical.calendar_stream import IcsC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/const.py
homeassistant/components/remote_calendar/const.py
"""Constants for the Remote Calendar integration.""" DOMAIN = "remote_calendar" CONF_CALENDAR_NAME = "calendar_name"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/coordinator.py
homeassistant/components/remote_calendar/coordinator.py
"""Data UpdateCoordinator for the Remote Calendar integration.""" from datetime import timedelta import logging from httpx import HTTPError, InvalidURL, TimeoutException from ical.calendar import Calendar from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_URL 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/remote_calendar/__init__.py
homeassistant/components/remote_calendar/__init__.py
"""The Remote Calendar integration.""" import logging from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .const import DOMAIN from .coordinator import RemoteCalendarConfigEntry, RemoteCalendarDataUpdateCoordinator _LOGGER = logging.getLogger(__name__) PLATFORMS: list[Platfo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/calendar.py
homeassistant/components/remote_calendar/calendar.py
"""Calendar platform for a Remote Calendar.""" from datetime import datetime import logging from ical.event import Event from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCal...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remote_calendar/config_flow.py
homeassistant/components/remote_calendar/config_flow.py
"""Config flow for Remote Calendar integration.""" from http import HTTPStatus import logging from typing import Any from httpx import HTTPError, InvalidURL, TimeoutException import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_URL 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/uptime_kuma/diagnostics.py
homeassistant/components/uptime_kuma/diagnostics.py
"""Diagnostics platform for Uptime Kuma.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .coordinator import UptimeKumaConfigEntry TO_REDACT = {"monitor_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/uptime_kuma/const.py
homeassistant/components/uptime_kuma/const.py
"""Constants for the Uptime Kuma integration.""" from pythonkuma import MonitorType DOMAIN = "uptime_kuma" HAS_CERT = { MonitorType.HTTP, MonitorType.KEYWORD, MonitorType.JSON_QUERY, } HAS_URL = HAS_CERT | {MonitorType.REAL_BROWSER} HAS_PORT = { MonitorType.PORT, MonitorType.STEAM, MonitorTyp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/uptime_kuma/coordinator.py
homeassistant/components/uptime_kuma/coordinator.py
"""Coordinator for the Uptime Kuma integration.""" from __future__ import annotations from datetime import timedelta import logging from pythonkuma import ( UpdateException, UptimeKuma, UptimeKumaAuthenticationException, UptimeKumaException, UptimeKumaMonitor, UptimeKumaVersion, ) from python...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/uptime_kuma/update.py
homeassistant/components/uptime_kuma/update.py
"""Update platform for the Uptime Kuma integration.""" from __future__ import annotations from enum import StrEnum from homeassistant.components.update import ( UpdateEntity, UpdateEntityDescription, UpdateEntityFeature, ) from homeassistant.const import CONF_URL from homeassistant.core import 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/uptime_kuma/sensor.py
homeassistant/components/uptime_kuma/sensor.py
"""Sensor platform for the Uptime Kuma integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from pythonkuma import MonitorType, UptimeKumaMonitor from pythonkuma.models import MonitorStatus from homeassistant.components.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/uptime_kuma/__init__.py
homeassistant/components/uptime_kuma/__init__.py
"""The Uptime Kuma integration.""" from __future__ import annotations from pythonkuma.update import UpdateChecker from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr from homeassistant.helpers.aiohttp_client import async_get_cl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/uptime_kuma/config_flow.py
homeassistant/components/uptime_kuma/config_flow.py
"""Config flow for the Uptime Kuma integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pythonkuma import ( UptimeKuma, UptimeKumaAuthenticationException, UptimeKumaException, ) import voluptuous as vol from yarl import URL 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/pge/__init__.py
homeassistant/components/pge/__init__.py
"""Virtual integration: Pacific Gas & Electric (PG&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/led_ble/models.py
homeassistant/components/led_ble/models.py
"""The led ble integration models.""" from __future__ import annotations from dataclasses import dataclass from led_ble import LEDBLE from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.update_coordinator import DataUpdateCoordinator type LEDBLEConfigEntry = ConfigEntry[LEDBLEData] @d...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/led_ble/const.py
homeassistant/components/led_ble/const.py
"""Constants for the LED BLE integration.""" from typing import Final DOMAIN = "led_ble" DEVICE_TIMEOUT = 30 LOCAL_NAMES = {"LEDnet", "BLE-LED", "LEDBLE", "Triones", "LEDBlue", "LD-0003"} UNSUPPORTED_SUB_MODEL = "LEDnetWF" UPDATE_SECONDS = 15 DEFAULT_EFFECT_SPEED: Final = 50
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/led_ble/__init__.py
homeassistant/components/led_ble/__init__.py
"""The LED BLE integration.""" from __future__ import annotations import asyncio from datetime import timedelta import logging from led_ble import BLEAK_EXCEPTIONS, LEDBLE from homeassistant.components import bluetooth from homeassistant.components.bluetooth.match import ADDRESS, BluetoothCallbackMatcher 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/led_ble/light.py
homeassistant/components/led_ble/light.py
"""LED BLE integration light platform.""" from __future__ import annotations from typing import Any, cast from led_ble import LEDBLE from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_EFFECT, ATTR_RGB_COLOR, ATTR_WHITE, ColorMode, LightEntity, LightEntityFeature, ) 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/led_ble/config_flow.py
homeassistant/components/led_ble/config_flow.py
"""Config flow for LEDBLE integration.""" from __future__ import annotations import logging from typing import Any from bluetooth_data_tools import human_readable_name from led_ble import BLEAK_EXCEPTIONS, LEDBLE, CharacteristicMissingError import voluptuous as vol from homeassistant.components.bluetooth 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/configurator/__init__.py
homeassistant/components/configurator/__init__.py
"""Support to allow pieces of code to request configuration from the user. Initiate a request by calling the `request_config` method with a callback. This will return a request id that has to be used for future calls. A callback has to be provided to `request_config` which will be called when the user has submitted 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/lg_thinq/event.py
homeassistant/components/lg_thinq/event.py
"""Support for event entity.""" from __future__ import annotations import logging from thinqconnect import DeviceType from thinqconnect.integration import ActiveMode, ThinQPropertyEx from homeassistant.components.event import EventEntity, EventEntityDescription from homeassistant.core import HomeAssistant from home...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/vacuum.py
homeassistant/components/lg_thinq/vacuum.py
"""Support for vacuum entities.""" from __future__ import annotations from enum import StrEnum import logging from typing import Any from thinqconnect import DeviceType from thinqconnect.integration import ExtendedProperty from homeassistant.components.vacuum import ( StateVacuumEntity, StateVacuumEntityDes...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/switch.py
homeassistant/components/lg_thinq/switch.py
"""Support for switch entities.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import Any from thinqconnect import DeviceType from thinqconnect.devices.const import Property as ThinQProperty from thinqconnect.integration import ActiveMode from homeassistant.compon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/number.py
homeassistant/components/lg_thinq/number.py
"""Support for number entities.""" from __future__ import annotations import logging from thinqconnect import DeviceType from thinqconnect.devices.const import Property as ThinQProperty from thinqconnect.integration import ActiveMode, TimerProperty from homeassistant.components.number import ( NumberDeviceClass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/binary_sensor.py
homeassistant/components/lg_thinq/binary_sensor.py
"""Support for binary sensor entities.""" from __future__ import annotations from dataclasses import dataclass import logging from thinqconnect import DeviceType from thinqconnect.devices.const import Property as ThinQProperty from thinqconnect.integration import ActiveMode from homeassistant.components.binary_sens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/const.py
homeassistant/components/lg_thinq/const.py
"""Constants for LG ThinQ.""" from datetime import timedelta from typing import Final from homeassistant.const import UnitOfTemperature # Config flow DOMAIN = "lg_thinq" COMPANY = "LGE" DEFAULT_COUNTRY: Final = "US" THINQ_DEFAULT_NAME: Final = "LG ThinQ" THINQ_PAT_URL: Final = "https://connect-pat.lgthinq.com" CLIEN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/coordinator.py
homeassistant/components/lg_thinq/coordinator.py
"""DataUpdateCoordinator for the LG ThinQ device.""" from __future__ import annotations from collections.abc import Mapping from datetime import time import logging from typing import TYPE_CHECKING, Any from thinqconnect import ThinQAPIException from thinqconnect.integration import HABridge 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/lg_thinq/fan.py
homeassistant/components/lg_thinq/fan.py
"""Support for fan entities.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import Any from thinqconnect import DeviceType from thinqconnect.devices.const import Property as ThinQProperty from thinqconnect.integration import ActiveMode from homeassistant.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/lg_thinq/sensor.py
homeassistant/components/lg_thinq/sensor.py
"""Support for sensor entities.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, time, timedelta import logging import random from thinqconnect import USAGE_DAILY, USAGE_MONTHLY, DeviceType, ThinQAPIException from thinqconnect...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/__init__.py
homeassistant/components/lg_thinq/__init__.py
"""Support for LG ThinQ Connect device.""" from __future__ import annotations import asyncio from dataclasses import dataclass, field import logging from thinqconnect import ThinQApi, ThinQAPIException from thinqconnect.integration import async_get_ha_bridge_list from homeassistant.config_entries import ConfigEntry...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/entity.py
homeassistant/components/lg_thinq/entity.py
"""Base class for ThinQ entities.""" from __future__ import annotations from collections.abc import Callable, Coroutine import logging from typing import Any from thinqconnect import ThinQAPIException from thinqconnect.devices.const import Location from thinqconnect.integration import PropertyState 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/lg_thinq/mqtt.py
homeassistant/components/lg_thinq/mqtt.py
"""Support for LG ThinQ Connect API.""" from __future__ import annotations import asyncio from datetime import datetime import json import logging from typing import Any from thinqconnect import ( DeviceType, ThinQApi, ThinQAPIErrorCodes, ThinQAPIException, ThinQMQTTClient, ) 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/lg_thinq/water_heater.py
homeassistant/components/lg_thinq/water_heater.py
"""Support for waterheater entities.""" from __future__ import annotations import logging from typing import Any from thinqconnect import DeviceType from thinqconnect.integration import ExtendedProperty from homeassistant.components.water_heater import ( ATTR_OPERATION_MODE, STATE_ECO, STATE_HEAT_PUMP, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/select.py
homeassistant/components/lg_thinq/select.py
"""Support for select entities.""" from __future__ import annotations import logging from thinqconnect import DeviceType from thinqconnect.devices.const import Property as ThinQProperty from thinqconnect.integration import ActiveMode from homeassistant.components.select import SelectEntity, SelectEntityDescription ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lg_thinq/climate.py
homeassistant/components/lg_thinq/climate.py
"""Support for climate entities.""" from __future__ import annotations import asyncio import logging from typing import Any from thinqconnect import DeviceType from thinqconnect.integration import ExtendedProperty from homeassistant.components.climate import ( ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH, 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/lg_thinq/config_flow.py
homeassistant/components/lg_thinq/config_flow.py
"""Config flow for LG ThinQ.""" from __future__ import annotations import logging from typing import Any import uuid from thinqconnect import ThinQApi, ThinQAPIErrorCodes, ThinQAPIException from thinqconnect.country import Country import voluptuous as vol from homeassistant.config_entries import ConfigFlow, 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/trend/binary_sensor.py
homeassistant/components/trend/binary_sensor.py
"""A sensor that monitors trends in other components.""" from __future__ import annotations from collections import deque from collections.abc import Mapping import logging import math from typing import Any import numpy as np import voluptuous as vol from homeassistant.components.binary_sensor import ( DEVICE_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trend/const.py
homeassistant/components/trend/const.py
"""Constant values for Trend integration.""" DOMAIN = "trend" ATTR_ATTRIBUTE = "attribute" ATTR_GRADIENT = "gradient" ATTR_INVERT = "invert" ATTR_MIN_GRADIENT = "min_gradient" ATTR_SAMPLE_DURATION = "sample_duration" ATTR_SAMPLE_COUNT = "sample_count" CONF_INVERT = "invert" CONF_MAX_SAMPLES = "max_samples" CONF_MIN_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trend/__init__.py
homeassistant/components/trend/__init__.py
"""A sensor that monitors trends in other components.""" from __future__ import annotations import logging from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ENTITY_ID, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.device import ( async_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/trend/config_flow.py
homeassistant/components/trend/config_flow.py
"""Config flow for Trend integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast import voluptuous as vol from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN from homeassistant.const import CONF_ATTRIBUTE, CONF_ENTITY_ID, CONF_NAME, UnitOfT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/clickatell/__init__.py
homeassistant/components/clickatell/__init__.py
"""The clickatell 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/clickatell/notify.py
homeassistant/components/clickatell/notify.py
"""Clickatell platform for notify component.""" from __future__ import annotations from http import HTTPStatus import logging from typing import Any import requests import voluptuous as vol from homeassistant.components.notify import ( PLATFORM_SCHEMA as NOTIFY_PLATFORM_SCHEMA, BaseNotificationService, ) 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/fivem/binary_sensor.py
homeassistant/components/fivem/binary_sensor.py
"""The FiveM binary sensor platform.""" from dataclasses import dataclass from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddCon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fivem/const.py
homeassistant/components/fivem/const.py
"""Constants for the FiveM integration.""" ATTR_PLAYERS_LIST = "players_list" ATTR_RESOURCES_LIST = "resources_list" DOMAIN = "fivem" MANUFACTURER = "Cfx.re" NAME_PLAYERS_MAX = "Players Max" NAME_PLAYERS_ONLINE = "Players Online" NAME_RESOURCES = "Resources" NAME_STATUS = "Status" SCAN_INTERVAL = 60 UNIT_PLAYERS_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fivem/coordinator.py
homeassistant/components/fivem/coordinator.py
"""The FiveM update coordinator.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from fivem import FiveM, FiveMServerOfflineError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT 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/fivem/sensor.py
homeassistant/components/fivem/sensor.py
"""The FiveM sensor platform.""" from dataclasses import dataclass from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from homeassistant.helpers.typing import St...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fivem/__init__.py
homeassistant/components/fivem/__init__.py
"""The FiveM integration.""" from __future__ import annotations import logging from fivem import FiveMServerOfflineError from homeassistant.const import CONF_HOST, CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from .coordinator import Five...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fivem/entity.py
homeassistant/components/fivem/entity.py
"""The FiveM entity.""" from __future__ import annotations from collections.abc import Mapping from dataclasses import dataclass import logging from typing import Any from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.upd...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false