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/zha/button.py
homeassistant/components/zha/button.py
"""Support for ZHA button.""" from __future__ import annotations import functools import logging from homeassistant.components.button import ButtonDeviceClass, ButtonEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform 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/zha/logbook.py
homeassistant/components/zha/logbook.py
"""Describe ZHA logbook events.""" from __future__ import annotations from collections.abc import Callable from typing import TYPE_CHECKING from zha.application.const import ZHA_EVENT from homeassistant.components.logbook import LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME from homeassistant.const import ATTR_COMMAND,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/alarm_control_panel.py
homeassistant/components/zha/alarm_control_panel.py
"""Alarm control panels on Zigbee Home Automation networks.""" from __future__ import annotations import functools from zha.application.platforms.alarm_control_panel.const import ( AlarmState as ZHAAlarmState, ) from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmCon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/select.py
homeassistant/components/zha/select.py
"""Support for ZHA controls using the select platform.""" from __future__ import annotations import functools import logging from typing import Any from homeassistant.components.select import SelectEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import STATE_UNAVAILABLE, STATE_UN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/backup.py
homeassistant/components/zha/backup.py
"""Backup platform for the ZHA integration.""" import logging from homeassistant.core import HomeAssistant from .helpers import get_zha_gateway _LOGGER = logging.getLogger(__name__) async def async_pre_backup(hass: HomeAssistant) -> None: """Perform operations before a backup starts.""" _LOGGER.debug("Per...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zha/climate.py
homeassistant/components/zha/climate.py
"""Climate on Zigbee Home Automation networks. For more details on this platform, please refer to the documentation at https://home-assistant.io/components/zha.climate/ """ from __future__ import annotations from collections.abc import Mapping import functools from typing import Any from zha.application.platforms.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/zha/radio_manager.py
homeassistant/components/zha/radio_manager.py
"""ZHA radio manager.""" from __future__ import annotations import asyncio from collections.abc import AsyncIterator import contextlib from contextlib import suppress import copy import enum import logging import os from typing import Any, Self from bellows.config import CONF_USE_THREAD import voluptuous as vol 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/zha/light.py
homeassistant/components/zha/light.py
"""Lights on Zigbee Home Automation networks.""" from __future__ import annotations from collections.abc import Mapping import functools import logging from typing import Any from zha.application.platforms.light.const import ( ColorMode as ZhaColorMode, LightEntityFeature as ZhaLightEntityFeature, ) 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/zha/config_flow.py
homeassistant/components/zha/config_flow.py
"""Config flow for ZHA.""" from __future__ import annotations from abc import abstractmethod import asyncio import collections from contextlib import suppress from enum import StrEnum import json import logging import os from typing import Any import voluptuous as vol from zha.application.const import RadioType impo...
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/zha/repairs/wrong_silabs_firmware.py
homeassistant/components/zha/repairs/wrong_silabs_firmware.py
"""ZHA repairs for common environmental and device problems.""" from __future__ import annotations import enum import logging from homeassistant.components.homeassistant_hardware.util import ( ApplicationType, probe_silabs_firmware_type, ) from homeassistant.components.homeassistant_sky_connect 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/zha/repairs/network_settings_inconsistent.py
homeassistant/components/zha/repairs/network_settings_inconsistent.py
"""ZHA repair for inconsistent network settings.""" from __future__ import annotations import logging from typing import Any from zigpy.backups import NetworkBackup from homeassistant.components.repairs import RepairsFlow 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/zha/repairs/__init__.py
homeassistant/components/zha/repairs/__init__.py
"""ZHA repairs for common environmental and device problems.""" from __future__ import annotations from typing import Any, cast from homeassistant.components.repairs import ConfirmRepairFlow, RepairsFlow from homeassistant.core import HomeAssistant from homeassistant.helpers import issue_registry as ir 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/powerwall/models.py
homeassistant/components/powerwall/models.py
"""The powerwall integration models.""" from __future__ import annotations from dataclasses import dataclass from typing import TypedDict from tesla_powerwall import ( BatteryResponse, DeviceType, GridStatus, MetersAggregatesResponse, Powerwall, PowerwallStatusResponse, SiteInfoResponse, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerwall/switch.py
homeassistant/components/powerwall/switch.py
"""Support for Powerwall Switches (V2 API only).""" from typing import Any from tesla_powerwall import GridStatus, IslandMode, PowerwallError from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant 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/powerwall/binary_sensor.py
homeassistant/components/powerwall/binary_sensor.py
"""Support for powerwall binary sensors.""" from typing import TYPE_CHECKING from tesla_powerwall import GridStatus, MeterType from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_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/powerwall/const.py
homeassistant/components/powerwall/const.py
"""Constants for the Tesla Powerwall integration.""" from typing import Final DOMAIN = "powerwall" POWERWALL_BASE_INFO: Final = "base_info" POWERWALL_COORDINATOR: Final = "coordinator" POWERWALL_API: Final = "api_instance" POWERWALL_API_CHANGED: Final = "api_changed" UPDATE_INTERVAL = 30 ATTR_FREQUENCY = "frequenc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerwall/sensor.py
homeassistant/components/powerwall/sensor.py
"""Support for powerwall sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from operator import attrgetter, methodcaller from typing import TYPE_CHECKING from tesla_powerwall import GridState, MeterResponse, MeterType from homeassistant.components....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerwall/__init__.py
homeassistant/components/powerwall/__init__.py
"""The Tesla Powerwall integration.""" from __future__ import annotations from contextlib import AsyncExitStack from datetime import timedelta import logging from aiohttp import CookieJar from tesla_powerwall import ( AccessDeniedError, ApiError, MissingAttributeError, Powerwall, PowerwallUnreach...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerwall/entity.py
homeassistant/components/powerwall/entity.py
"""The Tesla Powerwall integration base entity.""" from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import ( CoordinatorEntity, DataUpdateCoordinator, ) from .const import ( DOMAIN, MANUFACTURER, MODEL, POWERWALL_API, POWERWALL_BASE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/powerwall/config_flow.py
homeassistant/components/powerwall/config_flow.py
"""Config flow for Tesla Powerwall integration.""" from __future__ import annotations import asyncio from collections.abc import Mapping import logging from typing import Any from aiohttp import CookieJar from tesla_powerwall import ( AccessDeniedError, MissingAttributeError, Powerwall, PowerwallUnre...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/device_sun_light_trigger/__init__.py
homeassistant/components/device_sun_light_trigger/__init__.py
"""Support to turn on lights based on the states.""" from datetime import timedelta from functools import partial import logging import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DOMAIN_DEVICE_TRACKER, is_on as device_tracker_is_on, ) from homeassistant.components.group...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/microsoft_face/__init__.py
homeassistant/components/microsoft_face/__init__.py
"""Support for Microsoft face recognition.""" from __future__ import annotations import asyncio from collections.abc import Coroutine import json import logging from typing import Any import aiohttp from aiohttp.hdrs import CONTENT_TYPE import voluptuous as vol from homeassistant.components import camera 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/bluemaestro/const.py
homeassistant/components/bluemaestro/const.py
"""Constants for the BlueMaestro integration.""" DOMAIN = "bluemaestro"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bluemaestro/sensor.py
homeassistant/components/bluemaestro/sensor.py
"""Support for BlueMaestro sensors.""" from __future__ import annotations from bluemaestro_ble import ( SensorDeviceClass as BlueMaestroSensorDeviceClass, SensorUpdate, Units, ) from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothDataProcessor, PassiveBluetoo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bluemaestro/__init__.py
homeassistant/components/bluemaestro/__init__.py
"""The BlueMaestro integration.""" from __future__ import annotations import logging from bluemaestro_ble import BlueMaestroBluetoothDeviceData from homeassistant.components.bluetooth import BluetoothScanningMode from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothProcessor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bluemaestro/device.py
homeassistant/components/bluemaestro/device.py
"""Support for BlueMaestro devices.""" from __future__ import annotations from bluemaestro_ble import DeviceKey from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothEntityKey, ) def device_key_to_bluetooth_entity_key( device_key: DeviceKey, ) -> PassiveBluetoothEntityKe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bluemaestro/config_flow.py
homeassistant/components/bluemaestro/config_flow.py
"""Config flow for bluemaestro ble integration.""" from __future__ import annotations from typing import Any from bluemaestro_ble import BlueMaestroBluetoothDeviceData as DeviceData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_discovered_service_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sighthound/image_processing.py
homeassistant/components/sighthound/image_processing.py
"""Person detection using Sighthound cloud service.""" from __future__ import annotations import io import logging from pathlib import Path from typing import TYPE_CHECKING, Any from PIL import Image, ImageDraw, UnidentifiedImageError import simplehound.core as hound import voluptuous as vol from homeassistant.comp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sighthound/__init__.py
homeassistant/components/sighthound/__init__.py
"""The sighthound integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shopping_list/todo.py
homeassistant/components/shopping_list/todo.py
"""A shopping list todo platform.""" from typing import cast from homeassistant.components.todo import ( TodoItem, TodoItemStatus, TodoListEntity, TodoListEntityFeature, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.exceptions im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shopping_list/const.py
homeassistant/components/shopping_list/const.py
"""All constants related to the shopping list component.""" from homeassistant.const import EVENT_SHOPPING_LIST_UPDATED # noqa: F401 DOMAIN = "shopping_list" ATTR_REVERSE = "reverse" DEFAULT_REVERSE = False SERVICE_ADD_ITEM = "add_item" SERVICE_REMOVE_ITEM = "remove_item" SERVICE_COMPLETE_ITEM = "complete_item" ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shopping_list/intent.py
homeassistant/components/shopping_list/intent.py
"""Intents for the Shopping List integration.""" from __future__ import annotations from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv, intent from . import DOMAIN, EVENT_SHOPPING_LIST_UPDATED, NoMatchingShoppingListItem INTENT_ADD_ITEM = "HassShoppingListAddItem"...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shopping_list/__init__.py
homeassistant/components/shopping_list/__init__.py
"""Support to manage a shopping list.""" from __future__ import annotations from collections.abc import Callable from http import HTTPStatus import logging from typing import Any, cast import uuid from aiohttp import web import voluptuous as vol from homeassistant import config_entries from homeassistant.components...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shopping_list/config_flow.py
homeassistant/components/shopping_list/config_flow.py
"""Config flow to configure the shopping list integration.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class ShoppingListFlowHandler(ConfigFlow, domain=DOMAIN): """Config flow for the shopping list...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/slide/cover.py
homeassistant/components/slide/cover.py
"""Support for Slide slides.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.cover import ATTR_POSITION, CoverDeviceClass, CoverEntity from homeassistant.const import ATTR_ID from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platf...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/slide/const.py
homeassistant/components/slide/const.py
"""Define constants for the Slide component.""" from homeassistant.const import Platform API = "api" COMPONENT_PLATFORM = Platform.COVER CONF_INVERT_POSITION = "invert_position" DOMAIN = "slide" SLIDES = "slides" DEFAULT_OFFSET = 0.15 DEFAULT_RETRY = 120
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/slide/__init__.py
homeassistant/components/slide/__init__.py
"""Component for the Slide API.""" from datetime import timedelta import logging from goslideapi import GoSlideCloud, goslideapi import voluptuous as vol from homeassistant.const import ( CONF_PASSWORD, CONF_SCAN_INTERVAL, CONF_USERNAME, STATE_CLOSED, STATE_CLOSING, STATE_OPEN, STATE_OPEN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/steamist/discovery.py
homeassistant/components/steamist/discovery.py
"""The Steamist integration discovery.""" from __future__ import annotations import asyncio import logging from typing import Any from discovery30303 import AIODiscovery30303, Device30303 from homeassistant import config_entries from homeassistant.components import network from homeassistant.const import CONF_MODEL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/steamist/switch.py
homeassistant/components/steamist/switch.py
"""Support for Steamist switches.""" from __future__ import annotations from typing import Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/steamist/const.py
homeassistant/components/steamist/const.py
"""Constants for the Steamist integration.""" import aiohttp DOMAIN = "steamist" CONNECTION_EXCEPTIONS = (TimeoutError, aiohttp.ClientError) STARTUP_SCAN_TIMEOUT = 5 DISCOVER_SCAN_TIMEOUT = 10 DISCOVERY = "discovery"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/steamist/coordinator.py
homeassistant/components/steamist/coordinator.py
"""DataUpdateCoordinator for steamist.""" from __future__ import annotations from datetime import timedelta import logging from aiosteamist import Steamist, SteamistStatus from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_NAME from homeassistant.core import 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/steamist/sensor.py
homeassistant/components/steamist/sensor.py
"""Support for Steamist sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from aiosteamist import SteamistStatus from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/steamist/__init__.py
homeassistant/components/steamist/__init__.py
"""The Steamist integration.""" from __future__ import annotations from datetime import timedelta from typing import Any from aiosteamist import Steamist from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, 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/steamist/entity.py
homeassistant/components/steamist/entity.py
"""Support for Steamist sensors.""" from __future__ import annotations from aiosteamist import SteamistStatus from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_MODEL from homeassistant.helpers import device_registry as dr 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/steamist/config_flow.py
homeassistant/components/steamist/config_flow.py
"""Config flow for Steamist integration.""" from __future__ import annotations import logging from typing import Any, Self from aiosteamist import Steamist from discovery30303 import Device30303, normalize_mac import voluptuous as vol from homeassistant.config_entries import ConfigEntryState, ConfigFlow, ConfigFlow...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hive/switch.py
homeassistant/components/hive/switch.py
"""Support for the Hive switches.""" from __future__ import annotations from datetime import timedelta from typing import Any from apyhiveapi import Hive from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const import EntityCategory from homeassistant.core import 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/hive/binary_sensor.py
homeassistant/components/hive/binary_sensor.py
"""Support for the Hive binary sensors.""" from datetime import timedelta from typing import Any from apyhiveapi import Hive from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/hive/const.py
homeassistant/components/hive/const.py
"""Constants for Hive.""" from homeassistant.const import Platform ATTR_MODE = "mode" ATTR_TIME_PERIOD = "time_period" ATTR_ONOFF = "on_off" CONF_CODE = "2fa" CONF_DEVICE_NAME = "device_name" CONFIG_ENTRY_VERSION = 1 DEFAULT_NAME = "Hive" DOMAIN = "hive" PLATFORMS = [ Platform.BINARY_SENSOR, Platform.CLIMATE,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hive/sensor.py
homeassistant/components/hive/sensor.py
"""Support for the Hive sensors.""" from collections.abc import Callable from dataclasses import dataclass from datetime import timedelta from typing import Any from apyhiveapi import Hive from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorSt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hive/__init__.py
homeassistant/components/hive/__init__.py
"""Support for the Hive devices and services.""" from __future__ import annotations from collections.abc import Awaitable, Callable, Coroutine from functools import wraps import logging from typing import Any, Concatenate from aiohttp.web_exceptions import HTTPException from apyhiveapi import Auth, Hive from apyhive...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hive/entity.py
homeassistant/components/hive/entity.py
"""Support for the Hive devices and services.""" from __future__ import annotations from typing import Any from apyhiveapi import Hive from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import Entity 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/hive/water_heater.py
homeassistant/components/hive/water_heater.py
"""Support for hive water heaters.""" from datetime import timedelta from typing import Any import voluptuous as vol from homeassistant.components.water_heater import ( STATE_ECO, WaterHeaterEntity, WaterHeaterEntityFeature, ) from homeassistant.const import STATE_OFF, STATE_ON, UnitOfTemperature 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/hive/climate.py
homeassistant/components/hive/climate.py
"""Support for the Hive climate devices.""" from datetime import timedelta import logging from typing import Any from apyhiveapi import Hive import voluptuous as vol from homeassistant.components.climate import ( PRESET_BOOST, PRESET_NONE, ClimateEntity, ClimateEntityFeature, HVACAction, HVAC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/hive/light.py
homeassistant/components/hive/light.py
"""Support for Hive light devices.""" from __future__ import annotations from datetime import timedelta from typing import Any from apyhiveapi import Hive from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ATTR_HS_COLOR, ColorMode, LightEntity, ) 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/hive/config_flow.py
homeassistant/components/hive/config_flow.py
"""Config Flow for Hive.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from apyhiveapi import Auth from apyhiveapi.helper.hive_exceptions import ( HiveApiError, HiveInvalid2FACode, HiveInvalidPassword, HiveInvalidUsername, ) import voluptuous as vol ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/event.py
homeassistant/components/bthome/event.py
"""Support for bthome event entities.""" from __future__ import annotations from dataclasses import replace from homeassistant.components.event import ( EventDeviceClass, EventEntity, EventEntityDescription, ) from homeassistant.core import HomeAssistant, callback from homeassistant.helpers 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/bthome/device_trigger.py
homeassistant/components/bthome/device_trigger.py
"""Provides device triggers for BTHome BLE.""" from __future__ import annotations from typing import TYPE_CHECKING, Any import voluptuous as vol from homeassistant.components.device_automation import ( DEVICE_TRIGGER_BASE_SCHEMA, InvalidDeviceAutomationConfig, ) from homeassistant.components.homeassistant.t...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/binary_sensor.py
homeassistant/components/bthome/binary_sensor.py
"""Support for BTHome binary sensors.""" from __future__ import annotations from bthome_ble import ( BinarySensorDeviceClass as BTHomeBinarySensorDeviceClass, SensorUpdate, ) from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/const.py
homeassistant/components/bthome/const.py
"""Constants for the BTHome Bluetooth integration.""" from __future__ import annotations from typing import Final, TypedDict DOMAIN = "bthome" CONF_BINDKEY: Final = "bindkey" CONF_DISCOVERED_EVENT_CLASSES: Final = "known_events" CONF_SLEEPY_DEVICE: Final = "sleepy_device" CONF_SUBTYPE: Final = "subtype" EVENT_TYPE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/coordinator.py
homeassistant/components/bthome/coordinator.py
"""The BTHome Bluetooth integration.""" from collections.abc import Callable from logging import Logger from bthome_ble import BTHomeBluetoothDeviceData, SensorUpdate from homeassistant.components.bluetooth import ( BluetoothScanningMode, BluetoothServiceInfoBleak, ) from homeassistant.components.bluetooth.p...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/sensor.py
homeassistant/components/bthome/sensor.py
"""Support for BTHome sensors.""" from __future__ import annotations from typing import cast from bthome_ble import SensorDeviceClass as BTHomeSensorDeviceClass, SensorUpdate, Units from bthome_ble.const import ( ExtendedSensorDeviceClass as BTHomeExtendedSensorDeviceClass, ) from homeassistant.components.bluet...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/__init__.py
homeassistant/components/bthome/__init__.py
"""The BTHome Bluetooth integration.""" from __future__ import annotations from functools import partial import logging from bthome_ble import BTHomeBluetoothDeviceData, SensorUpdate from bthome_ble.parser import EncryptionScheme from homeassistant.components.bluetooth import ( DOMAIN as BLUETOOTH_DOMAIN, B...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/types.py
homeassistant/components/bthome/types.py
"""The BTHome Bluetooth integration.""" from typing import TYPE_CHECKING from homeassistant.config_entries import ConfigEntry if TYPE_CHECKING: from .coordinator import BTHomePassiveBluetoothProcessorCoordinator type BTHomeConfigEntry = ConfigEntry[BTHomePassiveBluetoothProcessorCoordinator]
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/logbook.py
homeassistant/components/bthome/logbook.py
"""Describe bthome logbook events.""" from __future__ import annotations from collections.abc import Callable from homeassistant.components.logbook import LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME from homeassistant.core import Event, HomeAssistant, callback from homeassistant.helpers import device_registry as dr 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/bthome/device.py
homeassistant/components/bthome/device.py
"""Support for BTHome Bluetooth devices.""" from __future__ import annotations from bthome_ble import DeviceKey from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothEntityKey, ) def device_key_to_bluetooth_entity_key( device_key: DeviceKey, ) -> PassiveBluetoothEntityKe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bthome/config_flow.py
homeassistant/components/bthome/config_flow.py
"""Config flow for BTHome Bluetooth integration.""" from __future__ import annotations from collections.abc import Mapping import dataclasses from typing import Any from bthome_ble import BTHomeBluetoothDeviceData as DeviceData from bthome_ble.parser import EncryptionScheme import voluptuous as vol 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/acmeda/cover.py
homeassistant/components/acmeda/cover.py
"""Support for Acmeda Roller Blinds.""" from __future__ import annotations from typing import Any from homeassistant.components.cover import ( ATTR_POSITION, CoverEntity, CoverEntityFeature, ) from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/const.py
homeassistant/components/acmeda/const.py
"""Constants for the Rollease Acmeda Automate integration.""" import logging LOGGER = logging.getLogger(__package__) DOMAIN = "acmeda" ACMEDA_HUB_UPDATE = "acmeda_hub_update_{}" ACMEDA_ENTITY_REMOVE = "acmeda_entity_remove_{}"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/helpers.py
homeassistant/components/acmeda/helpers.py
"""Helper functions for Acmeda Pulse.""" from __future__ import annotations from typing import TYPE_CHECKING from aiopulse import Roller from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import device_registry as dr from homeassist...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/errors.py
homeassistant/components/acmeda/errors.py
"""Errors for the Acmeda Pulse component.""" from homeassistant.exceptions import HomeAssistantError class PulseException(HomeAssistantError): """Base class for Acmeda Pulse exceptions.""" class CannotConnect(PulseException): """Unable to connect to the bridge."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/sensor.py
homeassistant/components/acmeda/sensor.py
"""Support for Acmeda Roller Blind Batteries.""" from __future__ import annotations from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.const import PERCENTAGE from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatche...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/__init__.py
homeassistant/components/acmeda/__init__.py
"""The Rollease Acmeda Automate integration.""" from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import entity_registry as er from .hub import PulseHub CONF_HUBS = "hubs" PLATFORMS = [Platform.COVER,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/entity.py
homeassistant/components/acmeda/entity.py
"""Base class for Acmeda Roller Blinds.""" from __future__ import annotations import aiopulse from homeassistant.core import callback from homeassistant.helpers import device_registry as dr, entity, entity_registry as er from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import ACMEDA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acmeda/config_flow.py
homeassistant/components/acmeda/config_flow.py
"""Config flow for Rollease Acmeda Automate Pulse Hub.""" from __future__ import annotations from asyncio import timeout from contextlib import suppress from typing import Any import aiopulse import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const 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/acmeda/hub.py
homeassistant/components/acmeda/hub.py
"""Code to handle a Pulse Hub.""" from __future__ import annotations import asyncio from collections.abc import Callable import aiopulse from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.dispatcher import async_dispatcher_send from .const i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xs1/switch.py
homeassistant/components/xs1/switch.py
"""Support for XS1 switches.""" from __future__ import annotations from typing import Any from xs1_api_client.api_constants import ActuatorType from xs1_api_client.device.actuator import XS1Actuator from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassist...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xs1/sensor.py
homeassistant/components/xs1/sensor.py
"""Support for XS1 sensors.""" from __future__ import annotations from xs1_api_client.api_constants import ActuatorType from xs1_api_client.device.actuator import XS1Actuator from xs1_api_client.device.sensor import XS1Sensor from homeassistant.components.sensor import SensorEntity from homeassistant.core import Hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xs1/__init__.py
homeassistant/components/xs1/__init__.py
"""Support for the EZcontrol XS1 gateway.""" import logging import voluptuous as vol import xs1_api_client from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_USERNAME, Platform, ) from homeassistant.core import HomeAssistant from homeassistant.helpers 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/xs1/entity.py
homeassistant/components/xs1/entity.py
"""Support for the EZcontrol XS1 gateway.""" import asyncio from xs1_api_client.device import XS1Device from homeassistant.helpers.entity import Entity # Lock used to limit the amount of concurrent update requests # as the XS1 Gateway can only handle a very # small amount of concurrent requests UPDATE_LOCK = asynci...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xs1/climate.py
homeassistant/components/xs1/climate.py
"""Support for XS1 climate devices.""" from __future__ import annotations from typing import Any from xs1_api_client.api_constants import ActuatorType from xs1_api_client.device.actuator import XS1Actuator from xs1_api_client.device.sensor import XS1Sensor from homeassistant.components.climate import ( ClimateE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/scene/__init__.py
homeassistant/components/scene/__init__.py
"""Allow users to set and activate scenes.""" from __future__ import annotations import functools as ft import importlib import logging from typing import Any, Final, final import voluptuous as vol from homeassistant.components.light import ATTR_TRANSITION from homeassistant.config_entries import ConfigEntry 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/scene/trigger.py
homeassistant/components/scene/trigger.py
"""Provides triggers for scenes.""" from homeassistant.const import STATE_UNAVAILABLE, STATE_UNKNOWN from homeassistant.core import HomeAssistant, State from homeassistant.helpers.trigger import ( ENTITY_STATE_TRIGGER_SCHEMA, EntityTriggerBase, Trigger, ) from . import DOMAIN class SceneActivatedTrigger...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/neff/__init__.py
homeassistant/components/neff/__init__.py
"""Neff virtual integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/amazon_polly/tts.py
homeassistant/components/amazon_polly/tts.py
"""Support for the Amazon Polly text to speech service.""" from __future__ import annotations from collections import defaultdict import logging from typing import Any, Final import boto3 import botocore import voluptuous as vol from homeassistant.components.tts import ( PLATFORM_SCHEMA as TTS_PLATFORM_SCHEMA, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/amazon_polly/const.py
homeassistant/components/amazon_polly/const.py
"""Constants for the Amazon Polly text to speech service.""" from __future__ import annotations from typing import Final CONF_REGION: Final = "region_name" CONF_ACCESS_KEY_ID: Final = "aws_access_key_id" CONF_SECRET_ACCESS_KEY: Final = "aws_secret_access_key" CONF_ENGINE: Final = "engine" CONF_VOICE: Final = "voice...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/amazon_polly/__init__.py
homeassistant/components/amazon_polly/__init__.py
"""Support for Amazon Polly integration."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/omnilogic/common.py
homeassistant/components/omnilogic/common.py
"""Common classes and elements for Omnilogic Integration.""" def check_guard(state_key, item, entity_setting): """Validate that this entity passes the defined guard conditions defined at setup.""" if state_key not in item: return True for guard_condition in entity_setting["guard_condition"]: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/omnilogic/switch.py
homeassistant/components/omnilogic/switch.py
"""Platform for Omnilogic switch integration.""" import time from typing import Any from omnilogic import OmniLogicException import voluptuous as vol from homeassistant.components.switch import SwitchEntity 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/omnilogic/const.py
homeassistant/components/omnilogic/const.py
"""Constants for the Omnilogic integration.""" DOMAIN = "omnilogic" CONF_SCAN_INTERVAL = "polling_interval" DEFAULT_SCAN_INTERVAL = 6 DEFAULT_PH_OFFSET = 0 COORDINATOR = "coordinator" OMNI_API = "omni_api" PUMP_TYPES = { "FMT_VARIABLE_SPEED_PUMP": "VARIABLE", "FMT_SINGLE_SPEED": "SINGLE", "FMT_DUAL_SPEED"...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/omnilogic/coordinator.py
homeassistant/components/omnilogic/coordinator.py
"""Coordinator for the Omnilogic Integration.""" from datetime import timedelta import logging from typing import Any from omnilogic import OmniLogic, OmniLogicException from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_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/omnilogic/sensor.py
homeassistant/components/omnilogic/sensor.py
"""Definition and setup of the Omnilogic Sensors for Home Assistant.""" from typing import Any from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE, Uni...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/omnilogic/__init__.py
homeassistant/components/omnilogic/__init__.py
"""The Omnilogic integration.""" import logging from omnilogic import LoginException, OmniLogic, OmniLogicException from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/omnilogic/entity.py
homeassistant/components/omnilogic/entity.py
"""Common classes and elements for Omnilogic Integration.""" from typing import Any from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import OmniLogicUpdateCoordinator class OmniLogicEntity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/omnilogic/config_flow.py
homeassistant/components/omnilogic/config_flow.py
"""Config flow for Omnilogic integration.""" from __future__ import annotations import logging from typing import Any from omnilogic import LoginException, OmniLogic, OmniLogicException import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, Opt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shodan/sensor.py
homeassistant/components/shodan/sensor.py
"""Sensor for displaying the number of result on Shodan.io.""" from __future__ import annotations from datetime import timedelta import logging import shodan import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) from homeassistant.c...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/shodan/__init__.py
homeassistant/components/shodan/__init__.py
"""The shodan 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/teslemetry/media_player.py
homeassistant/components/teslemetry/media_player.py
"""Media player platform for Teslemetry integration.""" from __future__ import annotations from tesla_fleet_api.const import Scope from tesla_fleet_api.teslemetry import Vehicle from homeassistant.components.media_player import ( MediaPlayerDeviceClass, MediaPlayerEntity, MediaPlayerEntityFeature, Me...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/teslemetry/diagnostics.py
homeassistant/components/teslemetry/diagnostics.py
"""Provides diagnostics for Teslemetry.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from . import TeslemetryConfigEntry VEHICLE_REDACT = [ "id", "user_id", "vehicle_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/teslemetry/device_tracker.py
homeassistant/components/teslemetry/device_tracker.py
"""Device tracker platform for Teslemetry integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from tesla_fleet_api.const import Scope from teslemetry_stream import TeslemetryStreamVehicle from teslemetry_stream.const import TeslaLocation 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/teslemetry/application_credentials.py
homeassistant/components/teslemetry/application_credentials.py
"""Application Credentials platform the Teslemetry integration.""" from homeassistant.components.application_credentials import ( AuthorizationServer, ClientCredential, ) from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from .const import AUTHORIZE_URL, T...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false