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/climate/device_condition.py
homeassistant/components/climate/device_condition.py
"""Provide the device automations for Climate.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( async_get_entity_registry_entry_or_raise, ) from homeassistant.const import ( ATTR_ENTITY_ID, CONF_CONDITION, CONF_DEVICE_ID, 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/climate/significant_change.py
homeassistant/components/climate/significant_change.py
"""Helper to test significant Climate state changes.""" from __future__ import annotations from typing import Any from homeassistant.const import UnitOfTemperature from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.significant_change import ( check_absolute_change, check_valid_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/climate/const.py
homeassistant/components/climate/const.py
"""Provides the constants needed for component.""" from enum import IntFlag, StrEnum class HVACMode(StrEnum): """HVAC mode for climate devices.""" # All activity disabled / Device is off/standby OFF = "off" # Heating HEAT = "heat" # Cooling COOL = "cool" # The device supports heat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/climate/intent.py
homeassistant/components/climate/intent.py
"""Intents for the climate integration.""" from __future__ import annotations import voluptuous as vol from homeassistant.const import ATTR_ENTITY_ID from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv, intent from . import ( ATTR_TEMPERATURE, DOMAIN, 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/climate/reproduce_state.py
homeassistant/components/climate/reproduce_state.py
"""Module that groups code required to handle state restore for component.""" from __future__ import annotations import asyncio from collections.abc import Iterable from typing import Any from homeassistant.const import ATTR_TEMPERATURE from homeassistant.core import Context, HomeAssistant, State from .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/climate/__init__.py
homeassistant/components/climate/__init__.py
"""Provides functionality to interact with climate devices.""" from __future__ import annotations from datetime import timedelta import functools as ft import logging from typing import Any, Literal, final from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import 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/climate/device_action.py
homeassistant/components/climate/device_action.py
"""Provides device automations for Climate.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( async_get_entity_registry_entry_or_raise, async_validate_entity_schema, ) from homeassistant.const import ( ATTR_ENTITY_ID, CONF_DEVICE_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/climate/trigger.py
homeassistant/components/climate/trigger.py
"""Provides triggers for climates.""" import voluptuous as vol from homeassistant.const import ATTR_TEMPERATURE, CONF_OPTIONS from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv from homeassistant.helpers.trigger import ( ENTITY_STATE_TRIGGER_SCHEMA_FIRST_LAST, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/controller.py
homeassistant/components/ecovacs/controller.py
"""Controller module.""" from __future__ import annotations from collections.abc import Mapping from functools import partial import logging import ssl from typing import Any from deebot_client.api_client import ApiClient from deebot_client.authentication import Authenticator, create_rest_config from deebot_client.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/ecovacs/image.py
homeassistant/components/ecovacs/image.py
"""Ecovacs image entities.""" from typing import cast from deebot_client.capabilities import CapabilityMap from deebot_client.device import Device from deebot_client.events.map import CachedMapInfoEvent, MapChangedEvent from deebot_client.map import Map from homeassistant.components.image import ImageEntity 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/ecovacs/event.py
homeassistant/components/ecovacs/event.py
"""Event module.""" from deebot_client.capabilities import CapabilityEvent from deebot_client.device import Device from deebot_client.events import CleanJobStatus, ReportStatsEvent from homeassistant.components.event import EventEntity, EventEntityDescription from homeassistant.const import EntityCategory from homeas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/diagnostics.py
homeassistant/components/ecovacs/diagnostics.py
"""Ecovacs diagnostics.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_NAME, CONF_PASSWORD, CONF_USERNAME from homeassistant.core import HomeAssistant from . import EcovacsConfigEntry from .const im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/util.py
homeassistant/components/ecovacs/util.py
"""Ecovacs util functions.""" from __future__ import annotations from enum import Enum import random import string from typing import TYPE_CHECKING from homeassistant.core import HomeAssistant, callback from homeassistant.util import slugify from .entity import ( EcovacsCapabilityEntityDescription, EcovacsD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/vacuum.py
homeassistant/components/ecovacs/vacuum.py
"""Support for Ecovacs Ecovacs Vacuums.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import TYPE_CHECKING, Any from deebot_client.capabilities import Capabilities, DeviceType from deebot_client.device import Device from deebot_client.events import FanSpeedEvent...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/switch.py
homeassistant/components/ecovacs/switch.py
"""Ecovacs switch module.""" from dataclasses import dataclass from typing import Any from deebot_client.capabilities import CapabilitySetEnable from deebot_client.events import EnableEvent from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const import EntityCategor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/number.py
homeassistant/components/ecovacs/number.py
"""Ecovacs number module.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from deebot_client.capabilities import CapabilityNumber, CapabilitySet from deebot_client.device import Device from deebot_client.events import CleanCountEvent, CutDirectionEvent, Vo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/binary_sensor.py
homeassistant/components/ecovacs/binary_sensor.py
"""Binary sensor module.""" from collections.abc import Callable from dataclasses import dataclass from deebot_client.capabilities import CapabilityEvent from deebot_client.events import Event from deebot_client.events.water_info import MopAttachedEvent from sucks import VacBot from homeassistant.components.binary_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/ecovacs/const.py
homeassistant/components/ecovacs/const.py
"""Ecovacs constants.""" from enum import StrEnum from deebot_client.commands import StationAction from deebot_client.events import LifeSpan DOMAIN = "ecovacs" CONF_CONTINENT = "continent" CONF_OVERRIDE_REST_URL = "override_rest_url" CONF_OVERRIDE_MQTT_URL = "override_mqtt_url" CONF_VERIFY_MQTT_CERTIFICATE = "verif...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/sensor.py
homeassistant/components/ecovacs/sensor.py
"""Ecovacs sensor module.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from deebot_client.capabilities import CapabilityEvent, CapabilityLifeSpan, DeviceType from deebot_client.device import Device from deebot_client.events 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/ecovacs/__init__.py
homeassistant/components/ecovacs/__init__.py
"""Support for Ecovacs Deebot vacuums.""" from sucks import VacBot from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .controller import EcovacsController PLATFORMS = [ Platform.BINARY_SENSOR, Platform.BUTTON, 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/ecovacs/entity.py
homeassistant/components/ecovacs/entity.py
"""Ecovacs mqtt entity module.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from deebot_client.capabilities import Capabilities from deebot_client.device import Device from deebot_client.events import AvailabilityEvent ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/button.py
homeassistant/components/ecovacs/button.py
"""Ecovacs button module.""" from dataclasses import dataclass from deebot_client.capabilities import ( CapabilityExecute, CapabilityExecuteTypes, CapabilityLifeSpan, ) from deebot_client.commands import StationAction from deebot_client.events import LifeSpan from homeassistant.components.button import 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/ecovacs/lawn_mower.py
homeassistant/components/ecovacs/lawn_mower.py
"""Ecovacs mower entity.""" from __future__ import annotations import logging from deebot_client.capabilities import Capabilities, DeviceType from deebot_client.device import Device from deebot_client.events import StateEvent from deebot_client.models import CleanAction, State from homeassistant.components.lawn_mow...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/select.py
homeassistant/components/ecovacs/select.py
"""Ecovacs select entity module.""" from collections.abc import Callable from dataclasses import dataclass from typing import TYPE_CHECKING, Any from deebot_client.capabilities import CapabilityMap, CapabilitySet, CapabilitySetTypes from deebot_client.command import CommandWithMessageHandling from deebot_client.devic...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ecovacs/config_flow.py
homeassistant/components/ecovacs/config_flow.py
"""Config flow for Ecovacs mqtt integration.""" from __future__ import annotations from functools import partial import logging import ssl from typing import Any from urllib.parse import urlparse from aiohttp import ClientError from deebot_client.authentication import Authenticator, create_rest_config from deebot_cl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/raven_rock_mfg/__init__.py
homeassistant/components/raven_rock_mfg/__init__.py
"""Virtual integration: Raven Rock MFG."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/homeassistant_alerts/const.py
homeassistant/components/homeassistant_alerts/const.py
"""Constants for the Home Assistant alerts integration.""" from datetime import timedelta import aiohttp COMPONENT_LOADED_COOLDOWN = 30 DOMAIN = "homeassistant_alerts" UPDATE_INTERVAL = timedelta(hours=3) REQUEST_TIMEOUT = aiohttp.ClientTimeout(total=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/homeassistant_alerts/coordinator.py
homeassistant/components/homeassistant_alerts/coordinator.py
"""Coordinator for the Home Assistant alerts integration.""" import dataclasses import logging from awesomeversion import AwesomeVersion, AwesomeVersionStrategy from homeassistant.components.hassio import get_supervisor_info from homeassistant.const import __version__ from homeassistant.core import 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/homeassistant_alerts/__init__.py
homeassistant/components/homeassistant_alerts/__init__.py
"""The Home Assistant alerts integration.""" from __future__ import annotations import logging from homeassistant.const import EVENT_COMPONENT_LOADED from homeassistant.core import Event, HomeAssistant, callback from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client 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/elgato/diagnostics.py
homeassistant/components/elgato/diagnostics.py
"""Diagnostics support for Elgato.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import ElgatoConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: ElgatoConfigEntry ) -> dict[str, Any]: """Return...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elgato/switch.py
homeassistant/components/elgato/switch.py
"""Support for Elgato switches.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from elgato import Elgato, ElgatoError from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription 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/elgato/const.py
homeassistant/components/elgato/const.py
"""Constants for the Elgato Light integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Final # Integration domain DOMAIN: Final = "elgato" LOGGER = logging.getLogger(__package__) SCAN_INTERVAL = timedelta(seconds=10) # Attributes ATTR_ON = "on" # Serv...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elgato/coordinator.py
homeassistant/components/elgato/coordinator.py
"""DataUpdateCoordinator for Elgato.""" from dataclasses import dataclass from elgato import BatteryInfo, Elgato, ElgatoConnectionError, Info, Settings, State from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST 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/elgato/sensor.py
homeassistant/components/elgato/sensor.py
"""Support for Elgato sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) 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/elgato/__init__.py
homeassistant/components/elgato/__init__.py
"""Support for Elgato Lights.""" from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import ElgatoConfigEntry, ElgatoDataUpdateCoordinator PLATFORMS = [Platform.BUTTON, Platform.LIGHT, Platform.SENSOR, Platform.SWITCH] async def async_setup_entry(hass: 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/elgato/entity.py
homeassistant/components/elgato/entity.py
"""Base entity for the Elgato integration.""" from __future__ import annotations from homeassistant.const import ATTR_CONNECTIONS, CONF_MAC from homeassistant.helpers.device_registry import ( CONNECTION_NETWORK_MAC, DeviceInfo, format_mac, ) from homeassistant.helpers.update_coordinator import Coordinator...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elgato/button.py
homeassistant/components/elgato/button.py
"""Support for Elgato button.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from elgato import Elgato, ElgatoError from homeassistant.components.button import ( ButtonDeviceClass, ButtonEntity, ButtonEntityD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elgato/light.py
homeassistant/components/elgato/light.py
"""Support for Elgato lights.""" from __future__ import annotations from typing import Any from elgato import ElgatoError from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP_KELVIN, ATTR_HS_COLOR, ColorMode, LightEntity, ) from homeassistant.core import HomeAssistant fr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elgato/config_flow.py
homeassistant/components/elgato/config_flow.py
"""Config flow to configure the Elgato Light integration.""" from __future__ import annotations from typing import Any from elgato import Elgato, ElgatoError import voluptuous as vol from homeassistant.components import onboarding from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/bring/event.py
homeassistant/components/bring/event.py
"""Event platform for Bring integration.""" from __future__ import annotations from dataclasses import asdict from datetime import datetime from bring_api import ActivityType, BringList from homeassistant.components.event import EventEntity from homeassistant.core import HomeAssistant, callback 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/bring/diagnostics.py
homeassistant/components/bring/diagnostics.py
"""Diagnostics support for Bring.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_EMAIL, CONF_NAME from homeassistant.core import HomeAssistant from .coordinator import BringConfigEntry TO_REDACT = ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/util.py
homeassistant/components/bring/util.py
"""Utility functions for Bring.""" from __future__ import annotations from bring_api import BringUserSettingsResponse from .coordinator import BringData def list_language( list_uuid: str, user_settings: BringUserSettingsResponse, ) -> str | None: """Get the lists language setting.""" try: l...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/todo.py
homeassistant/components/bring/todo.py
"""Todo platform for the Bring! integration.""" from __future__ import annotations from itertools import chain from typing import TYPE_CHECKING import uuid from bring_api import ( BringItem, BringItemOperation, BringList, BringNotificationType, BringRequestException, ) import voluptuous as vol 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/bring/services.py
homeassistant/components/bring/services.py
"""Actions for Bring! integration.""" import logging from typing import TYPE_CHECKING from bring_api import ( ActivityType, BringAuthException, BringNotificationType, BringRequestException, ReactionType, ) import voluptuous as vol from homeassistant.components.event import ATTR_EVENT_TYPE 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/bring/const.py
homeassistant/components/bring/const.py
"""Constants for the Bring! integration.""" from typing import Final DOMAIN = "bring" ATTR_SENDER: Final = "sender" ATTR_ITEM_NAME: Final = "item" ATTR_NOTIFICATION_TYPE: Final = "message" ATTR_REACTION: Final = "reaction" ATTR_ACTIVITY: Final = "uuid" ATTR_RECEIVER: Final = "publicUserUuid" SERVICE_PUSH_NOTIFICATIO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/coordinator.py
homeassistant/components/bring/coordinator.py
"""DataUpdateCoordinator for the Bring! integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta import logging from bring_api import ( Bring, BringActivityResponse, BringAuthException, BringItemsResponse, BringList, BringParseExcepti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/sensor.py
homeassistant/components/bring/sensor.py
"""Sensor platform for the Bring! integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from bring_api import BringList, BringUserSettingsResponse from bring_api.const import BRING_SUPPORTED_LOCALES from homeassistant.compo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/__init__.py
homeassistant/components/bring/__init__.py
"""The Bring! integration.""" from __future__ import annotations import logging from bring_api import Bring from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_cl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/entity.py
homeassistant/components/bring/entity.py
"""Base entity for the Bring! integration.""" from __future__ import annotations from bring_api import BringList from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import Bri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bring/config_flow.py
homeassistant/components/bring/config_flow.py
"""Config flow for Bring! integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from bring_api import ( Bring, BringAuthException, BringAuthResponse, BringRequestException, ) import voluptuous as vol from homeassistant.config_ent...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/glances/const.py
homeassistant/components/glances/const.py
"""Constants for Glances component.""" from datetime import timedelta import sys DOMAIN = "glances" CONF_VERSION = "version" DEFAULT_HOST = "localhost" DEFAULT_PORT = 61208 DEFAULT_SCAN_INTERVAL = timedelta(seconds=60) CPU_ICON = f"mdi:cpu-{64 if sys.maxsize > 2**32 else 32}-bit"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/glances/coordinator.py
homeassistant/components/glances/coordinator.py
"""Coordinator for Glances integration.""" from datetime import datetime, timedelta import logging from typing import Any from glances_api import Glances, exceptions from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from homeas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/glances/sensor.py
homeassistant/components/glances/sensor.py
"""Support gathering system information of hosts which are running glances.""" from __future__ import annotations from dataclasses import dataclass from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) 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/glances/__init__.py
homeassistant/components/glances/__init__.py
"""The Glances component.""" import logging from typing import Any from glances_api import Glances from glances_api.exceptions import ( GlancesApiAuthorizationError, GlancesApiError, GlancesApiNoDataAvailable, ) from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_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/glances/config_flow.py
homeassistant/components/glances/config_flow.py
"""Config flow for Glances.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from glances_api.exceptions import ( GlancesApiAuthorizationError, GlancesApiConnectionError, ) import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/typing.py
homeassistant/components/simplisafe/typing.py
"""Define typing helpers for SimpliSafe.""" from simplipy.system.v2 import SystemV2 from simplipy.system.v3 import SystemV3 type SystemType = SystemV2 | SystemV3
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/diagnostics.py
homeassistant/components/simplisafe/diagnostics.py
"""Diagnostics support for SimpliSafe.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONF_ADDRESS, CONF_CODE, CONF_LOCATION, CONF_TO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/binary_sensor.py
homeassistant/components/simplisafe/binary_sensor.py
"""Support for SimpliSafe binary sensors.""" from __future__ import annotations from simplipy.device import DeviceTypes, DeviceV3 from simplipy.device.sensor.v3 import SensorV3 from simplipy.system.v3 import SystemV3 from simplipy.websocket import EVENT_SECRET_ALERT_TRIGGERED, WebsocketEvent from homeassistant.compo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/lock.py
homeassistant/components/simplisafe/lock.py
"""Support for SimpliSafe locks.""" from __future__ import annotations from typing import Any from simplipy.device.lock import Lock, LockStates from simplipy.errors import SimplipyError from simplipy.system.v3 import SystemV3 from simplipy.websocket import EVENT_LOCK_LOCKED, EVENT_LOCK_UNLOCKED, WebsocketEvent 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/simplisafe/const.py
homeassistant/components/simplisafe/const.py
"""Define constants for the SimpliSafe component.""" import logging LOGGER = logging.getLogger(__package__) DOMAIN = "simplisafe" ATTR_ALARM_DURATION = "alarm_duration" ATTR_ALARM_VOLUME = "alarm_volume" ATTR_CHIME_VOLUME = "chime_volume" ATTR_ENTRY_DELAY_AWAY = "entry_delay_away" ATTR_ENTRY_DELAY_HOME = "entry_del...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/sensor.py
homeassistant/components/simplisafe/sensor.py
"""Support for SimpliSafe freeze sensor.""" from __future__ import annotations from simplipy.device import DeviceTypes from simplipy.device.sensor.v3 import SensorV3 from simplipy.system.v3 import SystemV3 from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/__init__.py
homeassistant/components/simplisafe/__init__.py
"""Support for SimpliSafe alarm systems.""" from __future__ import annotations import asyncio from collections.abc import Callable, Coroutine from datetime import timedelta from typing import Any, cast from simplipy import API from simplipy.errors import ( EndpointUnavailableError, InvalidCredentialsError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/entity.py
homeassistant/components/simplisafe/entity.py
"""Support for SimpliSafe alarm systems.""" from __future__ import annotations from collections.abc import Iterable from simplipy.device import Device, DeviceTypes from simplipy.system.v3 import SystemV3 from simplipy.websocket import ( EVENT_CONNECTION_LOST, EVENT_CONNECTION_RESTORED, EVENT_LOCK_LOCKED,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/button.py
homeassistant/components/simplisafe/button.py
"""Buttons for the SimpliSafe integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from simplipy.errors import SimplipyError from simplipy.system import System from homeassistant.components.button import ButtonEntity, ButtonEntityDescri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/alarm_control_panel.py
homeassistant/components/simplisafe/alarm_control_panel.py
"""Support for SimpliSafe alarm control panels.""" from __future__ import annotations from simplipy.errors import SimplipyError from simplipy.system import SystemStates from simplipy.system.v3 import SystemV3 from simplipy.websocket import ( EVENT_ALARM_CANCELED, EVENT_ALARM_TRIGGERED, EVENT_ARMED_AWAY, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplisafe/config_flow.py
homeassistant/components/simplisafe/config_flow.py
"""Config flow to configure the SimpliSafe component.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, NamedTuple from simplipy import API from simplipy.errors import InvalidCredentialsError, SimplipyError from simplipy.util.auth import ( get_auth0_code_challenge,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/statistics/sensor.py
homeassistant/components/statistics/sensor.py
"""Support for statistics for sensor values.""" from __future__ import annotations from collections import deque from collections.abc import Callable, Mapping import contextlib from datetime import datetime, timedelta import logging import math import statistics import time from typing import Any, cast import volupt...
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/statistics/__init__.py
homeassistant/components/statistics/__init__.py
"""The statistics component.""" import logging from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ENTITY_ID, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.device import ( async_entity_id_to_device_id, async_remove_stale_devices_links_ke...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/statistics/config_flow.py
homeassistant/components/statistics/config_flow.py
"""Config flow for statistics.""" from __future__ import annotations from collections.abc import Mapping from datetime import timedelta from typing import Any, cast import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thermobeacon/const.py
homeassistant/components/thermobeacon/const.py
"""Constants for the ThermoBeacon integration.""" DOMAIN = "thermobeacon"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thermobeacon/sensor.py
homeassistant/components/thermobeacon/sensor.py
"""Support for ThermoBeacon sensors.""" from __future__ import annotations from thermobeacon_ble import ( SensorDeviceClass as ThermoBeaconSensorDeviceClass, SensorUpdate, Units, ) from homeassistant import config_entries from homeassistant.components.bluetooth.passive_update_processor import ( Passi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thermobeacon/__init__.py
homeassistant/components/thermobeacon/__init__.py
"""The ThermoBeacon integration.""" from __future__ import annotations import logging from thermobeacon_ble import ThermoBeaconBluetoothDeviceData from homeassistant.components.bluetooth import BluetoothScanningMode from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothProces...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thermobeacon/device.py
homeassistant/components/thermobeacon/device.py
"""Support for ThermoBeacon devices.""" from __future__ import annotations from thermobeacon_ble import DeviceKey from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothEntityKey, ) def device_key_to_bluetooth_entity_key( device_key: DeviceKey, ) -> PassiveBluetoothEntity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thermobeacon/config_flow.py
homeassistant/components/thermobeacon/config_flow.py
"""Config flow for thermobeacon ble integration.""" from __future__ import annotations from typing import Any from thermobeacon_ble import ThermoBeaconBluetoothDeviceData as DeviceData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_discovered_servi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/brandt/__init__.py
homeassistant/components/brandt/__init__.py
"""Virtual integration: Brandt Smart Control."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/event.py
homeassistant/components/nice_go/event.py
"""Nice G.O. event platform.""" import logging from typing import Any from homeassistant.components.event import EventEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import NiceGOConfigEntry from .entity import Nic...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/diagnostics.py
homeassistant/components/nice_go/diagnostics.py
"""Diagnostics support for Nice G.O..""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_EMAIL, CONF_PASSWORD from homeassistant.core import HomeAssistant from .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/nice_go/util.py
homeassistant/components/nice_go/util.py
"""Utilities for Nice G.O.""" from collections.abc import Callable, Coroutine from functools import wraps from typing import Any, Protocol, runtime_checkable from aiohttp import ClientError from nice_go import ApiError, AuthFailedError from homeassistant.exceptions import ConfigEntryAuthFailed, HomeAssistantError fr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/cover.py
homeassistant/components/nice_go/cover.py
"""Cover entity for Nice G.O.""" from typing import Any from homeassistant.components.cover import ( CoverDeviceClass, CoverEntity, CoverEntityFeature, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator 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/nice_go/switch.py
homeassistant/components/nice_go/switch.py
"""Nice G.O. switch platform.""" from __future__ import annotations import logging from typing import TYPE_CHECKING, Any from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/const.py
homeassistant/components/nice_go/const.py
"""Constants for the Nice G.O. integration.""" from datetime import timedelta from homeassistant.const import Platform DOMAIN = "nice_go" # Configuration CONF_SITE_ID = "site_id" CONF_DEVICE_ID = "device_id" CONF_REFRESH_TOKEN = "refresh_token" CONF_REFRESH_TOKEN_CREATION_TIME = "refresh_token_creation_time" REFRE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/coordinator.py
homeassistant/components/nice_go/coordinator.py
"""DataUpdateCoordinator for Nice G.O.""" from __future__ import annotations import asyncio from collections.abc import Callable from dataclasses import dataclass from datetime import datetime import json import logging from typing import TYPE_CHECKING, Any from nice_go import ( BARRIER_STATUS, ApiError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/__init__.py
homeassistant/components/nice_go/__init__.py
"""The Nice G.O. integration.""" from __future__ import annotations import logging from homeassistant.const import EVENT_HOMEASSISTANT_STOP, Platform from homeassistant.core import HomeAssistant from .coordinator import NiceGOConfigEntry, NiceGOUpdateCoordinator _LOGGER = logging.getLogger(__name__) PLATFORMS: lis...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/entity.py
homeassistant/components/nice_go/entity.py
"""Base entity for Nice G.O.""" from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import NiceGODevice, NiceGOUpdateCoordinator class NiceGOEntity(CoordinatorEntity[NiceGOUpdateCoordinator]):...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nice_go/light.py
homeassistant/components/nice_go/light.py
"""Nice G.O. light.""" import logging from typing import TYPE_CHECKING, Any from homeassistant.components.light import ColorMode, LightEntity from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .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/nice_go/config_flow.py
homeassistant/components/nice_go/config_flow.py
"""Config flow for Nice G.O. integration.""" from __future__ import annotations from collections.abc import Mapping from datetime import datetime import logging from typing import Any from nice_go import AuthFailedError, NiceGOApi import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigF...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplefin/binary_sensor.py
homeassistant/components/simplefin/binary_sensor.py
"""Binary Sensor for SimpleFin.""" from collections.abc import Callable from dataclasses import dataclass from simplefin4py import Account from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import Ent...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplefin/const.py
homeassistant/components/simplefin/const.py
"""Constants for the SimpleFIN integration.""" from __future__ import annotations import logging from typing import Final DOMAIN: Final = "simplefin" LOGGER = logging.getLogger(__package__) CONF_ACCESS_URL = "access_url"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplefin/coordinator.py
homeassistant/components/simplefin/coordinator.py
"""Data update coordinator for the SimpleFIN integration.""" from __future__ import annotations from datetime import timedelta from typing import Any from simplefin4py import FinancialData, SimpleFin from simplefin4py.exceptions import SimpleFinAuthError, SimpleFinPaymentRequiredError from homeassistant.config_entr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplefin/sensor.py
homeassistant/components/simplefin/sensor.py
"""Platform for sensor integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from simplefin4py import Account from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplefin/__init__.py
homeassistant/components/simplefin/__init__.py
"""The SimpleFIN integration.""" from __future__ import annotations from simplefin4py import SimpleFin from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .const import CONF_ACCESS_URL from .coordinator import SimpleFinConfigEntry, SimpleFinDataUpdateCoordinator PLATFORMS: li...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/simplefin/entity.py
homeassistant/components/simplefin/entity.py
"""SimpleFin Base Entity.""" from simplefin4py import Account from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .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/simplefin/config_flow.py
homeassistant/components/simplefin/config_flow.py
"""Config flow for SimpleFIN integration.""" from typing import Any from simplefin4py import SimpleFin from simplefin4py.exceptions import ( SimpleFinAuthError, SimpleFinClaimError, SimpleFinInvalidAccountURLError, SimpleFinInvalidClaimTokenError, SimpleFinPaymentRequiredError, ) import voluptuous...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thermador/__init__.py
homeassistant/components/thermador/__init__.py
"""Thermador 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/faa_delays/binary_sensor.py
homeassistant/components/faa_delays/binary_sensor.py
"""Platform for FAA Delays sensor component.""" from __future__ import annotations from collections.abc import Callable, Mapping from dataclasses import dataclass from typing import Any from faadelays import Airport from homeassistant.components.binary_sensor import ( BinarySensorEntity, BinarySensorEntityD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/faa_delays/const.py
homeassistant/components/faa_delays/const.py
"""Constants for the FAA Delays integration.""" from __future__ import annotations DOMAIN = "faa_delays"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/faa_delays/coordinator.py
homeassistant/components/faa_delays/coordinator.py
"""DataUpdateCoordinator for faa_delays integration.""" import asyncio from datetime import timedelta import logging from aiohttp import ClientConnectionError from faadelays import Airport from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers 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/faa_delays/__init__.py
homeassistant/components/faa_delays/__init__.py
"""The FAA Delays integration.""" from homeassistant.const import CONF_ID, Platform from homeassistant.core import HomeAssistant from .coordinator import FAAConfigEntry, FAADataUpdateCoordinator PLATFORMS = [Platform.BINARY_SENSOR] async def async_setup_entry(hass: HomeAssistant, entry: FAAConfigEntry) -> bool: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/faa_delays/config_flow.py
homeassistant/components/faa_delays/config_flow.py
"""Config flow for FAA Delays integration.""" import logging from typing import Any from aiohttp import ClientConnectionError import faadelays import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_ID from homeassistant.helpers import aioht...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/browser/__init__.py
homeassistant/components/browser/__init__.py
"""Support for launching a web browser on the host machine.""" import webbrowser import voluptuous as vol from homeassistant.core import HomeAssistant, ServiceCall from homeassistant.helpers import config_validation as cv from homeassistant.helpers.typing import ConfigType ATTR_URL = "url" ATTR_URL_DEFAULT = "https...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false