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/lametric/button.py
homeassistant/components/lametric/button.py
"""Support for LaMetric buttons.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from demetriek import LaMetricDevice from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.co...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lametric/select.py
homeassistant/components/lametric/select.py
"""Support for LaMetric selects.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from demetriek import BrightnessMode, Device, LaMetricDevice from homeassistant.components.select import SelectEntity, SelectEntityDescripti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lametric/notify.py
homeassistant/components/lametric/notify.py
"""Support for LaMetric notifications.""" from __future__ import annotations from typing import TYPE_CHECKING, Any from demetriek import ( AlarmSound, LaMetricDevice, LaMetricError, Model, Notification, NotificationIconType, NotificationPriority, NotificationSound, Simple, Sou...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lametric/config_flow.py
homeassistant/components/lametric/config_flow.py
"""Config flow to configure the LaMetric integration.""" from __future__ import annotations from collections.abc import Mapping from ipaddress import ip_address import logging from typing import Any from demetriek import ( CloudDevice, LaMetricCloud, LaMetricConnectionError, LaMetricDevice, 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/airthings_ble/const.py
homeassistant/components/airthings_ble/const.py
"""Constants for Airthings BLE.""" from airthings_ble import AirthingsDeviceType DOMAIN = "airthings_ble" MFCT_ID = 820 VOLUME_BECQUEREL = "Bq/m³" VOLUME_PICOCURIE = "pCi/L" DEVICE_MODEL = "device_model" DEFAULT_SCAN_INTERVAL = 300 DEVICE_SPECIFIC_SCAN_INTERVAL = {AirthingsDeviceType.CORENTIUM_HOME_2.value: 1800} ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airthings_ble/coordinator.py
homeassistant/components/airthings_ble/coordinator.py
"""The Airthings BLE integration.""" from __future__ import annotations from datetime import timedelta import logging from airthings_ble import AirthingsBluetoothDeviceData, AirthingsDevice from bleak.backends.device import BLEDevice from bleak_retry_connector import close_stale_connections_by_address from homeassi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airthings_ble/sensor.py
homeassistant/components/airthings_ble/sensor.py
"""Support for airthings ble sensors.""" from __future__ import annotations import dataclasses import logging from airthings_ble import AirthingsDevice from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airthings_ble/__init__.py
homeassistant/components/airthings_ble/__init__.py
"""The Airthings BLE integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .const import MAX_RETRIES_AFTER_STARTUP from .coordinator import AirthingsBLEConfigEntry, AirthingsBLEDataUpdateCoordinator PLATFORMS: list[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/airthings_ble/config_flow.py
homeassistant/components/airthings_ble/config_flow.py
"""Config flow for Airthings BlE integration.""" from __future__ import annotations import dataclasses import logging from typing import Any from airthings_ble import ( AirthingsBluetoothDeviceData, AirthingsDevice, UnsupportedDeviceError, ) from bleak import BleakError from habluetooth import BluetoothS...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lawn_mower/const.py
homeassistant/components/lawn_mower/const.py
"""Constants for the lawn mower integration.""" from enum import IntFlag, StrEnum class LawnMowerActivity(StrEnum): """Activity state of lawn mower devices.""" ERROR = "error" """Device is in error state, needs assistance.""" PAUSED = "paused" """Paused during activity.""" MOWING = "mowing...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lawn_mower/intent.py
homeassistant/components/lawn_mower/intent.py
"""Intents for the lawn mower integration.""" from homeassistant.core import HomeAssistant from homeassistant.helpers import intent from . import DOMAIN, SERVICE_DOCK, SERVICE_START_MOWING, LawnMowerEntityFeature INTENT_LANW_MOWER_START_MOWING = "HassLawnMowerStartMowing" INTENT_LANW_MOWER_DOCK = "HassLawnMowerDock"...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lawn_mower/__init__.py
homeassistant/components/lawn_mower/__init__.py
"""The lawn mower integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import final from propcache.api import cached_property from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers 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/lawn_mower/trigger.py
homeassistant/components/lawn_mower/trigger.py
"""Provides triggers for lawn mowers.""" from homeassistant.core import HomeAssistant from homeassistant.helpers.trigger import Trigger, make_entity_target_state_trigger from .const import DOMAIN, LawnMowerActivity TRIGGERS: dict[str, type[Trigger]] = { "docked": make_entity_target_state_trigger(DOMAIN, LawnMowe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zerproc/const.py
homeassistant/components/zerproc/const.py
"""Constants for the Zerproc integration.""" DOMAIN = "zerproc" DATA_ADDRESSES = "addresses" DATA_DISCOVERY_SUBSCRIPTION = "discovery_subscription"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zerproc/__init__.py
homeassistant/components/zerproc/__init__.py
"""Zerproc lights integration.""" from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .const import DATA_ADDRESSES, DATA_DISCOVERY_SUBSCRIPTION, DOMAIN PLATFORMS = [Platform.LIGHT] async def async_setup_entry(hass: HomeAssi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zerproc/light.py
homeassistant/components/zerproc/light.py
"""Zerproc light platform.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any import pyzerproc from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_HS_COLOR, ColorMode, LightEntity, ) from homeassistant.config_entries import Confi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zerproc/config_flow.py
homeassistant/components/zerproc/config_flow.py
"""Config flow for Zerproc.""" import logging import pyzerproc from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_flow from .const import DOMAIN _LOGGER = logging.getLogger(__name__) async def _async_has_devices(hass: HomeAssistant) -> bool: """Return if there are dev...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/diagnostics.py
homeassistant/components/portainer/diagnostics.py
"""Diagnostics for the Portainer integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_API_TOKEN from homeassistant.core import HomeAssistant from . import PortainerConfigEntry from .coordinat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/switch.py
homeassistant/components/portainer/switch.py
"""Switch platform for Portainer containers.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from pyportainer import Portainer from pyportainer.exceptions import ( PortainerAuthenticationError, PortainerConnectionE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/binary_sensor.py
homeassistant/components/portainer/binary_sensor.py
"""Binary sensor platform for Portainer.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/const.py
homeassistant/components/portainer/const.py
"""Constants for the Portainer integration.""" DOMAIN = "portainer" DEFAULT_NAME = "Portainer" ENDPOINT_STATUS_DOWN = 2 CONTAINER_STATE_RUNNING = "running"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/coordinator.py
homeassistant/components/portainer/coordinator.py
"""Data Update Coordinator for Portainer.""" from __future__ import annotations import asyncio from collections.abc import Callable from dataclasses import dataclass from datetime import timedelta import logging from pyportainer import ( Portainer, PortainerAuthenticationError, PortainerConnectionError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/sensor.py
homeassistant/components/portainer/sensor.py
"""Sensor platform for Portainer integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.sensor import ( EntityCategory, SensorDeviceClass, SensorEntity, SensorEntityDescription, 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/portainer/__init__.py
homeassistant/components/portainer/__init__.py
"""The Portainer integration.""" from __future__ import annotations from pyportainer import Portainer from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONF_API_KEY, CONF_API_TOKEN, CONF_HOST, CONF_URL, CONF_VERIFY_SSL, Platform, ) from homeassistant.core ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/entity.py
homeassistant/components/portainer/entity.py
"""Base class for Portainer entities.""" from yarl import URL from homeassistant.const import CONF_URL from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DEFAULT_NAME, DOMAIN from .coordinator import ( PortainerCo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/portainer/button.py
homeassistant/components/portainer/button.py
"""Support for Portainer buttons.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from pyportainer import Portainer from pyportainer.exceptions import ( PortainerAuthenticationError, PortainerConnectionError, 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/portainer/config_flow.py
homeassistant/components/portainer/config_flow.py
"""Config flow for the portainer integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pyportainer import ( Portainer, PortainerAuthenticationError, PortainerConnectionError, PortainerTimeoutError, ) 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/wilight/cover.py
homeassistant/components/wilight/cover.py
"""Support for WiLight Cover.""" from __future__ import annotations from typing import Any from pywilight.const import ( COVER_V1, ITEM_COVER, WL_CLOSE, WL_CLOSING, WL_OPEN, WL_OPENING, WL_STOP, WL_STOPPED, ) from homeassistant.components.cover import ATTR_POSITION, CoverEntity 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/wilight/switch.py
homeassistant/components/wilight/switch.py
"""Support for WiLight switches.""" from __future__ import annotations from typing import Any from pywilight.const import ITEM_SWITCH, SWITCH_PAUSE_VALVE, SWITCH_VALVE from pywilight.wilight_device import PyWiLightDevice import voluptuous as vol from homeassistant.components.switch import SwitchEntity from homeassi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wilight/const.py
homeassistant/components/wilight/const.py
"""The WiLight integration.""" DOMAIN = "wilight"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wilight/fan.py
homeassistant/components/wilight/fan.py
"""Support for WiLight Fan.""" from __future__ import annotations from typing import Any from pywilight.const import ( FAN_V1, ITEM_FAN, WL_DIRECTION_FORWARD, WL_DIRECTION_OFF, WL_DIRECTION_REVERSE, WL_SPEED_HIGH, WL_SPEED_LOW, WL_SPEED_MEDIUM, ) from pywilight.wilight_device import 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/wilight/__init__.py
homeassistant/components/wilight/__init__.py
"""The WiLight integration.""" from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from .const import DOMAIN from .parent_device import WiLightParent # List the platforms th...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wilight/entity.py
homeassistant/components/wilight/entity.py
"""The WiLight integration.""" from typing import Any from pywilight.wilight_device import PyWiLightDevice from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity from .const import DOMAIN class WiLightDevice(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/wilight/support.py
homeassistant/components/wilight/support.py
"""Support for config validation using voluptuous and Translate Trigger.""" from __future__ import annotations import calendar import locale from typing import Any import voluptuous as vol def wilight_trigger(value: Any) -> str | None: """Check rules for WiLight Trigger.""" step = 1 err_desc = "Value 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/wilight/parent_device.py
homeassistant/components/wilight/parent_device.py
"""The WiLight Device integration.""" from __future__ import annotations import asyncio import logging import pywilight from pywilight.wilight_device import PyWiLightDevice import requests from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, EVENT_HOMEASSISTANT_STOP 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/wilight/light.py
homeassistant/components/wilight/light.py
"""Support for WiLight lights.""" from __future__ import annotations from typing import Any from pywilight.const import ITEM_LIGHT, LIGHT_COLOR, LIGHT_DIMMER, LIGHT_ON_OFF from pywilight.wilight_device import PyWiLightDevice from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_HS_COLOR, 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/wilight/config_flow.py
homeassistant/components/wilight/config_flow.py
"""Config flow to configure WiLight.""" from typing import Any from urllib.parse import urlparse import pywilight from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST from homeassistant.helpers.service_info.ssdp import ( ATTR_UPNP_MANUFACTURER, ATTR_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apprise/__init__.py
homeassistant/components/apprise/__init__.py
"""The apprise 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/apprise/notify.py
homeassistant/components/apprise/notify.py
"""Apprise platform for notify component.""" from __future__ import annotations import logging from typing import Any import apprise import voluptuous as vol from homeassistant.components.notify import ( ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA as NOTIFY_PLATFORM_SCHEMA, 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/anel_pwrctrl/switch.py
homeassistant/components/anel_pwrctrl/switch.py
"""Support for ANEL PwrCtrl switches.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from anel_pwrctrl import Device, DeviceMaster, Switch import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_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/anel_pwrctrl/__init__.py
homeassistant/components/anel_pwrctrl/__init__.py
"""The anel_pwrctrl 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/uprise_smart_shades/__init__.py
homeassistant/components/uprise_smart_shades/__init__.py
"""Virtual integration: Uprise Smart Shades."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/silabs_multiprotocol.py
homeassistant/components/otbr/silabs_multiprotocol.py
"""Silicon Labs Multiprotocol support.""" from __future__ import annotations from collections.abc import Callable, Coroutine from functools import wraps import logging from typing import TYPE_CHECKING, Any, Concatenate import aiohttp from python_otbr_api import tlv_parser from python_otbr_api.tlv_parser import Meshc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/util.py
homeassistant/components/otbr/util.py
"""Utility functions for the Open Thread Border Router integration.""" from __future__ import annotations from collections.abc import Callable, Coroutine import dataclasses from functools import wraps import logging import random from typing import TYPE_CHECKING, Any, Concatenate, cast import aiohttp import python_o...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/websocket_api.py
homeassistant/components/otbr/websocket_api.py
"""Websocket API for OTBR.""" from collections.abc import Callable, Coroutine from functools import wraps from typing import TYPE_CHECKING, Any, cast import python_otbr_api from python_otbr_api import PENDING_DATASET_DELAY_TIMER, tlv_parser from python_otbr_api.tlv_parser import MeshcopTLVType import voluptuous as vo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/const.py
homeassistant/components/otbr/const.py
"""Constants for the Open Thread Border Router integration.""" from __future__ import annotations DOMAIN = "otbr" DEFAULT_CHANNEL = 15
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/homeassistant_hardware.py
homeassistant/components/otbr/homeassistant_hardware.py
"""Home Assistant Hardware firmware utilities.""" from __future__ import annotations import logging from yarl import URL from homeassistant.components.hassio import AddonManager from homeassistant.components.homeassistant_hardware.util import ( ApplicationType, FirmwareInfo, OwningAddon, OwningInteg...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/__init__.py
homeassistant/components/otbr/__init__.py
"""The Open Thread Border Router integration.""" from __future__ import annotations import logging import aiohttp import python_otbr_api from homeassistant.components.homeassistant_hardware.helpers import ( async_notify_firmware_info, async_register_firmware_info_provider, ) from homeassistant.components.th...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/types.py
homeassistant/components/otbr/types.py
"""The Open Thread Border Router integration types.""" from homeassistant.config_entries import ConfigEntry from .util import OTBRData type OTBRConfigEntry = ConfigEntry[OTBRData]
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/otbr/config_flow.py
homeassistant/components/otbr/config_flow.py
"""Config flow for the Open Thread Border Router integration.""" from __future__ import annotations from contextlib import suppress import logging from typing import TYPE_CHECKING, cast import aiohttp import python_otbr_api from python_otbr_api import tlv_parser from python_otbr_api.tlv_parser import MeshcopTLVType ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/dlink/switch.py
homeassistant/components/dlink/switch.py
"""Support for D-Link Power Plug Switches.""" from __future__ import annotations from datetime import timedelta from typing import Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.const import ATTR_TEMPERATURE, UnitOfTemperature from homeassistant.core import 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/dlink/const.py
homeassistant/components/dlink/const.py
"""Constants for the D-Link Power Plug integration.""" ATTRIBUTION = "Data provided by D-Link" ATTR_TOTAL_CONSUMPTION = "total_consumption" CONF_USE_LEGACY_PROTOCOL = "use_legacy_protocol" DEFAULT_NAME = "D-Link Smart Plug W215" DEFAULT_USERNAME = "admin" DOMAIN = "dlink" MANUFACTURER = "D-Link"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/dlink/__init__.py
homeassistant/components/dlink/__init__.py
"""The D-Link Power Plug integration.""" from __future__ import annotations from pyW215.pyW215 import SmartPlug from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssistant from homeassistant.except...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/dlink/entity.py
homeassistant/components/dlink/entity.py
"""Entity representing a D-Link Power Plug device.""" from __future__ import annotations from homeassistant.const import ATTR_CONNECTIONS from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity, EntityDescript...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/dlink/data.py
homeassistant/components/dlink/data.py
"""Data for the D-Link Power Plug integration.""" from __future__ import annotations from datetime import datetime import logging import urllib from pyW215.pyW215 import SmartPlug from homeassistant.util import dt as dt_util _LOGGER = logging.getLogger(__name__) class SmartPlugData: """Get the latest data 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/dlink/config_flow.py
homeassistant/components/dlink/config_flow.py
"""Config flow for the D-Link Power Plug integration.""" from __future__ import annotations import logging from typing import Any from pyW215.pyW215 import SmartPlug import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_PASSWOR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trafikverket_train/util.py
homeassistant/components/trafikverket_train/util.py
"""Utils for trafikverket_train.""" from __future__ import annotations from datetime import date, timedelta from homeassistant.const import WEEKDAYS def next_weekday(fromdate: date, weekday: int) -> date: """Return the date of the next time a specific weekday happen.""" days_ahead = weekday - fromdate.week...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trafikverket_train/const.py
homeassistant/components/trafikverket_train/const.py
"""Adds constants for Trafikverket Train integration.""" from homeassistant.const import Platform DOMAIN = "trafikverket_train" PLATFORMS = [Platform.SENSOR] ATTRIBUTION = "Data provided by Trafikverket" CONF_FROM = "from" CONF_TO = "to" CONF_TIME = "time" CONF_FILTER_PRODUCT = "filter_product"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trafikverket_train/coordinator.py
homeassistant/components/trafikverket_train/coordinator.py
"""DataUpdateCoordinator for the Trafikverket Train integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import datetime, time, timedelta import logging from typing import TYPE_CHECKING from pytrafikverket import ( InvalidAuthentication, MultipleTrainStationsFoun...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trafikverket_train/sensor.py
homeassistant/components/trafikverket_train/sensor.py
"""Train information for departures and delays, provided by Trafikverket.""" from __future__ import annotations from collections.abc import Callable, Mapping from dataclasses import dataclass from datetime import datetime from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/trafikverket_train/__init__.py
homeassistant/components/trafikverket_train/__init__.py
"""The trafikverket_train component.""" from __future__ import annotations import logging from pytrafikverket import ( InvalidAuthentication, NoTrainStationFound, TrafikverketTrain, UnknownError, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY 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/trafikverket_train/config_flow.py
homeassistant/components/trafikverket_train/config_flow.py
"""Adds config flow for Trafikverket Train integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pytrafikverket import ( InvalidAuthentication, NoTrainStationFound, StationInfoModel, TrafikverketTrain, UnknownError, ) 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/tilt_pi/const.py
homeassistant/components/tilt_pi/const.py
"""Constants for the Tilt Pi integration.""" import logging from typing import Final LOGGER = logging.getLogger(__package__) DOMAIN: Final = "tilt_pi"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tilt_pi/coordinator.py
homeassistant/components/tilt_pi/coordinator.py
"""Data update coordinator for Tilt Pi.""" from datetime import timedelta from typing import Final from tiltpi import TiltHydrometerData, TiltPiClient, TiltPiError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT 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/tilt_pi/sensor.py
homeassistant/components/tilt_pi/sensor.py
"""Support for Tilt Hydrometer sensors.""" from collections.abc import Callable from dataclasses import dataclass from typing import Final from tiltpi import TiltHydrometerData from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, 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/tilt_pi/__init__.py
homeassistant/components/tilt_pi/__init__.py
"""The Tilt Pi integration.""" from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import TiltPiConfigEntry, TiltPiDataUpdateCoordinator PLATFORMS: list[Platform] = [Platform.SENSOR] async def async_setup_entry(hass: HomeAssistant, entry: TiltPiConfigEntry) -> bo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tilt_pi/entity.py
homeassistant/components/tilt_pi/entity.py
"""Base entity for Tilt Pi integration.""" from tiltpi import TiltHydrometerData from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .coordinator import TiltPiDataUpdateCoordinator class TiltEntity(Coordina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tilt_pi/config_flow.py
homeassistant/components/tilt_pi/config_flow.py
"""Config flow for Tilt Pi integration.""" from typing import Any import aiohttp from tiltpi import TiltPiClient, TiltPiError import voluptuous as vol from yarl import URL from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_PORT, CONF_URL 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/tcp/common.py
homeassistant/components/tcp/common.py
"""Common code for TCP component.""" from __future__ import annotations from typing import Any, Final import voluptuous as vol from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PAYLOAD, CONF_PORT, CONF_SSL, CONF_TIMEOUT, CONF_UNIT_OF_MEASUREMENT, CONF_VALUE_TEMPLATE, 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/tcp/model.py
homeassistant/components/tcp/model.py
"""Models for TCP platform.""" from __future__ import annotations from typing import TypedDict from homeassistant.helpers.template import Template class TcpSensorConfig(TypedDict): """TypedDict for TcpSensor config.""" name: str host: str port: str timeout: int payload: str unit_of_mea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tcp/binary_sensor.py
homeassistant/components/tcp/binary_sensor.py
"""Provides a binary sensor which gets its values from a TCP socket.""" from __future__ import annotations from typing import Final from homeassistant.components.binary_sensor import ( PLATFORM_SCHEMA as BINARY_SENSOR_PLATFORM_SCHEMA, BinarySensorEntity, ) 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/tcp/const.py
homeassistant/components/tcp/const.py
"""Constants for TCP platform.""" from __future__ import annotations from typing import Final CONF_BUFFER_SIZE: Final = "buffer_size" CONF_VALUE_ON: Final = "value_on" DEFAULT_BUFFER_SIZE: Final = 1024 DEFAULT_NAME: Final = "TCP Sensor" DEFAULT_TIMEOUT: Final = 10 DEFAULT_SSL: Final = False DEFAULT_VERIFY_SSL: Fina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tcp/sensor.py
homeassistant/components/tcp/sensor.py
"""Support for TCP socket based sensors.""" from __future__ import annotations from typing import Final from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) from homeassistant.const import CONF_UNIT_OF_MEASUREMENT from homeassistant.core import HomeAssistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tcp/__init__.py
homeassistant/components/tcp/__init__.py
"""The tcp 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/tcp/entity.py
homeassistant/components/tcp/entity.py
"""Common code for TCP component.""" from __future__ import annotations import logging import select import socket import ssl from typing import Final from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PAYLOAD, CONF_PORT, CONF_SSL, CONF_TIMEOUT, CONF_UNIT_OF_MEASUREMENT, CON...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/saj/sensor.py
homeassistant/components/saj/sensor.py
"""SAJ solar inverter interface.""" from __future__ import annotations from collections.abc import Callable, Coroutine from datetime import date, datetime import logging from typing import Any import pysaj import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_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/saj/__init__.py
homeassistant/components/saj/__init__.py
"""The saj 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/volvooncall/const.py
homeassistant/components/volvooncall/const.py
"""Constants for the Volvo On Call integration.""" DOMAIN = "volvooncall"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/volvooncall/__init__.py
homeassistant/components/volvooncall/__init__.py
"""The Volvo On Call integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers import issue_registry as ir from .const import DOMAIN async def async_setup_entry(hass: HomeAssistant, entry: ConfigEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/volvooncall/config_flow.py
homeassistant/components/volvooncall/config_flow.py
"""Config flow for Volvo On Call integration.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class VolvoOnCallConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for Volvo On Call.""" ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/input_datetime/reproduce_state.py
homeassistant/components/input_datetime/reproduce_state.py
"""Reproduce an Input datetime state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from homeassistant.const import ATTR_ENTITY_ID from homeassistant.core import Context, HomeAssistant, State from homeassistant.util import dt as dt_uti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/input_datetime/__init__.py
homeassistant/components/input_datetime/__init__.py
"""Support to select a date and/or a time.""" from __future__ import annotations import datetime as py_datetime import logging from typing import Any, Self import voluptuous as vol from homeassistant.const import ( ATTR_DATE, ATTR_EDITABLE, ATTR_TIME, CONF_ICON, CONF_ID, CONF_NAME, 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/advantage_air/diagnostics.py
homeassistant/components/advantage_air/diagnostics.py
"""Provides diagnostics for Advantage Air.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from . import AdvantageAirDataConfigEntry TO_REDACT = [ "dealerPhoneNumber", "latitude", ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/cover.py
homeassistant/components/advantage_air/cover.py
"""Cover platform for Advantage Air integration.""" from typing import Any from homeassistant.components.cover import ( ATTR_POSITION, CoverDeviceClass, CoverEntity, CoverEntityFeature, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/models.py
homeassistant/components/advantage_air/models.py
"""The Advantage Air integration models.""" from __future__ import annotations from dataclasses import dataclass from advantage_air import advantage_air from homeassistant.helpers.update_coordinator import DataUpdateCoordinator @dataclass class AdvantageAirData: """Data for the Advantage Air 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/advantage_air/switch.py
homeassistant/components/advantage_air/switch.py
"""Switch platform for Advantage Air integration.""" from typing import Any from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import AdvantageAirDataConfigEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/binary_sensor.py
homeassistant/components/advantage_air/binary_sensor.py
"""Binary Sensor platform for Advantage Air integration.""" from __future__ import annotations from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant from homeassistant.help...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/const.py
homeassistant/components/advantage_air/const.py
"""Constants used by Advantage Air integration.""" DOMAIN = "advantage_air" ADVANTAGE_AIR_RETRY = 10 ADVANTAGE_AIR_STATE_OPEN = "open" ADVANTAGE_AIR_STATE_CLOSE = "close" ADVANTAGE_AIR_STATE_ON = "on" ADVANTAGE_AIR_STATE_OFF = "off" ADVANTAGE_AIR_AUTOFAN_ENABLED = "aaAutoFanModeEnabled" ADVANTAGE_AIR_NIGHT_MODE_ENABLE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/update.py
homeassistant/components/advantage_air/update.py
"""Advantage Air Update platform.""" from homeassistant.components.update import UpdateEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import AdvantageAirDataConfigE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/sensor.py
homeassistant/components/advantage_air/sensor.py
"""Sensor platform for Advantage Air integration.""" from __future__ import annotations from decimal import Decimal from typing import Any import voluptuous as vol from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) from homeassistant.const import PERCENTAG...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/__init__.py
homeassistant/components/advantage_air/__init__.py
"""Advantage Air climate integration.""" from datetime import timedelta import logging from advantage_air import ApiError, advantage_air from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_IP_ADDRESS, CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/entity.py
homeassistant/components/advantage_air/entity.py
"""Advantage Air parent entity class.""" from typing import Any from advantage_air import ApiError from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN 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/advantage_air/select.py
homeassistant/components/advantage_air/select.py
"""Select platform for Advantage Air integration.""" from homeassistant.components.select import SelectEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import AdvantageAirDataConfigEntry from .entity import AdvantageAirAcEntity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/climate.py
homeassistant/components/advantage_air/climate.py
"""Climate platform for Advantage Air integration.""" from __future__ import annotations from decimal import Decimal import logging from typing import Any from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, FAN_AUTO, FAN_HIGH, FAN_LOW, FAN_MEDIUM, 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/advantage_air/light.py
homeassistant/components/advantage_air/light.py
"""Light platform for Advantage Air integration.""" from typing import Any from homeassistant.components.light import ATTR_BRIGHTNESS, ColorMode, LightEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity_platform import AddC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/advantage_air/config_flow.py
homeassistant/components/advantage_air/config_flow.py
"""Config Flow for Advantage Air integration.""" from __future__ import annotations from typing import Any from advantage_air import ApiError, advantage_air import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_IP_ADDRESS, CONF_PORT 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/bbox/device_tracker.py
homeassistant/components/bbox/device_tracker.py
"""Support for French FAI Bouygues Bbox routers.""" from __future__ import annotations from collections import namedtuple from datetime import timedelta import logging import pybbox import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, PLATFORM_SCHEM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bbox/sensor.py
homeassistant/components/bbox/sensor.py
"""Support for Bbox Bouygues Modem Router.""" from __future__ import annotations from datetime import timedelta import logging import pybbox import requests import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorDeviceClass, SensorEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bbox/__init__.py
homeassistant/components/bbox/__init__.py
"""The bbox 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/ping/device_tracker.py
homeassistant/components/ping/device_tracker.py
"""Tracks devices by sending a ICMP echo request (ping).""" from __future__ import annotations from datetime import datetime, timedelta from homeassistant.components.device_tracker import ( CONF_CONSIDER_HOME, DEFAULT_CONSIDER_HOME, ScannerEntity, ) from homeassistant.core import HomeAssistant from homea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false