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/marytts/tts.py
homeassistant/components/marytts/tts.py
"""Support for the MaryTTS service.""" from __future__ import annotations from speak2mary import MaryTTS import voluptuous as vol from homeassistant.components.tts import ( CONF_LANG, PLATFORM_SCHEMA as TTS_PLATFORM_SCHEMA, Provider, ) from homeassistant.const import CONF_EFFECT, CONF_HOST, CONF_PORT 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/marytts/__init__.py
homeassistant/components/marytts/__init__.py
"""Support for MaryTTS 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/random/binary_sensor.py
homeassistant/components/random/binary_sensor.py
"""Support for showing random states.""" from __future__ import annotations from collections.abc import Mapping from random import getrandbits from typing import Any import voluptuous as vol from homeassistant.components.binary_sensor import ( DEVICE_CLASSES_SCHEMA, PLATFORM_SCHEMA as BINARY_SENSOR_PLATFORM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/random/const.py
homeassistant/components/random/const.py
"""Constants for random helper.""" DOMAIN = "random" DEFAULT_MIN = 0 DEFAULT_MAX = 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/random/sensor.py
homeassistant/components/random/sensor.py
"""Support for showing random numbers.""" from __future__ import annotations from collections.abc import Mapping from random import randrange from typing import Any import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) 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/random/__init__.py
homeassistant/components/random/__init__.py
"""The random component.""" from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Set up a config entry.""" await hass.config_entries.async_forward_entry_setups( entry, (entry....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/random/config_flow.py
homeassistant/components/random/config_flow.py
"""Config flow for Random helper.""" from collections.abc import Callable, Coroutine, Mapping from enum import StrEnum from typing import Any, cast import voluptuous as vol from homeassistant.components.binary_sensor import BinarySensorDeviceClass from homeassistant.components.sensor import DEVICE_CLASS_UNITS, 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/kaiser_nienhaus/__init__.py
homeassistant/components/kaiser_nienhaus/__init__.py
"""Virtual integration: Kaiser Nienhaus."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/api.py
homeassistant/components/miele/api.py
"""API for Miele bound to Home Assistant OAuth.""" from typing import cast from aiohttp import ClientSession from pymiele import MIELE_API, AbstractAuth from homeassistant.helpers import config_entry_oauth2_flow class AsyncConfigEntryAuth(AbstractAuth): """Provide Miele authentication tied to an OAuth2 based 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/miele/diagnostics.py
homeassistant/components/miele/diagnostics.py
"""Diagnostics support for Miele.""" from __future__ import annotations import hashlib from typing import Any, cast from pymiele import completed_warnings from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry 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/miele/vacuum.py
homeassistant/components/miele/vacuum.py
"""Platform for Miele vacuum integration.""" from __future__ import annotations from dataclasses import dataclass from enum import IntEnum import logging from typing import Any, Final from aiohttp import ClientResponseError from pymiele import MieleEnum from homeassistant.components.vacuum import ( StateVacuumE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/application_credentials.py
homeassistant/components/miele/application_credentials.py
"""Application credentials platform for the Miele integration.""" from pymiele import OAUTH2_AUTHORIZE, OAUTH2_TOKEN from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant async def async_get_authorization_server(hass: HomeAssistant) -> Authoriz...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/services.py
homeassistant/components/miele/services.py
"""Services for Miele integration.""" from datetime import timedelta import logging from typing import cast from aiohttp import ClientResponseError import voluptuous as vol from homeassistant.const import ATTR_DEVICE_ID, ATTR_TEMPERATURE from homeassistant.core import ( HomeAssistant, ServiceCall, Servic...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/switch.py
homeassistant/components/miele/switch.py
"""Switch platform for Miele switch integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any, Final, cast from aiohttp import ClientResponseError from pymiele import MieleDevice from homeassistant.components.switc...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/binary_sensor.py
homeassistant/components/miele/binary_sensor.py
"""Binary sensor platform for Miele integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Final, cast from pymiele import MieleDevice from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/const.py
homeassistant/components/miele/const.py
"""Constants for the Miele integration.""" from enum import IntEnum from pymiele import MieleEnum DOMAIN = "miele" MANUFACTURER = "Miele" ACTIONS = "actions" POWER_ON = "powerOn" POWER_OFF = "powerOff" PROCESS_ACTION = "processAction" PROGRAM_ID = "programId" VENTILATION_STEP = "ventilationStep" TARGET_TEMPERATURE ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/coordinator.py
homeassistant/components/miele/coordinator.py
"""Coordinator module for Miele integration.""" from __future__ import annotations import asyncio from collections.abc import Callable from dataclasses import dataclass from datetime import timedelta import logging from aiohttp import ClientResponseError from pymiele import ( MieleAction, MieleAPI, Miele...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/fan.py
homeassistant/components/miele/fan.py
"""Platform for Miele fan entity.""" from __future__ import annotations from dataclasses import dataclass import logging import math from typing import Any, Final from aiohttp import ClientResponseError from homeassistant.components.fan import ( FanEntity, FanEntityDescription, FanEntityFeature, ) 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/miele/sensor.py
homeassistant/components/miele/sensor.py
"""Sensor platform for Miele integration.""" from __future__ import annotations from collections.abc import Callable, Mapping from dataclasses import dataclass from datetime import datetime, timedelta import logging from typing import Any, Final, cast from pymiele import MieleDevice, MieleFillingLevel, MieleTemperat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/__init__.py
homeassistant/components/miele/__init__.py
"""The Miele integration.""" from __future__ import annotations from aiohttp import ClientError, ClientResponseError from pymiele import MieleAPI from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed, ConfigEntryNotReady 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/miele/entity.py
homeassistant/components/miele/entity.py
"""Entity base class for the Miele integration.""" from pymiele import MieleAction, MieleAPI, MieleDevice, MieleFillingLevel from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity 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/miele/button.py
homeassistant/components/miele/button.py
"""Platform for Miele button integration.""" from __future__ import annotations from dataclasses import dataclass import logging from typing import Final from aiohttp import ClientResponseError from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.core import 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/miele/select.py
homeassistant/components/miele/select.py
"""Platform for Miele select entity.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import IntEnum import logging from typing import Final from aiohttp import ClientResponseError from homeassistant.components.select import SelectEntity, SelectE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/climate.py
homeassistant/components/miele/climate.py
"""Platform for Miele integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any, Final, cast from aiohttp import ClientResponseError from pymiele import MieleDevice, MieleTemperature from homeassistant.components.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/miele/light.py
homeassistant/components/miele/light.py
"""Platform for Miele light entity.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any, Final from aiohttp import ClientResponseError from homeassistant.components.light import ( ColorMode, LightEntity, Light...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/miele/config_flow.py
homeassistant/components/miele/config_flow.py
"""Config flow for Miele.""" from collections.abc import Mapping import logging from typing import Any from homeassistant.config_entries import ( SOURCE_REAUTH, SOURCE_RECONFIGURE, ConfigFlowResult, ) from homeassistant.helpers import config_entry_oauth2_flow from .const import DOMAIN class OAuth2FlowH...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/cover.py
homeassistant/components/niko_home_control/cover.py
"""Cover Platform for Niko Home Control.""" from __future__ import annotations from typing import Any from nhc.cover import NHCCover from homeassistant.components.cover import CoverEntity, CoverEntityFeature from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/const.py
homeassistant/components/niko_home_control/const.py
"""Constants for niko_home_control integration.""" from enum import IntEnum import logging from homeassistant.components.climate import HVACMode DOMAIN = "niko_home_control" _LOGGER = logging.getLogger(__name__) NIKO_HOME_CONTROL_THERMOSTAT_MODES_MAP = { HVACMode.OFF: 3, HVACMode.COOL: 4, HVACMode.AUTO:...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/__init__.py
homeassistant/components/niko_home_control/__init__.py
"""The Niko home control integration.""" from __future__ import annotations from nhc.controller import NHCController from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/entity.py
homeassistant/components/niko_home_control/entity.py
"""Base class for Niko Home Control entities.""" from abc import abstractmethod from nhc.action import NHCAction from nhc.controller import NHCController from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity from .const import DOMAIN class NikoHomeControlEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/scene.py
homeassistant/components/niko_home_control/scene.py
"""Scene Platform for Niko Home Control.""" from __future__ import annotations from typing import Any from homeassistant.components.scene import BaseScene from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import NikoHomeControlConfig...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/climate.py
homeassistant/components/niko_home_control/climate.py
"""Support for Niko Home Control thermostats.""" from typing import Any from nhc.const import THERMOSTAT_MODES, THERMOSTAT_MODES_REVERSE from nhc.thermostat import NHCThermostat from homeassistant.components.climate import ( PRESET_ECO, ClimateEntity, ClimateEntityFeature, HVACMode, ) from homeassist...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/light.py
homeassistant/components/niko_home_control/light.py
"""Light platform Niko Home Control.""" from __future__ import annotations from typing import Any from nhc.light import NHCLight from homeassistant.components.light import ( ATTR_BRIGHTNESS, ColorMode, LightEntity, brightness_supported, ) from homeassistant.core import HomeAssistant from homeassista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/niko_home_control/config_flow.py
homeassistant/components/niko_home_control/config_flow.py
"""Config flow for the Niko home control integration.""" from __future__ import annotations import logging from typing import Any from nhc.controller import NHCController import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST from .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/netdata/sensor.py
homeassistant/components/netdata/sensor.py
"""Support gathering system information of hosts which are running netdata.""" from __future__ import annotations import logging from netdata import Netdata from netdata.exceptions import NetdataError import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netdata/__init__.py
homeassistant/components/netdata/__init__.py
"""The netdata 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/tapsaff/binary_sensor.py
homeassistant/components/tapsaff/binary_sensor.py
"""Support for Taps Affs.""" from __future__ import annotations from datetime import timedelta import logging from tapsaff import TapsAff import voluptuous as vol from homeassistant.components.binary_sensor import ( PLATFORM_SCHEMA as BINARY_SENSOR_PLATFORM_SCHEMA, BinarySensorEntity, ) from homeassistant.c...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tapsaff/__init__.py
homeassistant/components/tapsaff/__init__.py
"""The tapsaff 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/todo/const.py
homeassistant/components/todo/const.py
"""Constants for the To-do integration.""" from __future__ import annotations from enum import IntFlag, StrEnum from typing import TYPE_CHECKING from homeassistant.util.hass_dict import HassKey if TYPE_CHECKING: from homeassistant.helpers.entity_component import EntityComponent from . import TodoListEntity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todo/intent.py
homeassistant/components/todo/intent.py
"""Intents for the todo integration.""" from __future__ import annotations import voluptuous as vol from homeassistant.core import HomeAssistant from homeassistant.helpers import intent from . import TodoItem, TodoItemStatus, TodoListEntity from .const import DATA_COMPONENT, DOMAIN INTENT_LIST_ADD_ITEM = "HassList...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/todo/__init__.py
homeassistant/components/todo/__init__.py
"""The todo integration.""" from __future__ import annotations from collections.abc import Callable, Iterable import dataclasses import datetime import logging from typing import Any, final from propcache.api import cached_property import voluptuous as vol from homeassistant.components import frontend, websocket_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/acer_projector/switch.py
homeassistant/components/acer_projector/switch.py
"""Use serial protocol of Acer projector to obtain state of the projector.""" from __future__ import annotations import logging import re from typing import Any import serial import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_PLATFORM_SCHEMA, SwitchEntity, ) 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/acer_projector/const.py
homeassistant/components/acer_projector/const.py
"""Use serial protocol of Acer projector to obtain state of the projector.""" from __future__ import annotations from typing import Final from homeassistant.const import STATE_OFF, STATE_ON CONF_WRITE_TIMEOUT: Final = "write_timeout" DEFAULT_NAME: Final = "Acer Projector" DEFAULT_TIMEOUT: Final = 1 DEFAULT_WRITE_T...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acer_projector/__init__.py
homeassistant/components/acer_projector/__init__.py
"""The acer_projector 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/inspired_shades/__init__.py
homeassistant/components/inspired_shades/__init__.py
"""Virtual integration: Inspired shades."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/prometheus/__init__.py
homeassistant/components/prometheus/__init__.py
"""Support for Prometheus metrics export.""" from __future__ import annotations from collections import defaultdict from collections.abc import Callable, Sequence from dataclasses import astuple, dataclass import logging import string from typing import Any, cast from aiohttp import web import prometheus_client from...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/event.py
homeassistant/components/snoo/event.py
"""Support for Snoo Events.""" from homeassistant.components.event import EventEntity, EventEntityDescription from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import SnooConfigEntry from .entity import SnooDescrip...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/switch.py
homeassistant/components/snoo/switch.py
"""Support for Snoo Switches.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from python_snoo.containers import SnooData, SnooDevice from python_snoo.exceptions import SnooCommandException from python_snoo.snoo import Sno...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/binary_sensor.py
homeassistant/components/snoo/binary_sensor.py
"""Support for Snoo Binary Sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from python_snoo.containers import SnooData from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/const.py
homeassistant/components/snoo/const.py
"""Constants for the Happiest Baby Snoo integration.""" DOMAIN = "snoo"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/coordinator.py
homeassistant/components/snoo/coordinator.py
"""Support for Snoo Coordinators.""" import logging from python_snoo.containers import SnooData, SnooDevice from python_snoo.snoo import Snoo from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator t...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/sensor.py
homeassistant/components/snoo/sensor.py
"""Support for Snoo Sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from python_snoo.containers import SnooData, SnooStates from homeassistant.components.sensor import ( EntityCategory, SensorDeviceClass, SensorEntity, SensorEntit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/__init__.py
homeassistant/components/snoo/__init__.py
"""The Happiest Baby Snoo integration.""" from __future__ import annotations import asyncio import logging from python_snoo.exceptions import InvalidSnooAuth, SnooAuthException, SnooDeviceError from python_snoo.snoo import Snoo from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, Platform 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/snoo/entity.py
homeassistant/components/snoo/entity.py
"""Base entity for the Snoo integration.""" from __future__ import annotations 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 .coordinator imp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/button.py
homeassistant/components/snoo/button.py
"""Support for Snoo Buttons.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from python_snoo.containers import SnooDevice from python_snoo.exceptions import SnooCommandException from python_snoo.snoo import Snoo from homeassistant.components.button import ButtonEntity, ButtonEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snoo/select.py
homeassistant/components/snoo/select.py
"""Support for Snoo Select.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from python_snoo.containers import SnooData, SnooDevice, SnooLevels from python_snoo.exceptions import SnooCommandException from python_snoo.snoo import Snoo 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/snoo/config_flow.py
homeassistant/components/snoo/config_flow.py
"""Config flow for the Happiest Baby Snoo integration.""" from __future__ import annotations import logging from typing import Any import jwt from python_snoo.exceptions import InvalidSnooAuth, SnooAuthException from python_snoo.snoo import Snoo import voluptuous as vol from homeassistant.config_entries import 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/input_text/reproduce_state.py
homeassistant/components/input_text/reproduce_state.py
"""Reproduce an Input text state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from homeassistant.const import ATTR_ENTITY_ID from homeassistant.core import Context, HomeAssistant, State from . import ATTR_VALUE, DOMAIN, SERVICE_SET_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/input_text/__init__.py
homeassistant/components/input_text/__init__.py
"""Support to enter a value into a text box.""" from __future__ import annotations import logging from typing import Any, Self import voluptuous as vol from homeassistant.const import ( ATTR_EDITABLE, ATTR_MODE, CONF_ICON, CONF_ID, CONF_MODE, CONF_NAME, CONF_UNIT_OF_MEASUREMENT, MAX_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/select/device_trigger.py
homeassistant/components/select/device_trigger.py
"""Provides device triggers for Select.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( DEVICE_TRIGGER_BASE_SCHEMA, async_get_entity_registry_entry_or_raise, ) from homeassistant.components.homeassistant.triggers.state import ( 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/select/device_condition.py
homeassistant/components/select/device_condition.py
"""Provide the device conditions for Select.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( async_get_entity_registry_entry_or_raise, ) from homeassistant.const import ( CONF_CONDITION, CONF_DEVICE_ID, CONF_DOMAIN, CONF_ENTI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/select/significant_change.py
homeassistant/components/select/significant_change.py
"""Helper to test significant Select state changes.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant, callback @callback def async_check_significant_change( hass: HomeAssistant, old_state: str, old_attrs: dict, new_state: str, new_attrs: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/select/const.py
homeassistant/components/select/const.py
"""Provides the constants needed for the component.""" DOMAIN = "select" ATTR_CYCLE = "cycle" ATTR_OPTIONS = "options" ATTR_OPTION = "option" CONF_CYCLE = "cycle" CONF_OPTION = "option" SERVICE_SELECT_FIRST = "select_first" SERVICE_SELECT_LAST = "select_last" SERVICE_SELECT_NEXT = "select_next" SERVICE_SELECT_OPTIO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/select/reproduce_state.py
homeassistant/components/select/reproduce_state.py
"""Reproduce a Select entity state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from homeassistant.const import ATTR_ENTITY_ID from homeassistant.core import Context, HomeAssistant, State from .const import ATTR_OPTION, ATTR_OPTIONS...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/select/__init__.py
homeassistant/components/select/__init__.py
"""Component to allow selecting an option from a list as platforms.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any, final from propcache.api import cached_property import voluptuous as vol from homeassistant.config_entries import ConfigEntry 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/select/device_action.py
homeassistant/components/select/device_action.py
"""Provides device actions for Select.""" from __future__ import annotations from contextlib import suppress import voluptuous as vol from homeassistant.components.device_automation import ( async_get_entity_registry_entry_or_raise, async_validate_entity_schema, ) from homeassistant.const import ( ATTR_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smappee/api.py
homeassistant/components/smappee/api.py
"""API for Smappee bound to Home Assistant OAuth.""" from asyncio import run_coroutine_threadsafe from pysmappee import api from homeassistant import config_entries, core from homeassistant.const import CONF_PLATFORM from homeassistant.helpers import config_entry_oauth2_flow from .const import DOMAIN class 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/smappee/switch.py
homeassistant/components/smappee/switch.py
"""Support for interacting with Smappee Comport Plugs, Switches and Output Modules.""" from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceInfo 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/smappee/binary_sensor.py
homeassistant/components/smappee/binary_sensor.py
"""Support for monitoring a Smappee appliance binary sensor.""" from __future__ import annotations from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceInfo 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/smappee/const.py
homeassistant/components/smappee/const.py
"""Constants for the Smappee integration.""" from datetime import timedelta from homeassistant.const import Platform DOMAIN = "smappee" DATA_CLIENT = "smappee_data" CONF_HOSTNAME = "hostname" CONF_SERIALNUMBER = "serialnumber" CONF_TITLE = "title" ENV_CLOUD = "cloud" ENV_LOCAL = "local" PLATFORMS = [Platform.BINA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smappee/sensor.py
homeassistant/components/smappee/sensor.py
"""Support for monitoring a Smappee energy sensor.""" from __future__ import annotations from dataclasses import dataclass, field from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import UnitOfElectricP...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smappee/__init__.py
homeassistant/components/smappee/__init__.py
"""The Smappee integration.""" from pysmappee import Smappee, helper, mqtt import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONF_CLIENT_ID, CONF_CLIENT_SECRET, CONF_IP_ADDRESS, CONF_PLATFORM, ) from homeassistant.core import 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/smappee/config_flow.py
homeassistant/components/smappee/config_flow.py
"""Config flow for Smappee.""" import logging from typing import Any from pysmappee import helper, mqtt import voluptuous as vol from homeassistant.config_entries import ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_IP_ADDRESS from homeassistant.helpers import config_entry_oauth2_flow 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/radarr/binary_sensor.py
homeassistant/components/radarr/binary_sensor.py
"""Support for Radarr binary sensors.""" from __future__ import annotations from aiopyarr import Health from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.const import EntityCategory from homeassistant.core...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/const.py
homeassistant/components/radarr/const.py
"""Constants for Radarr.""" import logging from typing import Final DOMAIN: Final = "radarr" # Defaults DEFAULT_MAX_RECORDS = 20 DEFAULT_NAME = "Radarr" DEFAULT_URL = "http://127.0.0.1:7878" HEALTH_ISSUES = ( "DownloadClientCheck", "DownloadClientStatusCheck", "IndexerRssCheck", "IndexerSearchCheck"...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/coordinator.py
homeassistant/components/radarr/coordinator.py
"""Data update coordinator for the Radarr integration.""" from __future__ import annotations from abc import ABC, abstractmethod import asyncio from dataclasses import dataclass from datetime import date, datetime, timedelta from typing import Generic, TypeVar, cast from aiopyarr import ( Health, RadarrCalen...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/sensor.py
homeassistant/components/radarr/sensor.py
"""Support for Radarr.""" from __future__ import annotations from collections.abc import Callable import dataclasses from datetime import UTC, datetime from typing import Any, Generic from aiopyarr import Diskspace, RootFolder, SystemStatus from homeassistant.components.sensor import ( SensorDeviceClass, Se...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/__init__.py
homeassistant/components/radarr/__init__.py
"""The Radarr component.""" from __future__ import annotations from dataclasses import fields from aiopyarr.models.host_configuration import PyArrHostConfiguration from aiopyarr.radarr_client import RadarrClient from homeassistant.const import CONF_API_KEY, CONF_URL, CONF_VERIFY_SSL, Platform from homeassistant.cor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/entity.py
homeassistant/components/radarr/entity.py
"""The Radarr component.""" from __future__ import annotations from homeassistant.const import ATTR_SW_VERSION from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/calendar.py
homeassistant/components/radarr/calendar.py
"""Support for Radarr calendar items.""" from __future__ import annotations from datetime import datetime from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity import EntityDescription from homeassistant.he...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radarr/config_flow.py
homeassistant/components/radarr/config_flow.py
"""Config flow for Radarr.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from aiohttp import ClientConnectorError from aiopyarr import exceptions from aiopyarr.models.host_configuration import PyArrHostConfiguration from aiopyarr.radarr_client import RadarrClient 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/nightscout/const.py
homeassistant/components/nightscout/const.py
"""Constants for the Nightscout integration.""" DOMAIN = "nightscout" ATTR_DEVICE = "device" ATTR_DELTA = "delta" ATTR_DIRECTION = "direction"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nightscout/utils.py
homeassistant/components/nightscout/utils.py
"""Nightscout util functions.""" from __future__ import annotations import hashlib def hash_from_url(url: str) -> str: """Hash url to create a unique ID.""" return hashlib.sha256(url.encode("utf-8")).hexdigest()
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nightscout/sensor.py
homeassistant/components/nightscout/sensor.py
"""Support for Nightscout sensors.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from aiohttp import ClientError from py_nightscout import Api as NightscoutAPI from homeassistant.components.sensor import SensorDeviceClass, SensorEntity 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/nightscout/__init__.py
homeassistant/components/nightscout/__init__.py
"""The Nightscout integration.""" from aiohttp import ClientError from py_nightscout import Api as NightscoutAPI from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, CONF_URL, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import Confi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nightscout/config_flow.py
homeassistant/components/nightscout/config_flow.py
"""Config flow for Nightscout integration.""" import logging from typing import Any from aiohttp import ClientError, ClientResponseError from py_nightscout import Api as NightscoutAPI import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_A...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/piper/__init__.py
homeassistant/components/piper/__init__.py
"""Virtual integration: Piper."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/switch.py
homeassistant/components/flexit_bacnet/switch.py
"""The Flexit Nordic (BACnet) integration.""" import asyncio.exceptions from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from flexit_bacnet import FlexitBACnet from flexit_bacnet.bacnet import DecodingError from homeassistant.components.switch import ( Swit...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/number.py
homeassistant/components/flexit_bacnet/number.py
"""The Flexit Nordic (BACnet) integration.""" import asyncio.exceptions from collections.abc import Awaitable, Callable from dataclasses import dataclass from flexit_bacnet import FlexitBACnet from flexit_bacnet.bacnet import DecodingError from homeassistant.components.number import ( NumberDeviceClass, Numb...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/binary_sensor.py
homeassistant/components/flexit_bacnet/binary_sensor.py
"""The Flexit Nordic (BACnet) integration.""" from collections.abc import Callable from dataclasses import dataclass from flexit_bacnet import FlexitBACnet from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/flexit_bacnet/const.py
homeassistant/components/flexit_bacnet/const.py
"""Constants for the Flexit Nordic (BACnet) integration.""" from flexit_bacnet import ( VENTILATION_MODE_AWAY, VENTILATION_MODE_HIGH, VENTILATION_MODE_HOME, VENTILATION_MODE_STOP, ) from homeassistant.components.climate import ( PRESET_AWAY, PRESET_BOOST, PRESET_HOME, PRESET_NONE, ) 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/flexit_bacnet/coordinator.py
homeassistant/components/flexit_bacnet/coordinator.py
"""DataUpdateCoordinator for Flexit Nordic (BACnet) integration..""" from __future__ import annotations import asyncio.exceptions from datetime import timedelta import logging from flexit_bacnet import FlexitBACnet from flexit_bacnet.bacnet import DecodingError from homeassistant.config_entries import ConfigEntry f...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/sensor.py
homeassistant/components/flexit_bacnet/sensor.py
"""The Flexit Nordic (BACnet) integration.""" from collections.abc import Callable from dataclasses import dataclass from flexit_bacnet import FlexitBACnet from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.co...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/__init__.py
homeassistant/components/flexit_bacnet/__init__.py
"""The Flexit Nordic (BACnet) integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import FlexitConfigEntry, FlexitCoordinator PLATFORMS: list[Platform] = [ Platform.BINARY_SENSOR, Platform.CLIMATE, 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/flexit_bacnet/entity.py
homeassistant/components/flexit_bacnet/entity.py
"""Base entity for the Flexit Nordic (BACnet) integration.""" from __future__ import annotations from flexit_bacnet import FlexitBACnet from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator impo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/climate.py
homeassistant/components/flexit_bacnet/climate.py
"""The Flexit Nordic (BACnet) integration.""" import asyncio.exceptions from typing import Any from flexit_bacnet import ( VENTILATION_MODE_AWAY, VENTILATION_MODE_HOME, VENTILATION_MODE_STOP, ) from flexit_bacnet.bacnet import DecodingError from homeassistant.components.climate import ( PRESET_AWAY, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/flexit_bacnet/config_flow.py
homeassistant/components/flexit_bacnet/config_flow.py
"""Config flow for Flexit Nordic (BACnet) integration.""" from __future__ import annotations import asyncio.exceptions import logging from typing import Any from flexit_bacnet import FlexitBACnet from flexit_bacnet.bacnet import DecodingError import voluptuous as vol from homeassistant.config_entries import ConfigF...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fastdotcom/diagnostics.py
homeassistant/components/fastdotcom/diagnostics.py
"""Diagnostics support for Fast.com.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import FastdotcomConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, config_entry: FastdotcomConfigEntry ) -> dict[str, An...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fastdotcom/const.py
homeassistant/components/fastdotcom/const.py
"""Constants for the Fast.com integration.""" import logging from homeassistant.const import Platform LOGGER = logging.getLogger(__package__) DOMAIN = "fastdotcom" DATA_UPDATED = f"{DOMAIN}_data_updated" CONF_MANUAL = "manual" SERVICE_NAME = "speedtest" DEFAULT_NAME = "Fast.com" DEFAULT_INTERVAL = 1 PLATFORMS: 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/fastdotcom/coordinator.py
homeassistant/components/fastdotcom/coordinator.py
"""DataUpdateCoordinator for the Fast.com integration.""" from __future__ import annotations from datetime import timedelta from fastdotcom import fast_com from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false