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/islamic_prayer_times/const.py
homeassistant/components/islamic_prayer_times/const.py
"""Constants for the Islamic Prayer component.""" from typing import Final DOMAIN: Final = "islamic_prayer_times" NAME: Final = "Islamic Prayer Times" CONF_CALC_METHOD: Final = "calculation_method" CALC_METHODS: Final = [ "jafari", "karachi", "isna", "mwl", "makkah", "egypt", "tehran", ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/islamic_prayer_times/coordinator.py
homeassistant/components/islamic_prayer_times/coordinator.py
"""Coordinator for the Islamic prayer times integration.""" from __future__ import annotations from datetime import date, datetime, timedelta import logging from typing import Any, cast from prayer_times_calculator_offline import PrayerTimesCalculator from homeassistant.config_entries import ConfigEntry from homeas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/islamic_prayer_times/sensor.py
homeassistant/components/islamic_prayer_times/sensor.py
"""Platform to retrieve Islamic prayer times information for Home Assistant.""" from datetime import datetime from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry 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/islamic_prayer_times/__init__.py
homeassistant/components/islamic_prayer_times/__init__.py
"""The islamic_prayer_times component.""" from __future__ import annotations import logging from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE, Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import entity_registry as er from .coordinator import ( IslamicPra...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/islamic_prayer_times/config_flow.py
homeassistant/components/islamic_prayer_times/config_flow.py
"""Config flow for Islamic Prayer Times integration.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlow, ) from homeassistant.const import CONF_LATITUDE, CONF_LOCATION...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ld2410_ble/models.py
homeassistant/components/ld2410_ble/models.py
"""The ld2410 ble integration models.""" from __future__ import annotations from dataclasses import dataclass from ld2410_ble import LD2410BLE from homeassistant.config_entries import ConfigEntry from .coordinator import LD2410BLECoordinator type LD2410BLEConfigEntry = ConfigEntry[LD2410BLEData] @dataclass clas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ld2410_ble/binary_sensor.py
homeassistant/components/ld2410_ble/binary_sensor.py
"""LD2410 BLE integration binary sensor platform.""" from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import device_registry as dr 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/ld2410_ble/const.py
homeassistant/components/ld2410_ble/const.py
"""Constants for the LD2410 BLE integration.""" DOMAIN = "ld2410_ble" LOCAL_NAMES = {"HLK-LD2410B"}
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ld2410_ble/coordinator.py
homeassistant/components/ld2410_ble/coordinator.py
"""Data coordinator for receiving LD2410B updates.""" from __future__ import annotations from datetime import datetime import logging import time from typing import TYPE_CHECKING from ld2410_ble import LD2410BLE, LD2410BLEState from homeassistant.core import CALLBACK_TYPE, HassJob, HomeAssistant, callback 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/ld2410_ble/sensor.py
homeassistant/components/ld2410_ble/sensor.py
"""LD2410 BLE integration sensor platform.""" from ld2410_ble import LD2410BLE from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import EntityCategory, UnitOfLength from homeassistant.core import HomeAss...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ld2410_ble/__init__.py
homeassistant/components/ld2410_ble/__init__.py
"""The LD2410 BLE integration.""" import logging from bleak_retry_connector import ( BleakError, close_stale_connections_by_address, get_device, ) from ld2410_ble import LD2410BLE from homeassistant.components import bluetooth from homeassistant.components.bluetooth.match import ADDRESS, BluetoothCallbac...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ld2410_ble/config_flow.py
homeassistant/components/ld2410_ble/config_flow.py
"""Config flow for LD2410BLE integration.""" from __future__ import annotations import logging from typing import Any from bluetooth_data_tools import human_readable_name from ld2410_ble import BLEAK_EXCEPTIONS, LD2410BLE import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothService...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/discord/const.py
homeassistant/components/discord/const.py
"""Constants for the Discord integration.""" from typing import Final from homeassistant.const import CONF_URL DEFAULT_NAME = "Discord" DOMAIN: Final = "discord" URL_PLACEHOLDER = {CONF_URL: "https://www.home-assistant.io/integrations/discord"} DATA_HASS_CONFIG = "discord_hass_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/discord/__init__.py
homeassistant/components/discord/__init__.py
"""The discord integration.""" from aiohttp.client_exceptions import ClientConnectorError import nextcord from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_TOKEN, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFaile...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/discord/notify.py
homeassistant/components/discord/notify.py
"""Discord platform for notify component.""" from __future__ import annotations from io import BytesIO import logging import os.path from typing import Any, cast import aiohttp import nextcord from nextcord.abc import Messageable from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, Base...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/discord/config_flow.py
homeassistant/components/discord/config_flow.py
"""Config flow for Discord integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from aiohttp.client_exceptions import ClientConnectorError import nextcord import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/locative/device_tracker.py
homeassistant/components/locative/device_tracker.py
"""Support for the Locative platform.""" from homeassistant.components.device_tracker import TrackerEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/locative/const.py
homeassistant/components/locative/const.py
"""Const for Locative.""" DOMAIN = "locative"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/locative/__init__.py
homeassistant/components/locative/__init__.py
"""Support for Locative.""" from __future__ import annotations from http import HTTPStatus import logging from aiohttp import web import voluptuous as vol from homeassistant.components import webhook from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_ID, ATTR_LATITUD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/locative/config_flow.py
homeassistant/components/locative/config_flow.py
"""Config flow for Locative.""" from homeassistant.helpers import config_entry_flow from .const import DOMAIN config_entry_flow.register_webhook_flow( DOMAIN, "Locative Webhook", {"docs_url": "https://www.home-assistant.io/integrations/locative/"}, )
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/push/camera.py
homeassistant/components/push/camera.py
"""Camera platform that receives images through HTTP POST.""" from __future__ import annotations import asyncio from collections import deque from datetime import timedelta import logging from typing import cast from aiohttp import web import voluptuous as vol from homeassistant.components import webhook 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/push/__init__.py
homeassistant/components/push/__init__.py
"""The push 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/coolmaster/binary_sensor.py
homeassistant/components/coolmaster/binary_sensor.py
"""Binary Sensor platform for CoolMasterNet integration.""" from __future__ import annotations from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import EntityCategory from homeassistant.core import Ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/const.py
homeassistant/components/coolmaster/const.py
"""Constants for the Coolmaster integration.""" DOMAIN = "coolmaster" DEFAULT_PORT = 10102 CONF_SUPPORTED_MODES = "supported_modes" CONF_SWING_SUPPORT = "swing_support" CONF_SEND_WAKEUP_PROMPT = "send_wakeup_prompt" MAX_RETRIES = 3 BACKOFF_BASE_DELAY = 2
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/coordinator.py
homeassistant/components/coolmaster/coordinator.py
"""DataUpdateCoordinator for coolmaster integration.""" from __future__ import annotations import asyncio import logging from pycoolmasternet_async import CoolMasterNet from pycoolmasternet_async.coolmasternet import CoolMasterNetUnit from homeassistant.components.climate import SCAN_INTERVAL from homeassistant.con...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/sensor.py
homeassistant/components/coolmaster/sensor.py
"""Sensor platform for CoolMasterNet integration.""" from __future__ import annotations from homeassistant.components.sensor import SensorEntity, SensorEntityDescription from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddCon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/__init__.py
homeassistant/components/coolmaster/__init__.py
"""The Coolmaster integration.""" from pycoolmasternet_async import CoolMasterNet from homeassistant.const import CONF_HOST, CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers import device_registry as dr 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/coolmaster/entity.py
homeassistant/components/coolmaster/entity.py
"""Base entity for Coolmaster integration.""" from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from . import CoolmasterDataUpdateCoordinator from .const import DOMAIN class CoolmasterEntity(Coo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/button.py
homeassistant/components/coolmaster/button.py
"""Button platform for CoolMasterNet integration.""" from __future__ import annotations from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddCon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/climate.py
homeassistant/components/coolmaster/climate.py
"""CoolMasterNet platform to control of CoolMasterNet Climate Devices.""" from __future__ import annotations import logging from typing import Any from pycoolmasternet_async import SWING_MODES from homeassistant.components.climate import ( FAN_AUTO, FAN_HIGH, FAN_LOW, FAN_MEDIUM, ClimateEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/coolmaster/config_flow.py
homeassistant/components/coolmaster/config_flow.py
"""Config flow to configure Coolmaster.""" from __future__ import annotations from typing import Any from pycoolmasternet_async import CoolMasterNet import voluptuous as vol from homeassistant.components.climate import HVACMode from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/vodafone_station/diagnostics.py
homeassistant/components/vodafone_station/diagnostics.py
"""Diagnostics support for Vodafone Station.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from homeassistant.core import HomeAssistant from .coordinator import VodafoneConf...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/vodafone_station/device_tracker.py
homeassistant/components/vodafone_station/device_tracker.py
"""Support for Vodafone Station routers.""" from __future__ import annotations from homeassistant.components.device_tracker import ScannerEntity from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity_platform impor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/vodafone_station/const.py
homeassistant/components/vodafone_station/const.py
"""Vodafone Station constants.""" import logging _LOGGER = logging.getLogger(__package__) DOMAIN = "vodafone_station" SCAN_INTERVAL = 30 CONF_DEVICE_DETAILS = "device_details" DEVICE_URL = "device_url" DEVICE_TYPE = "device_type" DEFAULT_DEVICE_NAME = "Unknown device" DEFAULT_HOST = "192.168.1.1" DEFAULT_USERNAME ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/vodafone_station/coordinator.py
homeassistant/components/vodafone_station/coordinator.py
"""Support for Vodafone Station.""" from dataclasses import dataclass from datetime import datetime, timedelta from json.decoder import JSONDecodeError from typing import Any, cast from aiohttp import ClientSession from aiovodafone import exceptions from aiovodafone.api import VodafoneStationDevice from aiovodafone.m...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/vodafone_station/helpers.py
homeassistant/components/vodafone_station/helpers.py
"""Vodafone Station helpers.""" from typing import Any from homeassistant.components.device_tracker import DOMAIN as DEVICE_TRACKER_DOMAIN from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr, entity_registry as er 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/vodafone_station/utils.py
homeassistant/components/vodafone_station/utils.py
"""Utils for Vodafone Station.""" from aiohttp import ClientSession, CookieJar from homeassistant.core import HomeAssistant from homeassistant.helpers import aiohttp_client async def async_client_session(hass: HomeAssistant) -> ClientSession: """Return a new aiohttp session.""" return aiohttp_client.async_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/vodafone_station/sensor.py
homeassistant/components/vodafone_station/sensor.py
"""Vodafone Station sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typing import Final from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) 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/vodafone_station/__init__.py
homeassistant/components/vodafone_station/__init__.py
"""Vodafone Station integration.""" from aiohttp import ClientSession, CookieJar from aiovodafone.models import get_device_type from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from .const import _LOGGER, CONF_DEVICE_DETAILS, DEVICE_TYPE, DEVICE_URL from .coordinator 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/vodafone_station/button.py
homeassistant/components/vodafone_station/button.py
"""Vodafone Station buttons.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from json.decoder import JSONDecodeError from typing import Any, Final from aiovodafone.exceptions import ( AlreadyLogged, CannotAuthenticate, CannotConnect, Gener...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/vodafone_station/config_flow.py
homeassistant/components/vodafone_station/config_flow.py
"""Config flow for Vodafone Station integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from aiovodafone import exceptions as aiovodafone_exceptions from aiovodafone.models import get_device_type, init_device_class import voluptuous as vol 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/huisbaasje/const.py
homeassistant/components/huisbaasje/const.py
"""Constants for the EnergyFlip integration.""" from energyflip.const import ( SOURCE_TYPE_ELECTRICITY, SOURCE_TYPE_ELECTRICITY_IN, SOURCE_TYPE_ELECTRICITY_IN_LOW, SOURCE_TYPE_ELECTRICITY_OUT, SOURCE_TYPE_ELECTRICITY_OUT_LOW, SOURCE_TYPE_GAS, ) DOMAIN = "huisbaasje" """Interval in seconds bet...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huisbaasje/coordinator.py
homeassistant/components/huisbaasje/coordinator.py
"""The EnergyFlip integration.""" import asyncio from datetime import timedelta import logging from typing import Any from energyflip import EnergyFlip, EnergyFlipException from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huisbaasje/sensor.py
homeassistant/components/huisbaasje/sensor.py
"""Platform for sensor integration.""" from __future__ import annotations from dataclasses import dataclass import logging from energyflip.const import ( SOURCE_TYPE_ELECTRICITY, SOURCE_TYPE_ELECTRICITY_IN, SOURCE_TYPE_ELECTRICITY_IN_LOW, SOURCE_TYPE_ELECTRICITY_OUT, SOURCE_TYPE_ELECTRICITY_OUT_L...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/huisbaasje/__init__.py
homeassistant/components/huisbaasje/__init__.py
"""The EnergyFlip integration.""" import logging from energyflip import EnergyFlip, EnergyFlipException from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssistant from .const import FETCH_TIMEOUT, SOURCE_TYPES from .coordinator import EnergyFlipConfigEntry, 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/huisbaasje/config_flow.py
homeassistant/components/huisbaasje/config_flow.py
"""Config flow for EnergyFlip integration.""" import logging from typing import Any from energyflip import EnergyFlip, EnergyFlipConnectionException, EnergyFlipException import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_ID, CONF_PASSWO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ibeacon/device_tracker.py
homeassistant/components/ibeacon/device_tracker.py
"""Support for tracking iBeacon devices.""" from __future__ import annotations from ibeacon_ble import iBeaconAdvertisement from homeassistant.components.device_tracker import SourceType from homeassistant.components.device_tracker.config_entry import BaseTrackerEntity from homeassistant.const import STATE_HOME, STA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ibeacon/const.py
homeassistant/components/ibeacon/const.py
"""Constants for the iBeacon Tracker integration.""" from datetime import timedelta from homeassistant.components.bluetooth import ( FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS, ) from homeassistant.const import Platform DOMAIN = "ibeacon" PLATFORMS = [Platform.DEVICE_TRACKER, Platform.SENSOR] SIGNAL_IBEACON_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ibeacon/coordinator.py
homeassistant/components/ibeacon/coordinator.py
"""Tracking for iBeacon devices.""" from __future__ import annotations from datetime import datetime import logging import time from ibeacon_ble import ( APPLE_MFR_ID, IBEACON_FIRST_BYTE, IBEACON_SECOND_BYTE, iBeaconAdvertisement, iBeaconParser, ) from homeassistant.components import bluetooth 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/ibeacon/sensor.py
homeassistant/components/ibeacon/sensor.py
"""Support for iBeacon device sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from ibeacon_ble import iBeaconAdvertisement from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, 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/ibeacon/__init__.py
homeassistant/components/ibeacon/__init__.py
"""The iBeacon tracker integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceEntry from .const import DOMAIN, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ibeacon/entity.py
homeassistant/components/ibeacon/entity.py
"""Support for iBeacon device sensors.""" from __future__ import annotations from abc import abstractmethod from ibeacon_ble import iBeaconAdvertisement from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ibeacon/config_flow.py
homeassistant/components/ibeacon/config_flow.py
"""Config flow for iBeacon Tracker integration.""" from __future__ import annotations from typing import Any from uuid import UUID import voluptuous as vol from homeassistant.components import bluetooth from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlow...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/diagnostics.py
homeassistant/components/cookidoo/diagnostics.py
"""Diagnostics for the Cookidoo integration.""" from dataclasses import asdict 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 CookidooConfigEntry TO_REDACT =...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/todo.py
homeassistant/components/cookidoo/todo.py
"""Todo platform for the Cookidoo integration.""" from __future__ import annotations from typing import TYPE_CHECKING from cookidoo_api import ( CookidooAdditionalItem, CookidooException, CookidooIngredientItem, ) from homeassistant.components.todo import ( TodoItem, TodoItemStatus, TodoList...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/const.py
homeassistant/components/cookidoo/const.py
"""Constants for the Cookidoo integration.""" DOMAIN = "cookidoo" SUBSCRIPTION_MAP = { "NONE": "free", "TRIAL": "trial", "REGULAR": "premium", }
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/coordinator.py
homeassistant/components/cookidoo/coordinator.py
"""DataUpdateCoordinator for the Cookidoo integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import date, timedelta import logging from cookidoo_api import ( Cookidoo, CookidooAdditionalItem, CookidooAuthException, CookidooException, CookidooIngredi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/helpers.py
homeassistant/components/cookidoo/helpers.py
"""Helpers for cookidoo.""" from typing import Any from cookidoo_api import Cookidoo, CookidooConfig, get_localization_options from homeassistant.const import CONF_COUNTRY, CONF_EMAIL, CONF_LANGUAGE, CONF_PASSWORD from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/sensor.py
homeassistant/components/cookidoo/sensor.py
"""Sensor platform for the Cookidoo integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from enum import StrEnum from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/__init__.py
homeassistant/components/cookidoo/__init__.py
"""The Cookidoo integration.""" from __future__ import annotations import logging from cookidoo_api import CookidooAuthException, CookidooRequestException from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr, entity_registry as...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/entity.py
homeassistant/components/cookidoo/entity.py
"""Base entity for the Cookidoo integration.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import CookidooDataUpdateCoordinator cl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/cookidoo/calendar.py
homeassistant/components/cookidoo/calendar.py
"""Calendar platform for the Cookidoo integration.""" from __future__ import annotations from datetime import date, datetime, timedelta import logging from cookidoo_api import CookidooAuthException, CookidooException from cookidoo_api.types import CookidooCalendarDayRecipe from homeassistant.components.calendar 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/cookidoo/button.py
homeassistant/components/cookidoo/button.py
"""Support for Cookidoo buttons.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from cookidoo_api import Cookidoo, CookidooException from homeassistant.components.button import ButtonEntity, ButtonEntityDescription 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/cookidoo/config_flow.py
homeassistant/components/cookidoo/config_flow.py
"""Config flow for Cookidoo integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from cookidoo_api import ( CookidooAuthException, CookidooRequestException, get_country_options, get_localization_options, ) import voluptuous as vo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/volumio/media_player.py
homeassistant/components/volumio/media_player.py
"""Volumio Platform. Volumio rest API: https://volumio.github.io/docs/API/REST_API.html """ from __future__ import annotations from datetime import timedelta import json from typing import Any from homeassistant.components.media_player import ( BrowseMedia, MediaPlayerEntity, MediaPlayerEntityFeature, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/volumio/browse_media.py
homeassistant/components/volumio/browse_media.py
"""Support for media browsing.""" import json from homeassistant.components.media_player import ( BrowseError, BrowseMedia, MediaClass, MediaType, ) PLAYABLE_ITEM_TYPES = [ "folder", "song", "mywebradio", "webradio", "playlist", "cuesong", "remdisk", "cuefile", "fo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/volumio/const.py
homeassistant/components/volumio/const.py
"""Constants for the Volumio integration.""" DOMAIN = "volumio" DATA_INFO = "info" DATA_VOLUMIO = "volumio"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/volumio/__init__.py
homeassistant/components/volumio/__init__.py
"""The Volumio integration.""" from pyvolumio import CannotConnectError, Volumio from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady 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/volumio/config_flow.py
homeassistant/components/volumio/config_flow.py
"""Config flow for Volumio integration.""" from __future__ import annotations import logging from typing import Any from pyvolumio import CannotConnectError, Volumio import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_ID, CON...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/common.py
homeassistant/components/elmax/common.py
"""Elmax integration common classes and utilities.""" from __future__ import annotations import ssl from elmax_api.model.panel import PanelEntry from packaging import version from .const import ELMAX_LOCAL_API_PATH, MIN_APIV2_SUPPORTED_VERSION def get_direct_api_url(host: str, port: int, use_ssl: bool) -> str: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/cover.py
homeassistant/components/elmax/cover.py
"""Elmax cover platform.""" from __future__ import annotations import logging from typing import Any from elmax_api.model.command import CoverCommand from elmax_api.model.cover_status import CoverStatus from homeassistant.components.cover import CoverEntity, CoverEntityFeature from homeassistant.core import HomeAss...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/switch.py
homeassistant/components/elmax/switch.py
"""Elmax switch platform.""" import asyncio import logging from typing import Any from elmax_api.model.command import SwitchCommand from elmax_api.model.panel import PanelStatus from homeassistant.components.switch import SwitchEntity 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/elmax/binary_sensor.py
homeassistant/components/elmax/binary_sensor.py
"""Elmax sensor platform.""" from __future__ import annotations from elmax_api.model.panel import PanelStatus from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/const.py
homeassistant/components/elmax/const.py
"""Constants for the elmax-cloud integration.""" from homeassistant.const import Platform DOMAIN = "elmax" CONF_ELMAX_USERNAME = "username" CONF_ELMAX_PASSWORD = "password" CONF_ELMAX_PANEL_ID = "panel_id" CONF_ELMAX_PANEL_LOCAL_ID = "panel_local_id" CONF_ELMAX_PANEL_REMOTE_ID = "panel_remote_id" CONF_ELMAX_PANEL_PIN...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/coordinator.py
homeassistant/components/elmax/coordinator.py
"""Coordinator for the elmax-cloud integration.""" from __future__ import annotations from asyncio import timeout from datetime import timedelta import logging from elmax_api.exceptions import ( ElmaxApiError, ElmaxBadLoginError, ElmaxBadPinError, ElmaxNetworkError, ElmaxPanelBusyError, ) from el...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/__init__.py
homeassistant/components/elmax/__init__.py
"""The elmax-cloud integration.""" from __future__ import annotations from elmax_api.exceptions import ElmaxBadLoginError from elmax_api.http import Elmax, ElmaxLocal, GenericElmax from elmax_api.model.panel import PanelEntry from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistant.core import Eve...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/entity.py
homeassistant/components/elmax/entity.py
"""Elmax integration common classes and utilities.""" from __future__ import annotations from elmax_api.model.endpoint import DeviceEndpoint from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/alarm_control_panel.py
homeassistant/components/elmax/alarm_control_panel.py
"""Elmax sensor platform.""" from __future__ import annotations from elmax_api.exceptions import ElmaxApiError from elmax_api.model.alarm_status import AlarmArmStatus, AlarmStatus from elmax_api.model.command import AreaCommand from elmax_api.model.panel import PanelStatus from homeassistant.components.alarm_control...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elmax/config_flow.py
homeassistant/components/elmax/config_flow.py
"""Config flow for elmax-cloud integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from elmax_api.exceptions import ElmaxBadLoginError, ElmaxBadPinError, ElmaxNetworkError from elmax_api.http import Elmax, ElmaxLocal, GenericElmax from elmax_ap...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ubus/device_tracker.py
homeassistant/components/ubus/device_tracker.py
"""Support for OpenWRT (ubus) routers.""" from __future__ import annotations import logging import re from openwrt.ubus import Ubus import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, PLATFORM_SCHEMA as DEVICE_TRACKER_PLATFORM_SCHEMA, DeviceSca...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ubus/__init__.py
homeassistant/components/ubus/__init__.py
"""The ubus 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/elvia/importer.py
homeassistant/components/elvia/importer.py
"""Importer for the Elvia integration.""" from __future__ import annotations from datetime import datetime, timedelta from typing import TYPE_CHECKING, cast from elvia import Elvia, error as ElviaError from homeassistant.components.recorder.models import ( StatisticData, StatisticMeanType, StatisticMeta...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elvia/const.py
homeassistant/components/elvia/const.py
"""Constants for the Elvia integration.""" from logging import getLogger DOMAIN = "elvia" LOGGER = getLogger(__package__) CONF_METERING_POINT_ID = "metering_point_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/elvia/__init__.py
homeassistant/components/elvia/__init__.py
"""The Elvia integration.""" from __future__ import annotations from datetime import datetime, timedelta from typing import TYPE_CHECKING from elvia import error as ElviaError from homeassistant.const import CONF_API_TOKEN from homeassistant.core import HomeAssistant from homeassistant.helpers.event import async_tr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/elvia/config_flow.py
homeassistant/components/elvia/config_flow.py
"""Config flow for Elvia integration.""" from __future__ import annotations from datetime import timedelta from typing import TYPE_CHECKING, Any from elvia import Elvia, error as ElviaError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/labs/models.py
homeassistant/components/labs/models.py
"""Data models for the Home Assistant Labs integration.""" from __future__ import annotations from dataclasses import dataclass, field from typing import TYPE_CHECKING, Self, TypedDict if TYPE_CHECKING: from homeassistant.helpers.storage import Store class EventLabsUpdatedData(TypedDict): """Event data for...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/labs/websocket_api.py
homeassistant/components/labs/websocket_api.py
"""Websocket API for the Home Assistant Labs integration.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.components.backup import async_get_manager from homeassistant.const import EVENT_LABS_UPDATED 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/labs/const.py
homeassistant/components/labs/const.py
"""Constants for the Home Assistant Labs integration.""" from __future__ import annotations from homeassistant.util.hass_dict import HassKey from .models import LabsData DOMAIN = "labs" STORAGE_KEY = "core.labs" STORAGE_VERSION = 1 LABS_DATA: HassKey[LabsData] = HassKey(DOMAIN)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/labs/helpers.py
homeassistant/components/labs/helpers.py
"""Helper functions for the Home Assistant Labs integration.""" from __future__ import annotations from collections.abc import Callable from homeassistant.const import EVENT_LABS_UPDATED from homeassistant.core import Event, HomeAssistant, callback from .const import LABS_DATA from .models import EventLabsUpdatedDa...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/labs/__init__.py
homeassistant/components/labs/__init__.py
"""The Home Assistant Labs integration. This integration provides preview features that can be toggled on/off by users. Integrations can register lab preview features in their manifest.json which will appear in the Home Assistant Labs UI for users to enable or disable. """ from __future__ import annotations import l...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todoist/todo.py
homeassistant/components/todoist/todo.py
"""A todo platform for Todoist.""" import asyncio import datetime from typing import Any, cast from todoist_api_python.models import Task from homeassistant.components.todo import ( TodoItem, TodoItemStatus, TodoListEntity, TodoListEntityFeature, ) from homeassistant.config_entries import ConfigEntry...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todoist/const.py
homeassistant/components/todoist/const.py
"""Constants for the Todoist component.""" from typing import Final CONF_EXTRA_PROJECTS: Final = "custom_projects" CONF_PROJECT_DUE_DATE: Final = "due_date_days" CONF_PROJECT_LABEL_WHITELIST: Final = "labels" CONF_PROJECT_WHITELIST: Final = "include_projects" # Calendar Platform: Does this calendar event last all da...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todoist/coordinator.py
homeassistant/components/todoist/coordinator.py
"""DataUpdateCoordinator for the Todoist component.""" from datetime import timedelta import logging from todoist_api_python.api_async import TodoistAPIAsync from todoist_api_python.models import Label, Project, Section, Task from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAss...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todoist/__init__.py
homeassistant/components/todoist/__init__.py
"""The todoist integration.""" import datetime import logging from todoist_api_python.api_async import TodoistAPIAsync from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_TOKEN, Platform from homeassistant.core import HomeAssistant from .const import DOMAIN from .coordinator 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/todoist/types.py
homeassistant/components/todoist/types.py
"""Types for the Todoist component.""" from __future__ import annotations from datetime import datetime from typing import TypedDict class DueDate(TypedDict): """Dict representing a due date in a todoist api response.""" date: str is_recurring: bool lang: str string: str timezone: str | Non...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todoist/calendar.py
homeassistant/components/todoist/calendar.py
"""Support for Todoist task management (https://todoist.com).""" from __future__ import annotations from datetime import date, datetime, timedelta import logging from typing import Any import uuid from todoist_api_python.api_async import TodoistAPIAsync from todoist_api_python.endpoints import get_sync_url from todo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todoist/config_flow.py
homeassistant/components/todoist/config_flow.py
"""Config flow for todoist integration.""" from http import HTTPStatus import logging from typing import Any from requests.exceptions import HTTPError from todoist_api_python.api_async import TodoistAPIAsync import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult 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/reddit/sensor.py
homeassistant/components/reddit/sensor.py
"""Support for Reddit.""" from __future__ import annotations from datetime import timedelta import logging import praw import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) from homeassistant.const import ( ATTR_ID, CONF_CLI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reddit/__init__.py
homeassistant/components/reddit/__init__.py
"""Reddit 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/lidarr/const.py
homeassistant/components/lidarr/const.py
"""Constants for Lidarr.""" import logging from typing import Final from homeassistant.const import UnitOfInformation BYTE_SIZES = [ UnitOfInformation.BYTES, UnitOfInformation.KILOBYTES, UnitOfInformation.MEGABYTES, UnitOfInformation.GIGABYTES, UnitOfInformation.TERABYTES, UnitOfInformation.P...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false