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/skybell/camera.py
homeassistant/components/skybell/camera.py
"""Camera support for the Skybell HD Doorbell.""" from __future__ import annotations from aiohttp import web from haffmpeg.camera import CameraMjpeg from homeassistant.components.camera import Camera, CameraEntityDescription from homeassistant.components.ffmpeg import get_ffmpeg_manager 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/skybell/const.py
homeassistant/components/skybell/const.py
"""Constants for the Skybell HD Doorbell.""" import logging from typing import Final DEFAULT_NAME = "SkyBell" DOMAIN: Final = "skybell" IMAGE_AVATAR = "avatar" IMAGE_ACTIVITY = "activity" LOGGER = logging.getLogger(__package__)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/skybell/coordinator.py
homeassistant/components/skybell/coordinator.py
"""Data update coordinator for the Skybell integration.""" from datetime import timedelta from aioskybell import SkybellDevice, SkybellException from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/skybell/sensor.py
homeassistant/components/skybell/sensor.py
"""Sensor support for Skybell Doorbells.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from aioskybell import SkybellDevice from aioskybell.helpers import const as CONST from homeassistant.components.sensor import ( Sen...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/skybell/__init__.py
homeassistant/components/skybell/__init__.py
"""Support for the Skybell HD Doorbell.""" from __future__ import annotations import asyncio from aioskybell import Skybell from aioskybell.exceptions import SkybellAuthenticationException, SkybellException from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_EMAIL, 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/skybell/entity.py
homeassistant/components/skybell/entity.py
"""Entity representing a Skybell HD Doorbell.""" from __future__ import annotations from aioskybell import SkybellDevice from homeassistant.const import ATTR_CONNECTIONS from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.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/skybell/light.py
homeassistant/components/skybell/light.py
"""Light/LED support for the Skybell HD Doorbell.""" from __future__ import annotations from typing import Any from aioskybell.helpers.const import BRIGHTNESS, RGB_COLOR from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_RGB_COLOR, ColorMode, LightEntity, LightEntityDescription, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/skybell/config_flow.py
homeassistant/components/skybell/config_flow.py
"""Config flow for Skybell integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from aioskybell import Skybell, exceptions import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/binary_sensor.py
homeassistant/components/sia/binary_sensor.py
"""Module for SIA Binary Sensors.""" from __future__ import annotations from collections.abc import Iterable from dataclasses import dataclass import logging from pysiaalarm import SIAEvent from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/const.py
homeassistant/components/sia/const.py
"""Constants for the sia integration.""" from __future__ import annotations from typing import Final from homeassistant.const import Platform PLATFORMS: Final = [Platform.ALARM_CONTROL_PANEL, Platform.BINARY_SENSOR] DOMAIN: Final = "sia" ATTR_CODE: Final = "last_code" ATTR_ZONE: Final = "last_zone" ATTR_MESSAGE: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/utils.py
homeassistant/components/sia/utils.py
"""Helper functions for the SIA integration.""" from __future__ import annotations from datetime import datetime, timedelta from typing import Any from pysiaalarm import SIAEvent from pysiaalarm.utils import MessageTypes from homeassistant.util.dt import utcnow from .const import ( ATTR_CODE, ATTR_ID, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/__init__.py
homeassistant/components/sia/__init__.py
"""The sia integration.""" from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PORT from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from .const import DOMAIN, PLATFORMS from .hub import SIAHub async def async_setup_entry(has...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/entity.py
homeassistant/components/sia/entity.py
"""Module for SIA Base Entity.""" from __future__ import annotations from abc import abstractmethod from dataclasses import dataclass import logging from pysiaalarm import SIAEvent from homeassistant.components.alarm_control_panel import AlarmControlPanelState from homeassistant.config_entries import ConfigEntry 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/sia/alarm_control_panel.py
homeassistant/components/sia/alarm_control_panel.py
"""Module for SIA Alarm Control Panels.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import TYPE_CHECKING from pysiaalarm import SIAEvent from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmControlPanelEntityDescripti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/config_flow.py
homeassistant/components/sia/config_flow.py
"""Config flow for sia integration.""" from __future__ import annotations from collections.abc import Mapping from copy import deepcopy import logging from typing import Any from pysiaalarm import ( InvalidAccountFormatError, InvalidAccountLengthError, InvalidKeyFormatError, InvalidKeyLengthError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sia/hub.py
homeassistant/components/sia/hub.py
"""The sia hub.""" from __future__ import annotations from copy import deepcopy import logging from typing import Any from pysiaalarm.aio import CommunicationsProtocol, SIAAccount, SIAClient, SIAEvent from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PORT, CONF_PROTOCOL, EVEN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/folder_watcher/event.py
homeassistant/components/folder_watcher/event.py
"""Support for Folder watcher event entities.""" from __future__ import annotations from typing import Any from watchdog.events import ( EVENT_TYPE_CLOSED, EVENT_TYPE_CREATED, EVENT_TYPE_DELETED, EVENT_TYPE_MODIFIED, EVENT_TYPE_MOVED, ) from homeassistant.components.event import EventEntity 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/folder_watcher/const.py
homeassistant/components/folder_watcher/const.py
"""Constants for Folder watcher.""" from homeassistant.const import Platform CONF_FOLDER = "folder" CONF_PATTERNS = "patterns" DEFAULT_PATTERN = "*" DOMAIN = "folder_watcher" PLATFORMS = [Platform.EVENT]
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/folder_watcher/__init__.py
homeassistant/components/folder_watcher/__init__.py
"""Component for monitoring activity on a folder.""" from __future__ import annotations import logging import os from typing import cast from watchdog.events import ( DirCreatedEvent, DirDeletedEvent, DirModifiedEvent, DirMovedEvent, FileClosedEvent, FileCreatedEvent, FileDeletedEvent, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/folder_watcher/config_flow.py
homeassistant/components/folder_watcher/config_flow.py
"""Adds config flow for Folder watcher.""" from __future__ import annotations from collections.abc import Mapping import os from typing import Any import voluptuous as vol from homeassistant.config_entries import ConfigFlowResult from homeassistant.core import callback from homeassistant.helpers.schema_config_entry...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/atlanticcityelectric/__init__.py
homeassistant/components/atlanticcityelectric/__init__.py
"""Virtual integration: Atlantic City Electric."""
python
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_ble/const.py
homeassistant/components/tilt_ble/const.py
"""Constants for the tilt_ble integration.""" DOMAIN = "tilt_ble"
python
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_ble/sensor.py
homeassistant/components/tilt_ble/sensor.py
"""Support for Tilt Hydrometers.""" from __future__ import annotations from tilt_ble import DeviceClass, DeviceKey, SensorUpdate, Units from homeassistant import config_entries from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothDataProcessor, PassiveBluetoothDataUpdate,...
python
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_ble/__init__.py
homeassistant/components/tilt_ble/__init__.py
"""The tilt_ble integration.""" from __future__ import annotations import logging from tilt_ble import TiltBluetoothDeviceData from homeassistant.components.bluetooth import BluetoothScanningMode from homeassistant.components.bluetooth.passive_update_processor import ( PassiveBluetoothProcessorCoordinator, ) 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_ble/config_flow.py
homeassistant/components/tilt_ble/config_flow.py
"""Config flow for tilt_ble.""" from __future__ import annotations from typing import Any from tilt_ble import TiltBluetoothDeviceData as DeviceData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, async_discovered_service_info, ) from homeassistant.config...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/go2rtc/util.py
homeassistant/components/go2rtc/util.py
"""Go2rtc utility functions.""" from pathlib import Path _HA_MANAGED_UNIX_SOCKET_FILE = "go2rtc.sock" def get_go2rtc_unix_socket_path(path: str | Path) -> str: """Get the Go2rtc unix socket path.""" if not isinstance(path, Path): path = Path(path) return str(path / _HA_MANAGED_UNIX_SOCKET_FILE)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/go2rtc/const.py
homeassistant/components/go2rtc/const.py
"""Go2rtc constants.""" DOMAIN = "go2rtc" CONF_DEBUG_UI = "debug_ui" DEBUG_UI_URL_MESSAGE = "Url and debug_ui cannot be set at the same time." HA_MANAGED_API_PORT = 11984 HA_MANAGED_URL = f"http://localhost:{HA_MANAGED_API_PORT}/" # When changing this version, also update the corresponding SHA hash (_GO2RTC_SHA) # in...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/go2rtc/__init__.py
homeassistant/components/go2rtc/__init__.py
"""The go2rtc component.""" from __future__ import annotations from dataclasses import dataclass import logging from secrets import token_hex import shutil from tempfile import mkdtemp from aiohttp import BasicAuth, ClientSession, UnixConnector from aiohttp.client_exceptions import ClientConnectionError, ServerConne...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/go2rtc/server.py
homeassistant/components/go2rtc/server.py
"""Go2rtc server.""" import asyncio from collections import deque from contextlib import suppress import logging from tempfile import NamedTemporaryFile from aiohttp import ClientSession from go2rtc_client import Go2RtcRestClient from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/go2rtc/config_flow.py
homeassistant/components/go2rtc/config_flow.py
"""Config flow for the go2rtc integration.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class CloudConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for the go2rtc 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/droplet/const.py
homeassistant/components/droplet/const.py
"""Constants for the droplet integration.""" CONNECT_DELAY = 5 DOMAIN = "droplet" DEVICE_NAME = "Droplet" KEY_CURRENT_FLOW_RATE = "current_flow_rate" KEY_VOLUME = "volume" KEY_SIGNAL_QUALITY = "signal_quality" KEY_SERVER_CONNECTIVITY = "server_connectivity"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/droplet/coordinator.py
homeassistant/components/droplet/coordinator.py
"""Droplet device data update coordinator object.""" from __future__ import annotations import asyncio import logging import time from pydroplet.droplet import Droplet from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_CODE, CONF_IP_ADDRESS, CONF_PORT from homeassistant.core i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/droplet/sensor.py
homeassistant/components/droplet/sensor.py
"""Support for Droplet.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from pydroplet.droplet import Droplet from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/droplet/__init__.py
homeassistant/components/droplet/__init__.py
"""The Droplet integration.""" from __future__ import annotations import logging from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import DropletConfigEntry, DropletDataCoordinator PLATFORMS: list[Platform] = [ Platform.SENSOR, ] logger = logging.getLogger...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/droplet/config_flow.py
homeassistant/components/droplet/config_flow.py
"""Config flow for Droplet integration.""" from __future__ import annotations from typing import Any from pydroplet.droplet import DropletConnection, DropletDiscovery import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_CODE, CONF_DEVICE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarla/switch.py
homeassistant/components/smarla/switch.py
"""Support for the Swing2Sleep Smarla switch entities.""" from dataclasses import dataclass from typing import Any from pysmarlaapi.federwiege.classes import Property from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription 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/smarla/number.py
homeassistant/components/smarla/number.py
"""Support for the Swing2Sleep Smarla number entities.""" from dataclasses import dataclass from pysmarlaapi.federwiege.classes import Property from homeassistant.components.number import ( NumberEntity, NumberEntityDescription, NumberMode, ) from homeassistant.core import HomeAssistant from homeassistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarla/const.py
homeassistant/components/smarla/const.py
"""Constants for the Swing2Sleep Smarla integration.""" from homeassistant.const import Platform DOMAIN = "smarla" HOST = "https://devices.swing2sleep.de" PLATFORMS = [Platform.NUMBER, Platform.SENSOR, Platform.SWITCH] DEVICE_MODEL_NAME = "Smarla" MANUFACTURER_NAME = "Swing2Sleep"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarla/sensor.py
homeassistant/components/smarla/sensor.py
"""Support for the Swing2Sleep Smarla sensor entities.""" from dataclasses import dataclass from pysmarlaapi.federwiege.classes import Property from homeassistant.components.sensor import ( SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import UnitOfLength, UnitOfTime...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarla/__init__.py
homeassistant/components/smarla/__init__.py
"""The Swing2Sleep Smarla integration.""" from pysmarlaapi import Connection, Federwiege from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryError from .const import HOST, 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/smarla/entity.py
homeassistant/components/smarla/entity.py
"""Common base for entities.""" from dataclasses import dataclass from typing import Any from pysmarlaapi import Federwiege from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity, EntityDescription from .const import DEVICE_MODEL_NAME, DOMAIN, MANUFACTURER_NAME ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarla/config_flow.py
homeassistant/components/smarla/config_flow.py
"""Config flow for Swing2Sleep Smarla integration.""" from __future__ import annotations from typing import Any from pysmarlaapi import Connection import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_ACCESS_TOKEN from .const import DOMA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/media_player.py
homeassistant/components/jellyfin/media_player.py
"""Support for the Jellyfin media player.""" from __future__ import annotations import logging from typing import Any from homeassistant.components.media_player import ( BrowseMedia, MediaPlayerEntity, MediaPlayerEntityFeature, MediaPlayerState, MediaType, SearchMedia, SearchMediaQuery, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/client_wrapper.py
homeassistant/components/jellyfin/client_wrapper.py
"""Utility methods for initializing a Jellyfin client.""" from __future__ import annotations import socket from typing import Any from jellyfin_apiclient_python import Jellyfin, JellyfinClient from jellyfin_apiclient_python.api import API from jellyfin_apiclient_python.connection_manager import ( CONNECTION_STAT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/diagnostics.py
homeassistant/components/jellyfin/diagnostics.py
"""Diagnostics support for Jellyfin.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_PASSWORD from homeassistant.core import HomeAssistant from .coordinator import JellyfinConfigEntry TO_REDACT = {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/jellyfin/media_source.py
homeassistant/components/jellyfin/media_source.py
"""The Media Source implementation for the Jellyfin integration.""" from __future__ import annotations import logging import mimetypes import os from typing import Any from jellyfin_apiclient_python.api import jellyfin_url from jellyfin_apiclient_python.client import JellyfinClient from homeassistant.components.med...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/browse_media.py
homeassistant/components/jellyfin/browse_media.py
"""Support for media browsing.""" from __future__ import annotations import asyncio from functools import partial from typing import Any from jellyfin_apiclient_python import JellyfinClient from homeassistant.components.media_player import ( BrowseError, BrowseMedia, MediaClass, MediaType, Searc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/const.py
homeassistant/components/jellyfin/const.py
"""Constants for the Jellyfin integration.""" import logging from typing import Final from homeassistant.components.media_player import MediaClass, MediaType from homeassistant.const import Platform, __version__ as hass_version DOMAIN: Final = "jellyfin" CLIENT_VERSION: Final = hass_version COLLECTION_TYPE_MOVIES:...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/coordinator.py
homeassistant/components/jellyfin/coordinator.py
"""Data update coordinator for the Jellyfin integration.""" from __future__ import annotations from datetime import timedelta from typing import Any from jellyfin_apiclient_python import JellyfinClient from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/sensor.py
homeassistant/components/jellyfin/sensor.py
"""Support for Jellyfin sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.core import HomeAssistant from homeassistant.helper...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/__init__.py
homeassistant/components/jellyfin/__init__.py
"""The Jellyfin integration.""" from typing import Any from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady from homeassistant.helpers import device_registry as dr from .client_wrapper import CannotConnect, InvalidAuth, create_client, validate_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/jellyfin/remote.py
homeassistant/components/jellyfin/remote.py
"""Support for Jellyfin remote commands.""" from __future__ import annotations from collections.abc import Iterable import time from typing import Any from homeassistant.components.remote import ( ATTR_DELAY_SECS, ATTR_NUM_REPEATS, DEFAULT_DELAY_SECS, DEFAULT_NUM_REPEATS, RemoteEntity, ) 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/jellyfin/entity.py
homeassistant/components/jellyfin/entity.py
"""Base Entity for Jellyfin.""" from __future__ import annotations from typing import Any from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import JellyfinDataUpdateCoordinator class Jelly...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jellyfin/config_flow.py
homeassistant/components/jellyfin/config_flow.py
"""Config flow for the Jellyfin integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult, OptionsFlow from homeassistant.const import CONF_PASSWORD, 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/luftdaten/diagnostics.py
homeassistant/components/luftdaten/diagnostics.py
"""Diagnostics support for Sensor.Community.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE from homeassistant.core import HomeAssistant from .const import CONF_SENSOR_ID 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/luftdaten/const.py
homeassistant/components/luftdaten/const.py
"""Define constants for the Sensor.Community integration.""" from datetime import timedelta ATTR_SENSOR_ID = "sensor_id" CONF_SENSOR_ID = "sensor_id" DEFAULT_SCAN_INTERVAL = timedelta(minutes=10) DOMAIN = "luftdaten"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/luftdaten/coordinator.py
homeassistant/components/luftdaten/coordinator.py
"""Support for Sensor.Community stations. Sensor.Community was previously called Luftdaten, hence the domain differs from the integration name. """ from __future__ import annotations import logging from luftdaten import Luftdaten from luftdaten.exceptions import LuftdatenError from homeassistant.config_entries 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/luftdaten/sensor.py
homeassistant/components/luftdaten/sensor.py
"""Support for Sensor.Community sensors.""" from __future__ import annotations from typing import cast from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( ATTR_LATITUDE, ATTR_LONGITUDE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/luftdaten/__init__.py
homeassistant/components/luftdaten/__init__.py
"""Support for Sensor.Community stations. Sensor.Community was previously called Luftdaten, hence the domain differs from the integration name. """ from __future__ import annotations from luftdaten import Luftdaten from homeassistant.const import Platform from homeassistant.core import HomeAssistant 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/luftdaten/config_flow.py
homeassistant/components/luftdaten/config_flow.py
"""Config flow to configure the Sensor.Community integration.""" from __future__ import annotations from typing import Any from luftdaten import Luftdaten from luftdaten.exceptions import LuftdatenConnectionError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/androidtv/media_player.py
homeassistant/components/androidtv/media_player.py
"""Support for functionality to interact with Android / Fire TV devices.""" from __future__ import annotations from datetime import datetime, timedelta import hashlib import logging from androidtv.constants import APPS, KEYS from androidtv.setup_async import AndroidTVAsync, FireTVAsync from homeassistant.components...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/androidtv/diagnostics.py
homeassistant/components/androidtv/diagnostics.py
"""Diagnostics support for AndroidTV.""" from __future__ import annotations from typing import Any import attr from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import ATTR_CONNECTIONS, ATTR_IDENTIFIERS, CONF_UNIQUE_ID from homeassistant.core import HomeAssistant from homea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/androidtv/services.py
homeassistant/components/androidtv/services.py
"""Services for Android/Fire TV devices.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.media_player import DOMAIN as MEDIA_PLAYER_DOMAIN from homeassistant.const import ATTR_COMMAND from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/androidtv/const.py
homeassistant/components/androidtv/const.py
"""Android Debug Bridge component constants.""" DOMAIN = "androidtv" CONF_ADB_SERVER_IP = "adb_server_ip" CONF_ADB_SERVER_PORT = "adb_server_port" CONF_ADBKEY = "adbkey" CONF_APPS = "apps" CONF_EXCLUDE_UNNAMED_APPS = "exclude_unnamed_apps" CONF_GET_SOURCES = "get_sources" CONF_SCREENCAP = "screencap" CONF_SCREENCAP_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/androidtv/__init__.py
homeassistant/components/androidtv/__init__.py
"""Support for functionality to interact with Android/Fire TV devices.""" from __future__ import annotations from collections.abc import Mapping from dataclasses import dataclass import logging import os from typing import Any from adb_shell.auth.keygen import keygen from adb_shell.exceptions import ( AdbTimeout...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/androidtv/remote.py
homeassistant/components/androidtv/remote.py
"""Support for the AndroidTV remote.""" from __future__ import annotations from collections.abc import Iterable import logging from typing import Any from androidtv.constants import KEYS from homeassistant.components.remote import ATTR_NUM_REPEATS, RemoteEntity from homeassistant.config_entries import ConfigEntry 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/androidtv/entity.py
homeassistant/components/androidtv/entity.py
"""Base AndroidTV Entity.""" from __future__ import annotations from collections.abc import Awaitable, Callable, Coroutine import functools import logging from typing import Any, Concatenate from androidtv.exceptions import LockNotAcquiredException from homeassistant.const import ( ATTR_CONNECTIONS, ATTR_ID...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/androidtv/config_flow.py
homeassistant/components/androidtv/config_flow.py
"""Config flow to configure the Android Debug Bridge integration.""" from __future__ import annotations import logging import os from typing import Any from androidtv import state_detection_rules_validator import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, 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/raspberry_pi/const.py
homeassistant/components/raspberry_pi/const.py
"""Constants for the Raspberry Pi integration.""" DOMAIN = "raspberry_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/raspberry_pi/hardware.py
homeassistant/components/raspberry_pi/hardware.py
"""The Raspberry Pi hardware platform.""" from __future__ import annotations from homeassistant.components.hardware import BoardInfo, HardwareInfo from homeassistant.components.hassio import get_os_info from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantError 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/raspberry_pi/__init__.py
homeassistant/components/raspberry_pi/__init__.py
"""The Raspberry Pi integration.""" from __future__ import annotations from homeassistant.components.hassio import get_os_info from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers.hassio 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/raspberry_pi/config_flow.py
homeassistant/components/raspberry_pi/config_flow.py
"""Config flow for the Raspberry Pi integration.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class RaspberryPiConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for Raspberry 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/fritzbox_callmonitor/const.py
homeassistant/components/fritzbox_callmonitor/const.py
"""Constants for the AVM Fritz!Box call monitor integration.""" from enum import StrEnum from typing import Final from homeassistant.const import Platform class FritzState(StrEnum): """Fritz!Box call states.""" RING = "RING" CALL = "CALL" CONNECT = "CONNECT" DISCONNECT = "DISCONNECT" ATTR_PRE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fritzbox_callmonitor/sensor.py
homeassistant/components/fritzbox_callmonitor/sensor.py
"""Sensor to monitor incoming/outgoing phone calls on a Fritz!Box router.""" from __future__ import annotations from collections.abc import Mapping from datetime import datetime, timedelta from enum import StrEnum import logging import queue from threading import Event as ThreadingEvent, Thread from time import sleep...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fritzbox_callmonitor/__init__.py
homeassistant/components/fritzbox_callmonitor/__init__.py
"""The fritzbox_callmonitor integration.""" import logging from fritzconnection.core.exceptions import FritzConnectionException, FritzSecurityError from requests.exceptions import ConnectionError as RequestsConnectionError from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fritzbox_callmonitor/base.py
homeassistant/components/fritzbox_callmonitor/base.py
"""Base class for fritzbox_callmonitor entities.""" from __future__ import annotations from contextlib import suppress from dataclasses import dataclass from datetime import timedelta import logging import re from fritzconnection.lib.fritzphonebook import FritzPhonebook from homeassistant.util import Throttle 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/fritzbox_callmonitor/config_flow.py
homeassistant/components/fritzbox_callmonitor/config_flow.py
"""Config flow for fritzbox_callmonitor.""" from __future__ import annotations from collections.abc import Mapping from enum import StrEnum from typing import Any, cast from fritzconnection import FritzConnection from fritzconnection.core.exceptions import FritzConnectionException, FritzSecurityError from requests.e...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/openalpr_cloud/image_processing.py
homeassistant/components/openalpr_cloud/image_processing.py
"""Component that will help set the OpenALPR cloud for ALPR processing.""" from __future__ import annotations import asyncio from base64 import b64encode from http import HTTPStatus import logging from typing import Any import aiohttp import voluptuous as vol from homeassistant.components.image_processing 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/openalpr_cloud/__init__.py
homeassistant/components/openalpr_cloud/__init__.py
"""The openalpr_cloud 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/brottsplatskartan/const.py
homeassistant/components/brottsplatskartan/const.py
"""Adds constants for brottsplatskartan integration.""" import logging from homeassistant.const import Platform DOMAIN = "brottsplatskartan" PLATFORMS = [Platform.SENSOR] LOGGER = logging.getLogger(__package__) CONF_AREA = "area" CONF_APP_ID = "app_id" DEFAULT_NAME = "Brottsplatskartan"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/brottsplatskartan/sensor.py
homeassistant/components/brottsplatskartan/sensor.py
"""Sensor platform for Brottsplatskartan information.""" from __future__ import annotations from collections import defaultdict from datetime import timedelta from typing import Literal from brottsplatskartan import ATTRIBUTION, BrottsplatsKartan from homeassistant.components.sensor import SensorEntity 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/brottsplatskartan/__init__.py
homeassistant/components/brottsplatskartan/__init__.py
"""The brottsplatskartan component.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import PLATFORMS async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Set up brottsplatskartan 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/brottsplatskartan/config_flow.py
homeassistant/components/brottsplatskartan/config_flow.py
"""Adds config flow for Brottsplatskartan integration.""" from __future__ import annotations from typing import Any import uuid from brottsplatskartan import AREAS import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_LATITUDE, CONF_LOCAT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/livisi/switch.py
homeassistant/components/livisi/switch.py
"""Code to handle a Livisi switches.""" from __future__ import annotations from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.dispatcher import async_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/livisi/binary_sensor.py
homeassistant/components/livisi/binary_sensor.py
"""Code to handle a Livisi Binary Sensor.""" from __future__ import annotations from typing import Any from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/livisi/const.py
homeassistant/components/livisi/const.py
"""Constants for the Livisi Smart Home integration.""" import logging from typing import Final LOGGER = logging.getLogger(__package__) DOMAIN = "livisi" AVATAR = "Avatar" AVATAR_PORT: Final = 9090 CLASSIC_PORT: Final = 8080 DEVICE_POLLING_DELAY: Final = 60 LIVISI_STATE_CHANGE: Final = "livisi_state_change" LIVISI_RE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/livisi/coordinator.py
homeassistant/components/livisi/coordinator.py
"""Code to manage fetching LIVISI data API.""" from __future__ import annotations from datetime import timedelta from typing import Any from aiohttp import ClientConnectorError from livisi import LivisiEvent, Websocket from livisi.aiolivisi import AioLivisi from livisi.errors import TokenExpiredException from homea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/livisi/__init__.py
homeassistant/components/livisi/__init__.py
"""The Livisi Smart Home integration.""" from __future__ import annotations from typing import Final from aiohttp import ClientConnectorError from livisi.aiolivisi import AioLivisi from homeassistant import core from homeassistant.const import Platform 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/livisi/entity.py
homeassistant/components/livisi/entity.py
"""Code to handle a Livisi switches.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from livisi.const import CAPABILITY_MAP from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher 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/livisi/climate.py
homeassistant/components/livisi/climate.py
"""Code to handle a Livisi Virtual Climate Control.""" from __future__ import annotations from typing import Any from livisi.const import CAPABILITY_CONFIG from homeassistant.components.climate import ( ClimateEntity, ClimateEntityFeature, HVACMode, ) from homeassistant.const import ATTR_TEMPERATURE, Un...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/livisi/config_flow.py
homeassistant/components/livisi/config_flow.py
"""Config flow for Livisi Home Assistant.""" from __future__ import annotations from contextlib import suppress from typing import Any from aiohttp import ClientConnectorError from livisi import errors as livisi_errors from livisi.aiolivisi import AioLivisi import voluptuous as vol from homeassistant.config_entries...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cmus/media_player.py
homeassistant/components/cmus/media_player.py
"""Support for interacting with and controlling the cmus music player.""" from __future__ import annotations import logging from typing import Any from pycmus import exceptions, remote import voluptuous as vol from homeassistant.components.media_player import ( PLATFORM_SCHEMA as MEDIA_PLAYER_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/cmus/__init__.py
homeassistant/components/cmus/__init__.py
"""The cmus 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/matrix/services.py
homeassistant/components/matrix/services.py
"""The Matrix bot component.""" from __future__ import annotations from typing import TYPE_CHECKING import voluptuous as vol from homeassistant.components.notify import ATTR_DATA, ATTR_MESSAGE, ATTR_TARGET from homeassistant.core import HomeAssistant, ServiceCall, callback from homeassistant.helpers import config_v...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/matrix/const.py
homeassistant/components/matrix/const.py
"""Constants for the Matrix integration.""" DOMAIN = "matrix" SERVICE_SEND_MESSAGE = "send_message" SERVICE_REACT = "react" FORMAT_HTML = "html" FORMAT_TEXT = "text" ATTR_FORMAT = "format" # optional message format ATTR_IMAGES = "images" # optional images ATTR_THREAD_ID = "thread_id" # optional thread id ATTR_R...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/matrix/__init__.py
homeassistant/components/matrix/__init__.py
"""The Matrix bot component.""" from __future__ import annotations import asyncio from collections.abc import Sequence import logging import mimetypes import os import re from typing import Any, Final, NewType, Required, TypedDict import aiofiles.os from nio import AsyncClient, Event, MatrixRoom from nio.events.room...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/matrix/notify.py
homeassistant/components/matrix/notify.py
"""Support for Matrix notifications.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.components.notify import ( ATTR_DATA, ATTR_MESSAGE, ATTR_TARGET, PLATFORM_SCHEMA as NOTIFY_PLATFORM_SCHEMA, BaseNotificationService, ) 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/supla/cover.py
homeassistant/components/supla/cover.py
"""Support for SUPLA covers - curtains, rollershutters, entry gate etc.""" from __future__ import annotations import logging from pprint import pformat from typing import Any from homeassistant.components.cover import ATTR_POSITION, CoverDeviceClass, CoverEntity from homeassistant.core import HomeAssistant from home...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/supla/switch.py
homeassistant/components/supla/switch.py
"""Support for SUPLA switch.""" from __future__ import annotations import logging from pprint import pformat from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback 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/supla/__init__.py
homeassistant/components/supla/__init__.py
"""Support for Supla devices.""" from __future__ import annotations import asyncio from datetime import timedelta import logging from asyncpysupla import SuplaAPI import voluptuous as vol from homeassistant.const import CONF_ACCESS_TOKEN, Platform from homeassistant.core import HomeAssistant from homeassistant.help...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false