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/esphome/coordinator.py
homeassistant/components/esphome/coordinator.py
"""Coordinator to interact with an ESPHome dashboard.""" from __future__ import annotations from datetime import timedelta import logging from awesomeversion import AwesomeVersion from esphome_dashboard_api import ConfiguredDevice, ESPHomeDashboardAPI from homeassistant.core import HomeAssistant 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/esphome/update.py
homeassistant/components/esphome/update.py
"""Update platform for ESPHome.""" from __future__ import annotations import asyncio from typing import Any from aioesphomeapi import ( DeviceInfo as ESPHomeDeviceInfo, EntityInfo, UpdateCommand, UpdateInfo, UpdateState, ) from homeassistant.components.update import ( UpdateDeviceClass, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/time.py
homeassistant/components/esphome/time.py
"""Support for esphome times.""" from __future__ import annotations from datetime import time from functools import partial from aioesphomeapi import TimeInfo, TimeState from homeassistant.components.time import TimeEntity from .entity import EsphomeEntity, esphome_state_property, platform_async_setup_entry PARAL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/fan.py
homeassistant/components/esphome/fan.py
"""Support for ESPHome fans.""" from __future__ import annotations from functools import partial import math from typing import Any from aioesphomeapi import EntityInfo, FanDirection, FanInfo, FanSpeed, FanState from homeassistant.components.fan import ( DIRECTION_FORWARD, DIRECTION_REVERSE, FanEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/sensor.py
homeassistant/components/esphome/sensor.py
"""Support for esphome sensors.""" from __future__ import annotations from datetime import date, datetime import math from aioesphomeapi import ( EntityInfo, SensorInfo, SensorState, SensorStateClass as EsphomeSensorStateClass, TextSensorInfo, TextSensorState, ) from aioesphomeapi.model 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/esphome/__init__.py
homeassistant/components/esphome/__init__.py
"""Support for esphome devices.""" from __future__ import annotations import logging from aioesphomeapi import APIClient, APIConnectionError from homeassistant.components import zeroconf from homeassistant.components.bluetooth import async_remove_scanner from homeassistant.const import ( CONF_HOST, CONF_PAS...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/entity.py
homeassistant/components/esphome/entity.py
"""Support for esphome entities.""" from __future__ import annotations from collections.abc import Awaitable, Callable, Coroutine import functools import logging import math from typing import TYPE_CHECKING, Any, Concatenate, Generic, TypeVar, cast from aioesphomeapi import ( APIConnectionError, DeviceInfo 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/esphome/enum_mapper.py
homeassistant/components/esphome/enum_mapper.py
"""Helper class to convert between Home Assistant and ESPHome enum values.""" from typing import overload from aioesphomeapi import APIIntEnum class EsphomeEnumMapper[_EnumT: APIIntEnum, _ValT]: """Helper class to convert between hass and esphome enum values.""" def __init__(self, mapping: dict[_EnumT, _Va...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/button.py
homeassistant/components/esphome/button.py
"""Support for ESPHome buttons.""" from __future__ import annotations from functools import partial from aioesphomeapi import ButtonInfo, EntityInfo, EntityState from homeassistant.components.button import ButtonDeviceClass, ButtonEntity from homeassistant.core import callback from homeassistant.util.enum import tr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/bluetooth.py
homeassistant/components/esphome/bluetooth.py
"""Bluetooth support for esphome.""" from __future__ import annotations from functools import partial from typing import TYPE_CHECKING from aioesphomeapi import APIClient, DeviceInfo from bleak_esphome import connect_scanner from homeassistant.components.bluetooth import async_register_scanner 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/esphome/text.py
homeassistant/components/esphome/text.py
"""Support for esphome texts.""" from __future__ import annotations from functools import partial from aioesphomeapi import EntityInfo, TextInfo, TextMode as EsphomeTextMode, TextState from homeassistant.components.text import TextEntity, TextMode from homeassistant.core import callback from .entity import ( 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/esphome/alarm_control_panel.py
homeassistant/components/esphome/alarm_control_panel.py
"""Support for ESPHome Alarm Control Panel.""" from __future__ import annotations from functools import partial from aioesphomeapi import ( AlarmControlPanelCommand, AlarmControlPanelEntityState as ESPHomeAlarmControlPanelEntityState, AlarmControlPanelInfo, AlarmControlPanelState as ESPHomeAlarmContr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/date.py
homeassistant/components/esphome/date.py
"""Support for esphome dates.""" from __future__ import annotations from datetime import date from functools import partial from aioesphomeapi import DateInfo, DateState from homeassistant.components.date import DateEntity from .entity import EsphomeEntity, esphome_state_property, platform_async_setup_entry PARAL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/select.py
homeassistant/components/esphome/select.py
"""Support for esphome selects.""" from __future__ import annotations from dataclasses import replace from aioesphomeapi import EntityInfo, SelectInfo, SelectState from homeassistant.components.assist_pipeline import ( AssistPipelineSelect, VadSensitivitySelect, ) from homeassistant.components.assist_satell...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/manager.py
homeassistant/components/esphome/manager.py
"""Manager for esphome devices.""" from __future__ import annotations import base64 from functools import partial import logging import secrets import struct from typing import TYPE_CHECKING, Any, NamedTuple from aioesphomeapi import ( APIClient, APIConnectionError, APIVersion, DeviceInfo as EsphomeD...
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/esphome/climate.py
homeassistant/components/esphome/climate.py
"""Support for ESPHome climate devices.""" from __future__ import annotations from functools import partial from math import isfinite from typing import Any, cast from aioesphomeapi import ( ClimateAction, ClimateFanMode, ClimateFeature, ClimateInfo, ClimateMode, ClimatePreset, ClimateSta...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/light.py
homeassistant/components/esphome/light.py
"""Support for ESPHome lights.""" from __future__ import annotations from functools import lru_cache, partial from operator import methodcaller from typing import TYPE_CHECKING, Any, cast from aioesphomeapi import ( APIVersion, ColorMode as ESPHomeColorMode, EntityInfo, LightColorCapability, Ligh...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/esphome/config_flow.py
homeassistant/components/esphome/config_flow.py
"""Config flow to configure esphome component.""" from __future__ import annotations from collections import OrderedDict from collections.abc import Mapping import json import logging from typing import Any, cast from aioesphomeapi import ( APIClient, APIConnectionError, DeviceInfo, InvalidAuthAPIErr...
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/esphome/ffmpeg_proxy.py
homeassistant/components/esphome/ffmpeg_proxy.py
"""HTTP view that converts audio from a URL to a preferred format.""" import asyncio from collections import defaultdict from dataclasses import dataclass, field from http import HTTPStatus import logging import secrets from typing import Final from aiohttp import web from aiohttp.abc import AbstractStreamWriter, Bas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nfandroidtv/const.py
homeassistant/components/nfandroidtv/const.py
"""Constants for the NFAndroidTV integration.""" DOMAIN: str = "nfandroidtv" CONF_DURATION = "duration" CONF_FONTSIZE = "fontsize" CONF_POSITION = "position" CONF_TRANSPARENCY = "transparency" CONF_COLOR = "color" CONF_INTERRUPT = "interrupt" DATA_HASS_CONFIG = "nfandroid_hass_config" DEFAULT_NAME = "Android TV / Fi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nfandroidtv/__init__.py
homeassistant/components/nfandroidtv/__init__.py
"""The NFAndroidTV integration.""" from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.typing import ConfigType from .const ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nfandroidtv/notify.py
homeassistant/components/nfandroidtv/notify.py
"""Notifications for Android TV notification service.""" from __future__ import annotations from io import BufferedReader import logging from typing import Any from notifications_android_tv.notifications import ConnectError, Notifications import requests from requests.auth import HTTPBasicAuth, HTTPDigestAuth 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/nfandroidtv/config_flow.py
homeassistant/components/nfandroidtv/config_flow.py
"""Config flow for NFAndroidTV integration.""" from __future__ import annotations import logging from typing import Any from notifications_android_tv.notifications import ConnectError, Notifications import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.con...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/diagnostics.py
homeassistant/components/airzone_cloud/diagnostics.py
"""Support for the Airzone Cloud diagnostics.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from aioairzone_cloud.const import ( API_CITY, API_GROUP_ID, API_GROUPS, API_LOCATION_ID, API_OLD_ID, API_PIN, API_STAT_AP_MAC, API_STAT_SSID,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/switch.py
homeassistant/components/airzone_cloud/switch.py
"""Support for the Airzone Cloud switch.""" from __future__ import annotations from dataclasses import dataclass from typing import Any, Final from aioairzone_cloud.const import API_POWER, API_VALUE, AZD_POWER, AZD_ZONES from homeassistant.components.switch import ( SwitchDeviceClass, SwitchEntity, Swit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/binary_sensor.py
homeassistant/components/airzone_cloud/binary_sensor.py
"""Support for the Airzone Cloud binary sensors.""" from __future__ import annotations from dataclasses import dataclass from typing import Any, Final from aioairzone_cloud.const import ( AZD_ACTIVE, AZD_AIDOOS, AZD_AIR_DEMAND, AZD_AQ_ACTIVE, AZD_ERRORS, AZD_FLOOR_DEMAND, AZD_PROBLEMS, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/const.py
homeassistant/components/airzone_cloud/const.py
"""Constants for the Airzone Cloud integration.""" from typing import Final DOMAIN: Final[str] = "airzone_cloud" MANUFACTURER: Final[str] = "Airzone" AIOAIRZONE_CLOUD_TIMEOUT_SEC: Final[int] = 30
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/coordinator.py
homeassistant/components/airzone_cloud/coordinator.py
"""The Airzone Cloud integration coordinator.""" from __future__ import annotations from asyncio import timeout from datetime import timedelta import logging from typing import Any from aioairzone_cloud.cloudapi import AirzoneCloudApi from aioairzone_cloud.exceptions import AirzoneCloudError 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/airzone_cloud/sensor.py
homeassistant/components/airzone_cloud/sensor.py
"""Support for the Airzone Cloud sensors.""" from __future__ import annotations from typing import Any, Final from aioairzone_cloud.const import ( AZD_AIDOOS, AZD_AQ_INDEX, AZD_AQ_PM_1, AZD_AQ_PM_2P5, AZD_AQ_PM_10, AZD_CPU_USAGE, AZD_HUMIDITY, AZD_INDOOR_EXCHANGER_TEMP, AZD_INDOOR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/__init__.py
homeassistant/components/airzone_cloud/__init__.py
"""The Airzone Cloud integration.""" from __future__ import annotations from aioairzone_cloud.cloudapi import AirzoneCloudApi from aioairzone_cloud.common import ConnectionOptions from homeassistant.const import CONF_ID, CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssistant 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/airzone_cloud/entity.py
homeassistant/components/airzone_cloud/entity.py
"""Entity classes for the Airzone Cloud integration.""" from __future__ import annotations from abc import ABC, abstractmethod import logging from typing import Any from aioairzone_cloud.const import ( AZD_AIDOOS, AZD_AVAILABLE, AZD_FIRMWARE, AZD_GROUPS, AZD_HOT_WATERS, AZD_INSTALLATIONS, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/water_heater.py
homeassistant/components/airzone_cloud/water_heater.py
"""Support for the Airzone Cloud water heater.""" from __future__ import annotations from typing import Any, Final from aioairzone_cloud.common import HotWaterOperation, TemperatureUnit from aioairzone_cloud.const import ( API_OPTS, API_POWER, API_POWERFUL_MODE, API_SETPOINT, API_UNITS, API_V...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/select.py
homeassistant/components/airzone_cloud/select.py
"""Support for the Airzone Cloud select.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any, Final from aioairzone_cloud.common import AirQualityMode, OperationMode from aioairzone_cloud.const import ( API_AQ_MODE_CONF, API_MODE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airzone_cloud/climate.py
homeassistant/components/airzone_cloud/climate.py
"""Support for the Airzone Cloud climate.""" from __future__ import annotations from typing import Any, Final from aioairzone_cloud.common import OperationAction, OperationMode, TemperatureUnit from aioairzone_cloud.const import ( API_MODE, API_OPTS, API_PARAMS, API_POWER, API_SETPOINT, API_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/airzone_cloud/config_flow.py
homeassistant/components/airzone_cloud/config_flow.py
"""Config flow for Airzone Cloud.""" from __future__ import annotations from typing import Any from aioairzone_cloud.cloudapi import AirzoneCloudApi from aioairzone_cloud.common import ConnectionOptions from aioairzone_cloud.const import AZD_ID, AZD_NAME, AZD_WEBSERVERS from aioairzone_cloud.exceptions import Airzon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/switch/device_trigger.py
homeassistant/components/switch/device_trigger.py
"""Provides device triggers for switches.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import toggle_entity from homeassistant.const import CONF_DOMAIN from homeassistant.core import CALLBACK_TYPE, HomeAssistant from homeassistant.helpers.trigger impo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/switch/device_condition.py
homeassistant/components/switch/device_condition.py
"""Provides device conditions for switches.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import toggle_entity from homeassistant.const import CONF_DOMAIN from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.condition 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/switch/significant_change.py
homeassistant/components/switch/significant_change.py
"""Helper to test significant Switch state changes.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant, callback @callback def async_check_significant_change( hass: HomeAssistant, old_state: str, old_attrs: dict, new_state: str, new_attrs: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/switch/const.py
homeassistant/components/switch/const.py
"""Constants for the Switch integration.""" DOMAIN = "switch"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/switch/reproduce_state.py
homeassistant/components/switch/reproduce_state.py
"""Reproduce an Switch state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from homeassistant.const import ( ATTR_ENTITY_ID, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_OFF, STATE_ON, ) from homeassistant.core import ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/switch/__init__.py
homeassistant/components/switch/__init__.py
"""Component to interface with switches that can be controlled remotely.""" from __future__ import annotations from datetime import timedelta from enum import StrEnum import logging from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import ConfigEntry 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/switch/device_action.py
homeassistant/components/switch/device_action.py
"""Provides device actions for switches.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( async_validate_entity_schema, toggle_entity, ) from homeassistant.const import CONF_DOMAIN from homeassistant.core import Context, HomeAssistant 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/switch/trigger.py
homeassistant/components/switch/trigger.py
"""Provides triggers for switch platform.""" from homeassistant.const import STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant from homeassistant.helpers.trigger import Trigger, make_entity_target_state_trigger from .const import DOMAIN TRIGGERS: dict[str, type[Trigger]] = { "turned_on": make_enti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/switch/light.py
homeassistant/components/switch/light.py
"""Light support for switch entities.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.components.light import ( PLATFORM_SCHEMA as LIGHT_PLATFORM_SCHEMA, ColorMode, LightEntity, ) from homeassistant.const import ( ATTR_ENTITY_ID, CONF_ENTI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plaato/binary_sensor.py
homeassistant/components/plaato/binary_sensor.py
"""Support for Plaato Airlock sensors.""" from __future__ import annotations from pyplaato.plaato import PlaatoKeg from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry 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/plaato/const.py
homeassistant/components/plaato/const.py
"""Const for Plaato.""" from datetime import timedelta from homeassistant.const import Platform DOMAIN = "plaato" PLAATO_DEVICE_SENSORS = "sensors" PLAATO_DEVICE_ATTRS = "attrs" SENSOR_SIGNAL = f"{DOMAIN}_%s_%s" CONF_USE_WEBHOOK = "use_webhook" CONF_DEVICE_TYPE = "device_type" CONF_DEVICE_NAME = "device_name" 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/plaato/coordinator.py
homeassistant/components/plaato/coordinator.py
"""Coordinator for Plaato devices.""" from datetime import timedelta import logging from pyplaato.plaato import Plaato, PlaatoDeviceType from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import aiohttp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plaato/sensor.py
homeassistant/components/plaato/sensor.py
"""Support for Plaato Airlock sensors.""" from __future__ import annotations from pyplaato.models.device import PlaatoDevice from pyplaato.plaato import PlaatoKeg from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plaato/__init__.py
homeassistant/components/plaato/__init__.py
"""Support for Plaato devices.""" from datetime import timedelta import logging from aiohttp import web from pyplaato.models.airlock import PlaatoAirlock from pyplaato.plaato import ( ATTR_ABV, ATTR_BATCH_VOLUME, ATTR_BPM, ATTR_BUBBLES, ATTR_CO2_VOLUME, ATTR_DEVICE_ID, ATTR_DEVICE_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/plaato/entity.py
homeassistant/components/plaato/entity.py
"""PlaatoEntity class.""" from typing import Any from pyplaato.models.device import PlaatoDevice from homeassistant.helpers import entity from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import ( DEVICE, DEVICE_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/plaato/config_flow.py
homeassistant/components/plaato/config_flow.py
"""Config flow for Plaato.""" from __future__ import annotations from typing import Any from pyplaato.plaato import PlaatoDeviceType import voluptuous as vol from homeassistant.components import cloud, webhook from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, Opti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/w800rf32/binary_sensor.py
homeassistant/components/w800rf32/binary_sensor.py
"""Support for w800rf32 binary sensors.""" from __future__ import annotations import logging import voluptuous as vol import W800rf32 as w800 from homeassistant.components.binary_sensor import ( DEVICE_CLASSES_SCHEMA, PLATFORM_SCHEMA as BINARY_SENSOR_PLATFORM_SCHEMA, BinarySensorEntity, ) 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/w800rf32/__init__.py
homeassistant/components/w800rf32/__init__.py
"""Support for w800rf32 devices.""" import logging import voluptuous as vol import W800rf32 as w800 from homeassistant.const import ( CONF_DEVICE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, ) from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/router.py
homeassistant/components/freebox/router.py
"""Represent the Freebox router and its devices and sensors.""" from __future__ import annotations from collections.abc import Callable, Mapping from contextlib import suppress from datetime import datetime import json import logging import os from pathlib import Path import re from typing import Any from freebox_ap...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/device_tracker.py
homeassistant/components/freebox/device_tracker.py
"""Support for Freebox devices (Freebox v6 and Freebox mini 4K).""" from __future__ import annotations from datetime import datetime from typing import Any from homeassistant.components.device_tracker import ScannerEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher 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/freebox/switch.py
homeassistant/components/freebox/switch.py
"""Support for Freebox Delta, Revolution and Mini 4K.""" from __future__ import annotations import logging from typing import Any from freebox_api.exceptions import InsufficientPermissionsError from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const import EntityCa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/binary_sensor.py
homeassistant/components/freebox/binary_sensor.py
"""Support for Freebox devices (Freebox v6 and Freebox mini 4K).""" from __future__ import annotations import logging from typing import Any from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import 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/freebox/camera.py
homeassistant/components/freebox/camera.py
"""Support for Freebox cameras.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.camera import CameraEntityFeature from homeassistant.components.ffmpeg import CONF_EXTRA_ARGUMENTS, CONF_INPUT from homeassistant.components.ffmpeg.camera import ( # pylint: disa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/const.py
homeassistant/components/freebox/const.py
"""Freebox component constants.""" from __future__ import annotations import enum import socket from homeassistant.const import Platform DOMAIN = "freebox" APP_DESC = { "app_id": "hass", "app_name": "Home Assistant", "app_version": "0.106", "device_name": socket.gethostname(), } API_VERSION = "v6" ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/sensor.py
homeassistant/components/freebox/sensor.py
"""Support for Freebox devices (Freebox v6 and Freebox mini 4K).""" from __future__ import annotations import logging from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import PERC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/__init__.py
homeassistant/components/freebox/__init__.py
"""Support for Freebox devices (Freebox v6 and Freebox mini 4K).""" from datetime import timedelta from freebox_api.exceptions import HttpRequestError from homeassistant.const import CONF_HOST, CONF_PORT, EVENT_HOMEASSISTANT_STOP from homeassistant.core import Event, HomeAssistant from homeassistant.exceptions 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/freebox/entity.py
homeassistant/components/freebox/entity.py
"""Support for Freebox base features.""" from __future__ import annotations import logging from typing import Any from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import Entity from .const import CATE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/button.py
homeassistant/components/freebox/button.py
"""Support for Freebox devices (Freebox v6 and Freebox mini 4K).""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from homeassistant.components.button import ( ButtonDeviceClass, ButtonEntity, ButtonEntityDescription, ) 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/freebox/alarm_control_panel.py
homeassistant/components/freebox/alarm_control_panel.py
"""Support for Freebox alarms.""" from typing import Any from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmControlPanelEntityFeature, AlarmControlPanelState, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/freebox/config_flow.py
homeassistant/components/freebox/config_flow.py
"""Config flow to configure the Freebox integration.""" import logging from typing import Any from freebox_api.exceptions import AuthorizationError, HttpRequestError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_PORT 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/aprs/device_tracker.py
homeassistant/components/aprs/device_tracker.py
"""Support for APRS device tracking.""" from __future__ import annotations import logging import threading from typing import Any import aprslib from aprslib import ConnectionError as AprsConnectionError, LoginError import geopy.distance import voluptuous as vol from homeassistant.components.device_tracker 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/aprs/__init__.py
homeassistant/components/aprs/__init__.py
"""The APRS 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/nmbs/const.py
homeassistant/components/nmbs/const.py
"""The NMBS integration.""" from typing import Final from homeassistant.const import Platform from homeassistant.core import HomeAssistant DOMAIN: Final = "nmbs" PLATFORMS: Final = [Platform.SENSOR] CONF_STATION_FROM = "station_from" CONF_STATION_TO = "station_to" CONF_STATION_LIVE = "station_live" CONF_EXCLUDE_VI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmbs/sensor.py
homeassistant/components/nmbs/sensor.py
"""Get ride details and liveboard details for NMBS (Belgian railway).""" from __future__ import annotations from datetime import datetime import logging from typing import Any from pyrail import iRail from pyrail.models import ConnectionDetails, LiveboardDeparture, StationDetails from homeassistant.components.senso...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmbs/__init__.py
homeassistant/components/nmbs/__init__.py
"""The NMBS component.""" import logging from pyrail import iRail from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nmbs/config_flow.py
homeassistant/components/nmbs/config_flow.py
"""Config flow for NMBS integration.""" from typing import Any from pyrail import iRail from pyrail.models import StationDetails import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.h...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hanna/const.py
homeassistant/components/hanna/const.py
"""Constants for the Hanna integration.""" DOMAIN = "hanna"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hanna/coordinator.py
homeassistant/components/hanna/coordinator.py
"""Hanna Instruments data coordinator for Home Assistant. This module provides the data coordinator for fetching and managing Hanna Instruments sensor data. """ from datetime import timedelta import logging from typing import Any from hanna_cloud import HannaCloudClient from requests.exceptions import RequestExcepti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hanna/sensor.py
homeassistant/components/hanna/sensor.py
"""Hanna Instruments sensor integration for Home Assistant. This module provides sensor entities for various Hanna Instruments devices, including pH, ORP, temperature, and chemical sensors. It uses the Hanna API to fetch readings and updates them periodically. """ from __future__ import annotations import logging 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/hanna/__init__.py
homeassistant/components/hanna/__init__.py
"""The Hanna Instruments integration.""" from __future__ import annotations from typing import Any from hanna_cloud import HannaCloudClient from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, Platform from homeassistant.core import HomeAssistant from .coordinator import HannaConfigEntry, HannaDataCoordinato...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hanna/entity.py
homeassistant/components/hanna/entity.py
"""Hanna Instruments entity base class for Home Assistant. This module provides the base entity class for Hanna Instruments entities. """ from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator 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/hanna/config_flow.py
homeassistant/components/hanna/config_flow.py
"""Config flow for Hanna Instruments integration.""" from __future__ import annotations import logging from typing import Any from hanna_cloud import AuthenticationError, HannaCloudClient from requests.exceptions import ConnectionError as RequestsConnectionError, Timeout import voluptuous as vol 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/etherscan/sensor.py
homeassistant/components/etherscan/sensor.py
"""Support for Etherscan sensors.""" from __future__ import annotations from datetime import timedelta from pyetherscan import get_balance import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) from homeassistant.const import CONF_AD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/etherscan/__init__.py
homeassistant/components/etherscan/__init__.py
"""The etherscan 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/harvey/__init__.py
homeassistant/components/harvey/__init__.py
"""Virtual integration: Harvey."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/progettihwsw/switch.py
homeassistant/components/progettihwsw/switch.py
"""Control switches.""" import asyncio from datetime import timedelta import logging from typing import Any from ProgettiHWSW.relay import Relay from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant 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/progettihwsw/binary_sensor.py
homeassistant/components/progettihwsw/binary_sensor.py
"""Control binary sensor instances.""" import asyncio from datetime import timedelta import logging from ProgettiHWSW.input import Input from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant 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/progettihwsw/const.py
homeassistant/components/progettihwsw/const.py
"""Define constant variables for general usage.""" DOMAIN = "progettihwsw" DEFAULT_POLLING_INTERVAL_SEC = 5
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/progettihwsw/__init__.py
homeassistant/components/progettihwsw/__init__.py
"""Automation manager for boards manufactured by ProgettiHWSW Italy.""" from ProgettiHWSW.input import Input from ProgettiHWSW.ProgettiHWSWAPI import ProgettiHWSWAPI from ProgettiHWSW.relay import Relay from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform 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/progettihwsw/config_flow.py
homeassistant/components/progettihwsw/config_flow.py
"""Config flow for ProgettiHWSW Automation integration.""" import logging from typing import TYPE_CHECKING, Any from ProgettiHWSW.ProgettiHWSWAPI import ProgettiHWSWAPI import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.core import HomeAssistant from hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/somfy_mylink/cover.py
homeassistant/components/somfy_mylink/cover.py
"""Cover Platform for the Somfy MyLink component.""" import logging from typing import Any from homeassistant.components.cover import CoverDeviceClass, CoverEntity, CoverState from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/somfy_mylink/const.py
homeassistant/components/somfy_mylink/const.py
"""Component for the Somfy MyLink device supporting the Synergy API.""" from homeassistant.const import Platform CONF_SYSTEM_ID = "system_id" CONF_REVERSE = "reverse" CONF_TARGET_NAME = "target_name" CONF_REVERSED_TARGET_IDS = "reversed_target_ids" CONF_TARGET_ID = "target_id" DEFAULT_PORT = 44100 DATA_SOMFY_MYLINK...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/somfy_mylink/__init__.py
homeassistant/components/somfy_mylink/__init__.py
"""Component for the Somfy MyLink device supporting the Synergy API.""" import logging from somfy_mylink_synergy import SomfyMyLinkSynergy from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.core import HomeAssistant from homeassistant.exceptio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/somfy_mylink/config_flow.py
homeassistant/components/somfy_mylink/config_flow.py
"""Config flow for Somfy MyLink integration.""" from __future__ import annotations from copy import deepcopy import logging from typing import Any from somfy_mylink_synergy import SomfyMyLinkSynergy import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigEntryState, Config...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/overseerr/event.py
homeassistant/components/overseerr/event.py
"""Support for Overseerr events.""" from dataclasses import dataclass from typing import Any from homeassistant.components.event import EventEntity, EventEntityDescription from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback 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/overseerr/diagnostics.py
homeassistant/components/overseerr/diagnostics.py
"""Diagnostics support for Overseerr.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.core import HomeAssistant from . import CONF_CLOUDHOOK_URL from .coordinator import OverseerrConfigEntry async def async_get_config_entry_diagnostics( hass: 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/overseerr/services.py
homeassistant/components/overseerr/services.py
"""Define services for the Overseerr integration.""" from dataclasses import asdict from typing import Any, cast from python_overseerr import OverseerrClient, OverseerrConnectionError import voluptuous as vol from homeassistant.config_entries import ConfigEntryState from homeassistant.const import ATTR_CONFIG_ENTRY_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/overseerr/models.py
homeassistant/components/overseerr/models.py
"""Data models for Overseerr integration.""" from dataclasses import dataclass from python_overseerr import IssueCount, RequestCount @dataclass class OverseerrData: """Data model for Overseerr coordinator.""" requests: RequestCount issues: IssueCount
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/overseerr/const.py
homeassistant/components/overseerr/const.py
"""Constants for the overseerr integration.""" import logging from python_overseerr.models import NotificationType DOMAIN = "overseerr" LOGGER = logging.getLogger(__package__) REQUESTS = "requests" ATTR_STATUS = "status" ATTR_SORT_ORDER = "sort_order" ATTR_REQUESTED_BY = "requested_by" EVENT_KEY = f"{DOMAIN}_even...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/overseerr/coordinator.py
homeassistant/components/overseerr/coordinator.py
"""Define an object to coordinate fetching Overseerr data.""" from datetime import timedelta from python_overseerr import ( OverseerrAuthenticationError, OverseerrClient, OverseerrConnectionError, ) from yarl import URL 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/overseerr/sensor.py
homeassistant/components/overseerr/sensor.py
"""Support for Overseerr sensors.""" from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.sensor import ( SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform 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/overseerr/__init__.py
homeassistant/components/overseerr/__init__.py
"""The Overseerr integration.""" from __future__ import annotations import json from typing import cast from aiohttp.hdrs import METH_POST from aiohttp.web_request import Request from aiohttp.web_response import Response from python_overseerr import OverseerrConnectionError from homeassistant.components import clou...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/overseerr/entity.py
homeassistant/components/overseerr/entity.py
"""Base entity for Overseerr.""" from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import OverseerrCoordinator class OverseerrEntity(CoordinatorEntity[OverseerrCoordinator])...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/overseerr/config_flow.py
homeassistant/components/overseerr/config_flow.py
"""Config flow for Overseerr.""" from collections.abc import Mapping from typing import Any from python_overseerr import ( OverseerrAuthenticationError, OverseerrClient, OverseerrError, ) import voluptuous as vol from yarl import URL from homeassistant.components.webhook import async_generate_id 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/input_button/__init__.py
homeassistant/components/input_button/__init__.py
"""Support to keep track of user controlled buttons which can be used in automations.""" from __future__ import annotations import logging from typing import Self, cast import voluptuous as vol from homeassistant.components.button import SERVICE_PRESS, ButtonEntity from homeassistant.const import ( ATTR_EDITABL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false