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/camera/webrtc.py
homeassistant/components/camera/webrtc.py
"""Helper for WebRTC support.""" from __future__ import annotations from abc import ABC, abstractmethod import asyncio from collections.abc import Awaitable, Callable from dataclasses import asdict, dataclass, field from functools import cache, partial, wraps import logging from typing import TYPE_CHECKING, Any 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/rachio/webhooks.py
homeassistant/components/rachio/webhooks.py
"""Webhooks used by rachio.""" from __future__ import annotations from aiohttp import web from homeassistant.components import cloud, webhook from homeassistant.const import CONF_WEBHOOK_ID, URL_API from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_s...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rachio/switch.py
homeassistant/components/rachio/switch.py
"""Integration with the Rachio Iro sprinkler system controller.""" from abc import abstractmethod from contextlib import suppress from datetime import timedelta import logging from typing import Any import voluptuous as vol from homeassistant.components.switch import SwitchEntity from homeassistant.const import 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/rachio/binary_sensor.py
homeassistant/components/rachio/binary_sensor.py
"""Integration with the Rachio Iro sprinkler system controller.""" from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rachio/const.py
homeassistant/components/rachio/const.py
"""Constants for rachio.""" DEFAULT_NAME = "Rachio" DOMAIN = "rachio" CONF_CUSTOM_URL = "hass_url_override" # Manual run length CONF_MANUAL_RUN_MINS = "manual_run_mins" DEFAULT_MANUAL_RUN_MINS = 10 # Slope constants SLOPE_FLAT = "ZERO_THREE" SLOPE_SLIGHT = "FOUR_SIX" SLOPE_MODERATE = "SEVEN_TWELVE" SLOPE_STEEP = "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/rachio/coordinator.py
homeassistant/components/rachio/coordinator.py
"""Coordinator object for the Rachio integration.""" from datetime import datetime, timedelta import logging from operator import itemgetter from typing import Any from rachiopy import Rachio from requests.exceptions import Timeout from homeassistant.config_entries import ConfigEntry 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/rachio/__init__.py
homeassistant/components/rachio/__init__.py
"""Integration with the Rachio Iro sprinkler system controller.""" import logging import secrets from rachiopy import Rachio from requests.exceptions import ConnectTimeout from homeassistant.components import cloud from homeassistant.const import CONF_API_KEY, CONF_WEBHOOK_ID, Platform from homeassistant.core import...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rachio/entity.py
homeassistant/components/rachio/entity.py
"""Adapter to wrap the rachiopy api for home assistant.""" from abc import abstractmethod from typing import Any from homeassistant.core import callback from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import 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/rachio/calendar.py
homeassistant/components/rachio/calendar.py
"""Rachio smart hose timer calendar.""" from datetime import datetime, timedelta import logging from typing import Any from homeassistant.components.calendar import ( CalendarEntity, CalendarEntityFeature, CalendarEvent, ) from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/rachio/device.py
homeassistant/components/rachio/device.py
"""Adapter to wrap the rachiopy api for home assistant.""" from __future__ import annotations from http import HTTPStatus import logging from typing import Any from rachiopy import Rachio import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import EVENT_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/rachio/config_flow.py
homeassistant/components/rachio/config_flow.py
"""Config flow for Rachio integration.""" from __future__ import annotations from http import HTTPStatus import logging from typing import Any from rachiopy import Rachio from requests.exceptions import ConnectTimeout import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/idasen_desk/cover.py
homeassistant/components/idasen_desk/cover.py
"""Idasen Desk integration cover platform.""" from __future__ import annotations from typing import Any from bleak.exc import BleakError from homeassistant.components.cover import ( ATTR_POSITION, CoverDeviceClass, CoverEntity, CoverEntityFeature, ) from homeassistant.core import HomeAssistant from ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/idasen_desk/const.py
homeassistant/components/idasen_desk/const.py
"""Constants for the Idasen Desk integration.""" DOMAIN = "idasen_desk" EXPECTED_SERVICE_UUID = "99fa0001-338a-1024-8a49-009c0215f78a"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/idasen_desk/coordinator.py
homeassistant/components/idasen_desk/coordinator.py
"""Coordinator for the IKEA Idasen Desk integration.""" from __future__ import annotations import logging from idasen_ha import Desk from homeassistant.components import bluetooth from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.d...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/idasen_desk/sensor.py
homeassistant/components/idasen_desk/sensor.py
"""Representation of Idasen Desk sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const 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/idasen_desk/__init__.py
homeassistant/components/idasen_desk/__init__.py
"""The IKEA Idasen Desk integration.""" from __future__ import annotations import logging from bleak.exc import BleakError from idasen_ha.errors import AuthFailedError from homeassistant.components import bluetooth from homeassistant.components.bluetooth.match import ADDRESS, BluetoothCallbackMatcher from homeassis...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/idasen_desk/entity.py
homeassistant/components/idasen_desk/entity.py
"""Base entity for Idasen Desk.""" from __future__ import annotations from homeassistant.helpers import device_registry as dr from homeassistant.helpers.update_coordinator import CoordinatorEntity from .coordinator import IdasenDeskCoordinator class IdasenDeskEntity(CoordinatorEntity[IdasenDeskCoordinator]): "...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/idasen_desk/button.py
homeassistant/components/idasen_desk/button.py
"""Representation of Idasen Desk buttons.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any, Final from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.const import EntityCategory 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/idasen_desk/config_flow.py
homeassistant/components/idasen_desk/config_flow.py
"""Config flow for Idasen Desk integration.""" from __future__ import annotations import logging from typing import Any from bleak.exc import BleakError from bluetooth_data_tools import human_readable_name from idasen_ha import Desk from idasen_ha.errors import AuthFailedError import voluptuous as vol 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/youtube/api.py
homeassistant/components/youtube/api.py
"""API for YouTube bound to Home Assistant OAuth.""" from youtubeaio.types import AuthScope from youtubeaio.youtube import YouTube from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow from homeassistant.helpers.aiohtt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/youtube/diagnostics.py
homeassistant/components/youtube/diagnostics.py
"""Diagnostics support for YouTube.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import ATTR_DESCRIPTION, ATTR_LATEST_VIDEO, COORDINATOR, DOMAIN from .coordinator import YouTubeDataUpdateCoo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/youtube/application_credentials.py
homeassistant/components/youtube/application_credentials.py
"""application_credentials platform for YouTube.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: """Return authorization server.""" return Aut...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/youtube/const.py
homeassistant/components/youtube/const.py
"""Constants for YouTube integration.""" import logging DEFAULT_ACCESS = ["https://www.googleapis.com/auth/youtube.readonly"] DOMAIN = "youtube" MANUFACTURER = "Google, Inc." CHANNEL_CREATION_HELP_URL = "https://support.google.com/youtube/answer/1646861" CONF_CHANNELS = "channels" CONF_UPLOAD_PLAYLIST = "upload_play...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/youtube/coordinator.py
homeassistant/components/youtube/coordinator.py
"""DataUpdateCoordinator for the YouTube integration.""" from __future__ import annotations from datetime import timedelta from typing import Any from youtubeaio.helper import first from youtubeaio.types import UnauthorizedError, YouTubeBackendError from homeassistant.config_entries import ConfigEntry 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/youtube/sensor.py
homeassistant/components/youtube/sensor.py
"""Support for YouTube 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, SensorStateClass, ) from homeassistant.config_entries 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/youtube/__init__.py
homeassistant/components/youtube/__init__.py
"""Support for YouTube.""" from __future__ import annotations from aiohttp.client_exceptions import ClientError, ClientResponseError from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import 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/youtube/entity.py
homeassistant/components/youtube/entity.py
"""Entity representing a YouTube account.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import ATTR_TITLE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/youtube/config_flow.py
homeassistant/components/youtube/config_flow.py
"""Config flow for YouTube integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import voluptuous as vol from youtubeaio.types import AuthScope, ForbiddenError from youtubeaio.youtube import YouTube from homeassistant.config_entries 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/indianamichiganpower/__init__.py
homeassistant/components/indianamichiganpower/__init__.py
"""Virtual integration: Indiana Michigan Power."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/egauge/const.py
homeassistant/components/egauge/const.py
"""Constants for the eGauge integration.""" import logging DOMAIN = "egauge" LOGGER = logging.getLogger(__package__) MANUFACTURER = "eGauge Systems" MODEL = "eGauge Energy Monitor" COORDINATOR_UPDATE_INTERVAL_SECONDS = 30
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/egauge/coordinator.py
homeassistant/components/egauge/coordinator.py
"""Data update coordinator for eGauge energy monitors.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta from egauge_async.exceptions import ( EgaugeAuthenticationError, EgaugeException, EgaugePermissionError, ) from egauge_async.json.client import Ega...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/egauge/sensor.py
homeassistant/components/egauge/sensor.py
"""Sensor platform for eGauge energy monitors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from egauge_async.json.models import RegisterType from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescrip...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/egauge/__init__.py
homeassistant/components/egauge/__init__.py
"""Integration for eGauge energy monitors.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr from .const import DOMAIN, MANUFACTURER, MODEL from .coordinator import EgaugeConfigEntry, Ega...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/egauge/entity.py
homeassistant/components/egauge/entity.py
"""Base entity for the eGauge integration.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN, MANUFACTURER, MODEL from .coordinator import EgaugeDataCoordinator class Eg...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/egauge/config_flow.py
homeassistant/components/egauge/config_flow.py
"""Config flow to configure the eGauge integration.""" from __future__ import annotations from typing import Any from egauge_async.exceptions import EgaugeAuthenticationError, EgaugePermissionError from egauge_async.json.client import EgaugeJsonClient from httpx import ConnectError import voluptuous as vol 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/coautilities/__init__.py
homeassistant/components/coautilities/__init__.py
"""Virtual integration: City of Austin Utilities."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/syncthru/diagnostics.py
homeassistant/components/syncthru/diagnostics.py
"""Diagnostics support for Syncthru.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import SyncThruConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: SyncThruConfigEntry ) -> dict[str, Any]: """...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/syncthru/binary_sensor.py
homeassistant/components/syncthru/binary_sensor.py
"""Support for Samsung Printers with SyncThru web interface.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from pysyncthru import SyncThru, SyncthruState from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/syncthru/const.py
homeassistant/components/syncthru/const.py
"""Samsung SyncThru constants.""" DEFAULT_NAME_TEMPLATE = "Samsung {}" DEFAULT_MODEL = "Printer" DOMAIN = "syncthru"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/syncthru/coordinator.py
homeassistant/components/syncthru/coordinator.py
"""Coordinator for Syncthru integration.""" import asyncio from datetime import timedelta import logging from pysyncthru import ConnectionMode, SyncThru from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_URL 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/syncthru/sensor.py
homeassistant/components/syncthru/sensor.py
"""Support for Samsung Printers with SyncThru web interface.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any, cast from pysyncthru import SyncThru, SyncthruState from homeassistant.components.sensor import SensorEntity, 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/syncthru/__init__.py
homeassistant/components/syncthru/__init__.py
"""The syncthru component.""" from __future__ import annotations from pysyncthru import SyncThruAPINotSupported from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import SyncThruConfigEntry, SyncthruCoordinator PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/syncthru/entity.py
homeassistant/components/syncthru/entity.py
"""Base class for Syncthru entities.""" from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN 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/syncthru/config_flow.py
homeassistant/components/syncthru/config_flow.py
"""Config flow for Samsung SyncThru.""" import re from typing import TYPE_CHECKING, Any from urllib.parse import urlparse from pysyncthru import ConnectionMode, SyncThru, SyncThruAPINotSupported from url_normalize import url_normalize import voluptuous as vol from homeassistant.config_entries import ConfigFlow, 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/launch_library/diagnostics.py
homeassistant/components/launch_library/diagnostics.py
"""Diagnostics support for Launch Library.""" from __future__ import annotations from typing import Any from pylaunches.types import Event, Launch from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/launch_library/const.py
homeassistant/components/launch_library/const.py
"""Constants for launch_library.""" DOMAIN = "launch_library"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/launch_library/sensor.py
homeassistant/components/launch_library/sensor.py
"""Support for Launch Library sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typing import Any from pylaunches.types import Event, Launch 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/launch_library/__init__.py
homeassistant/components/launch_library/__init__.py
"""The launch_library component.""" from __future__ import annotations from datetime import timedelta import logging from typing import TypedDict from pylaunches import PyLaunches, PyLaunchesError from pylaunches.types import Launch, StarshipResponse from homeassistant.config_entries import ConfigEntry 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/launch_library/config_flow.py
homeassistant/components/launch_library/config_flow.py
"""Config flow to configure launch library component.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class LaunchLibraryFlowHandler(ConfigFlow, domain=DOMAIN): """Config flow for Launch Library compon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/arve/const.py
homeassistant/components/arve/const.py
"""Constants for the Arve integration.""" import logging DOMAIN = "arve" 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/arve/coordinator.py
homeassistant/components/arve/coordinator.py
"""Coordinator for the Arve integration.""" from __future__ import annotations from datetime import timedelta from asyncarve import ( Arve, ArveConnectionError, ArveDeviceInfo, ArveDevices, ArveError, ArveSensProData, ) from homeassistant.config_entries import ConfigEntry 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/arve/sensor.py
homeassistant/components/arve/sensor.py
"""Sensor platform for Arve devices.""" from collections.abc import Callable from dataclasses import dataclass from asyncarve import ArveSensProData from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const 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/arve/__init__.py
homeassistant/components/arve/__init__.py
"""The Arve integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import ArveConfigEntry, ArveCoordinator PLATFORMS: list[Platform] = [Platform.SENSOR] async def async_setup_entry(hass: HomeAssistant, entry: ArveC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/arve/entity.py
homeassistant/components/arve/entity.py
"""Arve base entity.""" from __future__ import annotations from asyncarve import ArveDeviceInfo from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription 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/arve/config_flow.py
homeassistant/components/arve/config_flow.py
"""Config flow for Arve integration.""" from __future__ import annotations import logging from typing import Any from asyncarve import Arve, ArveConnectionError, ArveCustomer import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_ACCESS_TO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/atag/coordinator.py
homeassistant/components/atag/coordinator.py
"""The ATAG Integration.""" from asyncio import timeout from datetime import timedelta import logging from pyatag import AtagException, AtagOne from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession 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/atag/sensor.py
homeassistant/components/atag/sensor.py
"""Initialization of ATAG One sensor platform.""" from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.const import ( PERCENTAGE, UnitOfPressure, UnitOfTemperature, UnitOfTime, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_pla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/atag/__init__.py
homeassistant/components/atag/__init__.py
"""The ATAG Integration.""" from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import AtagConfigEntry, AtagDataUpdateCoordinator DOMAIN = "atag" PLATFORMS = [Platform.CLIMATE, Platform.SENSOR, Platform.WATER_HEATER] async def async_setup_entry(hass: 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/atag/entity.py
homeassistant/components/atag/entity.py
"""The ATAG Integration.""" from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from . import DOMAIN from .coordinator import AtagDataUpdateCoordinator class AtagEntity(CoordinatorEntity[AtagDataUpdateCoordinator]): """Defines a bas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/atag/water_heater.py
homeassistant/components/atag/water_heater.py
"""ATAG water heater component.""" from typing import Any from homeassistant.components.water_heater import ( STATE_ECO, STATE_PERFORMANCE, WaterHeaterEntity, WaterHeaterEntityFeature, ) from homeassistant.const import ATTR_TEMPERATURE, STATE_OFF, Platform, UnitOfTemperature from homeassistant.core 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/atag/climate.py
homeassistant/components/atag/climate.py
"""Initialization of ATAG One climate platform.""" from __future__ import annotations from typing import Any from homeassistant.components.climate import ( PRESET_AWAY, PRESET_BOOST, ClimateEntity, ClimateEntityFeature, HVACAction, HVACMode, ) from homeassistant.const import ATTR_TEMPERATURE ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/atag/config_flow.py
homeassistant/components/atag/config_flow.py
"""Config flow for the Atag component.""" from typing import Any import pyatag import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.aiohttp_client import async_get_clientsession from . import DO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ombi/const.py
homeassistant/components/ombi/const.py
"""Support for Ombi.""" from __future__ import annotations ATTR_SEASON = "season" CONF_URLBASE = "urlbase" DEFAULT_NAME = DOMAIN = "ombi" DEFAULT_PORT = 5000 DEFAULT_SEASON = "latest" DEFAULT_SSL = False DEFAULT_URLBASE = "" SERVICE_MOVIE_REQUEST = "submit_movie_request" SERVICE_MUSIC_REQUEST = "submit_music_reque...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ombi/sensor.py
homeassistant/components/ombi/sensor.py
"""Support for Ombi.""" from __future__ import annotations from datetime import timedelta import logging from pyombi import OmbiError from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ombi/__init__.py
homeassistant/components/ombi/__init__.py
"""Support for Ombi.""" import logging import pyombi import voluptuous as vol from homeassistant.const import ( ATTR_NAME, CONF_API_KEY, CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_USERNAME, Platform, ) from homeassistant.core import HomeAssistant, ServiceCall 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/thread/diagnostics.py
homeassistant/components/thread/diagnostics.py
"""Diagnostics support for Thread networks. When triaging Matter and HomeKit issues you often need to check for problems with the Thread network. This report helps spot and rule out: * Is the users border router visible at all? * Is the border router actually announcing any routes? The user could have a network boun...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thread/dataset_store.py
homeassistant/components/thread/dataset_store.py
"""Persistently store thread datasets.""" from __future__ import annotations from asyncio import Event, Task, wait import dataclasses from datetime import datetime import logging from typing import Any, cast from propcache.api import cached_property from python_otbr_api import tlv_parser from python_otbr_api.tlv_par...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thread/discovery.py
homeassistant/components/thread/discovery.py
"""The Thread integration.""" from __future__ import annotations from collections.abc import Callable import dataclasses import logging from typing import cast from python_otbr_api.mdns import StateBitmap from zeroconf import ( BadTypeInNameException, DNSPointer, ServiceListener, Zeroconf, instan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thread/websocket_api.py
homeassistant/components/thread/websocket_api.py
"""The thread websocket API.""" from __future__ import annotations from typing import Any from python_otbr_api.tlv_parser import TLVError import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant, callback from . import dataset_store, discovery @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/thread/const.py
homeassistant/components/thread/const.py
"""Constants for the Thread integration.""" DOMAIN = "thread"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/thread/__init__.py
homeassistant/components/thread/__init__.py
"""The Thread integration.""" from __future__ import annotations from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv from homeassistant.helpers.typing import ConfigType 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/thread/config_flow.py
homeassistant/components/thread/config_flow.py
"""Config flow for the Thread integration.""" from __future__ import annotations from typing import Any from homeassistant.components import onboarding from homeassistant.config_entries import ( DEFAULT_DISCOVERY_UNIQUE_ID, ConfigFlow, ConfigFlowResult, ) from homeassistant.helpers.service_info.zeroconf ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/usage_prediction/models.py
homeassistant/components/usage_prediction/models.py
"""Models for the usage prediction integration.""" from dataclasses import dataclass, field from datetime import datetime from homeassistant.util import dt as dt_util @dataclass class EntityUsagePredictions: """Prediction which entities are likely to be used in each time category.""" morning: list[str] = 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/usage_prediction/const.py
homeassistant/components/usage_prediction/const.py
"""Constants for the usage prediction integration.""" import asyncio from homeassistant.util.hass_dict import HassKey from .models import EntityUsageDataCache, EntityUsagePredictions DOMAIN = "usage_prediction" DATA_CACHE: HassKey[ dict[str, asyncio.Task[EntityUsagePredictions] | EntityUsageDataCache] ] = Hass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/usage_prediction/__init__.py
homeassistant/components/usage_prediction/__init__.py
"""The usage prediction integration.""" from __future__ import annotations import asyncio from datetime import timedelta from typing import Any from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv 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/usage_prediction/common_control.py
homeassistant/components/usage_prediction/common_control.py
"""Code to generate common control usage patterns.""" from __future__ import annotations from collections import Counter from collections.abc import Callable, Sequence from datetime import datetime, timedelta from functools import cache import logging from typing import Any, Literal, cast from sqlalchemy import sele...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainbird/switch.py
homeassistant/components/rainbird/switch.py
"""Support for Rain Bird Irrigation system LNK Wi-Fi Module.""" from __future__ import annotations import logging from typing import Any from pyrainbird.exceptions import RainbirdApiException, RainbirdDeviceBusyException 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/rainbird/number.py
homeassistant/components/rainbird/number.py
"""The number platform for rainbird.""" from __future__ import annotations import logging from pyrainbird.exceptions import RainbirdApiException, RainbirdDeviceBusyException from homeassistant.components.number import NumberEntity from homeassistant.const import UnitOfTime from homeassistant.core import 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/rainbird/binary_sensor.py
homeassistant/components/rainbird/binary_sensor.py
"""Support for Rain Bird Irrigation system LNK WiFi Module.""" from __future__ import annotations import logging from homeassistant.components.binary_sensor import ( BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform 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/rainbird/const.py
homeassistant/components/rainbird/const.py
"""Constants for rainbird.""" DOMAIN = "rainbird" MANUFACTURER = "Rain Bird" DEFAULT_TRIGGER_TIME_MINUTES = 6 CONF_SERIAL_NUMBER = "serial_number" CONF_IMPORTED_NAMES = "imported_names" ATTR_DURATION = "duration" TIMEOUT_SECONDS = 20
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainbird/coordinator.py
homeassistant/components/rainbird/coordinator.py
"""Update coordinators for rainbird.""" from __future__ import annotations import asyncio from dataclasses import dataclass import datetime import logging import aiohttp from pyrainbird.async_client import ( AsyncRainbirdController, RainbirdApiException, RainbirdDeviceBusyException, ) from pyrainbird.dat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainbird/sensor.py
homeassistant/components/rainbird/sensor.py
"""Support for Rain Bird Irrigation system LNK Wi-Fi Module.""" from __future__ import annotations import logging from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCall...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainbird/__init__.py
homeassistant/components/rainbird/__init__.py
"""Support for Rain Bird Irrigation system LNK WiFi Module.""" from __future__ import annotations import logging from typing import Any import aiohttp from pyrainbird.async_client import AsyncRainbirdClient, AsyncRainbirdController from pyrainbird.exceptions import RainbirdApiException, RainbirdAuthException 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/rainbird/types.py
homeassistant/components/rainbird/types.py
"""Types for Rain Bird integration.""" from __future__ import annotations from dataclasses import dataclass from typing import TYPE_CHECKING from pyrainbird.async_client import AsyncRainbirdController from pyrainbird.data import ModelAndVersion from homeassistant.config_entries import ConfigEntry if TYPE_CHECKING:...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainbird/calendar.py
homeassistant/components/rainbird/calendar.py
"""Rain Bird irrigation calendar.""" from __future__ import annotations from datetime import datetime import logging from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError 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/rainbird/config_flow.py
homeassistant/components/rainbird/config_flow.py
"""Config flow for Rain Bird.""" from __future__ import annotations import asyncio from collections.abc import Mapping import logging from typing import Any from pyrainbird.async_client import AsyncRainbirdClient, AsyncRainbirdController from pyrainbird.data import WifiParams from pyrainbird.exceptions import Rainbi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/delmarva/__init__.py
homeassistant/components/delmarva/__init__.py
"""Virtual integration: Delmarva Power."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sendgrid/__init__.py
homeassistant/components/sendgrid/__init__.py
"""The sendgrid 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/sendgrid/notify.py
homeassistant/components/sendgrid/notify.py
"""SendGrid notification service.""" from __future__ import annotations from http import HTTPStatus import logging from sendgrid import SendGridAPIClient import voluptuous as vol from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA as NOTIFY_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/panel_custom/__init__.py
homeassistant/components/panel_custom/__init__.py
"""Register a custom front end panel.""" from __future__ import annotations import logging import voluptuous as vol from homeassistant.components import frontend from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv from homeassistant.helpers.typing import ConfigType...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monarch_money/const.py
homeassistant/components/monarch_money/const.py
"""Constants for the Monarch Money integration.""" import logging DOMAIN = "monarch_money" LOGGER = logging.getLogger(__package__) CONF_MFA_SECRET = "mfa_secret" CONF_MFA_CODE = "mfa_code"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monarch_money/coordinator.py
homeassistant/components/monarch_money/coordinator.py
"""Data coordinator for monarch money.""" import asyncio from dataclasses import dataclass from datetime import datetime, timedelta from aiohttp import ClientResponseError from gql.transport.exceptions import TransportServerError from monarchmoney import LoginFailedException from typedmonarchmoney import TypedMonarch...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monarch_money/sensor.py
homeassistant/components/monarch_money/sensor.py
"""Sensor config - monarch money.""" from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typedmonarchmoney.models import MonarchAccount, MonarchCashflowSummary from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, 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/monarch_money/__init__.py
homeassistant/components/monarch_money/__init__.py
"""The Monarch Money integration.""" from __future__ import annotations from typedmonarchmoney import TypedMonarchMoney from homeassistant.const import CONF_TOKEN, Platform from homeassistant.core import HomeAssistant from .coordinator import MonarchMoneyConfigEntry, MonarchMoneyDataUpdateCoordinator PLATFORMS: li...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monarch_money/entity.py
homeassistant/components/monarch_money/entity.py
"""Monarch money entity definition.""" from typedmonarchmoney.models import MonarchAccount, MonarchCashflowSummary from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/monarch_money/config_flow.py
homeassistant/components/monarch_money/config_flow.py
"""Config flow for Monarch Money integration.""" from __future__ import annotations import logging from typing import Any from monarchmoney import LoginFailedException, RequireMFAException from monarchmoney.monarchmoney import SESSION_FILE from typedmonarchmoney import TypedMonarchMoney from typedmonarchmoney.models...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/kmtronic/switch.py
homeassistant/components/kmtronic/switch.py
"""KMtronic Switch integration.""" from typing import Any import urllib.parse from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallb...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/kmtronic/const.py
homeassistant/components/kmtronic/const.py
"""Constants for the kmtronic integration.""" DOMAIN = "kmtronic" CONF_REVERSE = "reverse" MANUFACTURER = "KMtronic"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/kmtronic/coordinator.py
homeassistant/components/kmtronic/coordinator.py
"""The kmtronic integration.""" import asyncio from datetime import timedelta import logging from aiohttp.client_exceptions import ClientConnectorError, ClientResponseError from pykmtronic.hub import KMTronicHubAPI from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform 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/kmtronic/__init__.py
homeassistant/components/kmtronic/__init__.py
"""The kmtronic integration.""" from pykmtronic.auth import Auth from pykmtronic.hub import KMTronicHubAPI from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import aiohttp_client from .coordinator import KMTronicC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false