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/rabbitair/const.py
homeassistant/components/rabbitair/const.py
"""Constants for the Rabbit Air integration.""" DOMAIN = "rabbitair"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rabbitair/coordinator.py
homeassistant/components/rabbitair/coordinator.py
"""Rabbit Air Update Coordinator.""" from collections.abc import Coroutine from datetime import timedelta import logging from typing import Any, cast from rabbitair import Client, State from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.deboun...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rabbitair/fan.py
homeassistant/components/rabbitair/fan.py
"""Support for Rabbit Air fan entity.""" from __future__ import annotations from typing import Any from rabbitair import Mode, Model, Speed from homeassistant.components.fan import FanEntity, FanEntityFeature from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rabbitair/__init__.py
homeassistant/components/rabbitair/__init__.py
"""The Rabbit Air integration.""" from __future__ import annotations from rabbitair import Client, UdpClient from homeassistant.components import zeroconf from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ACCESS_TOKEN, CONF_HOST, Platform 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/rabbitair/entity.py
homeassistant/components/rabbitair/entity.py
"""A base class for Rabbit Air entities.""" from __future__ import annotations import logging from typing import Any from rabbitair import Model from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_MAC from homeassistant.helpers.device_registry import DeviceInfo 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/rabbitair/config_flow.py
homeassistant/components/rabbitair/config_flow.py
"""Config flow for Rabbit Air integration.""" from __future__ import annotations import logging from typing import Any from rabbitair import UdpClient import voluptuous as vol from homeassistant.components import zeroconf from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plant/const.py
homeassistant/components/plant/const.py
"""Const for Plant.""" from typing import Final DOMAIN: Final = "plant" READING_MOISTURE = "moisture" READING_BATTERY = "battery" READING_TEMPERATURE = "temperature" READING_CONDUCTIVITY = "conductivity" READING_BRIGHTNESS = "brightness" CONF_MIN_BATTERY_LEVEL = f"min_{READING_BATTERY}" CONF_MIN_TEMPERATURE = f"min...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plant/__init__.py
homeassistant/components/plant/__init__.py
"""Support for monitoring plants. DEVELOPMENT OF THE PLANT INTEGRATION IS FROZEN PENDING A DESIGN EVALUATION. """ from collections import deque from contextlib import suppress from datetime import datetime, timedelta import logging import voluptuous as vol from homeassistant.components.recorder import get_instance,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/speedtestdotnet/const.py
homeassistant/components/speedtestdotnet/const.py
"""Constants used by Speedtest.net.""" from __future__ import annotations from typing import Final DOMAIN: Final = "speedtestdotnet" CONF_SERVER_NAME: Final = "server_name" CONF_SERVER_ID: Final = "server_id" ATTR_BYTES_RECEIVED: Final = "bytes_received" ATTR_BYTES_SENT: Final = "bytes_sent" ATTR_SERVER_COUNTRY: 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/speedtestdotnet/coordinator.py
homeassistant/components/speedtestdotnet/coordinator.py
"""Coordinator for speedtestdotnet.""" from datetime import timedelta import logging from typing import Any, cast import speedtest from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/speedtestdotnet/sensor.py
homeassistant/components/speedtestdotnet/sensor.py
"""Support for Speedtest.net internet speed testing sensor.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any, cast from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/speedtestdotnet/__init__.py
homeassistant/components/speedtestdotnet/__init__.py
"""Support for testing internet speed via Speedtest.net.""" from __future__ import annotations from functools import partial import speedtest from homeassistant.config_entries import ConfigEntryState from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/speedtestdotnet/config_flow.py
homeassistant/components/speedtestdotnet/config_flow.py
"""Config flow for Speedtest.net.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.config_entries import ( ConfigFlow, ConfigFlowResult, OptionsFlowWithReload, ) from homeassistant.core import callback from .const import ( CONF_SERVER_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/lacrosse/sensor.py
homeassistant/components/lacrosse/sensor.py
"""Support for LaCrosse sensor components.""" from __future__ import annotations from datetime import datetime, timedelta import logging from typing import Any import pylacrosse from serial import SerialException import voluptuous as vol from homeassistant.components.sensor import ( ENTITY_ID_FORMAT, PLATFO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lacrosse/__init__.py
homeassistant/components/lacrosse/__init__.py
"""The lacrosse 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/facebook/__init__.py
homeassistant/components/facebook/__init__.py
"""The facebook 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/facebook/notify.py
homeassistant/components/facebook/notify.py
"""Facebook platform for notify component.""" from __future__ import annotations from http import HTTPStatus import json import logging import requests import voluptuous as vol from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, PLATFORM_SCHEMA as NOTIFY_PLATFORM_SCHEMA, BaseNotifi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/martec/__init__.py
homeassistant/components/martec/__init__.py
"""Virtual integration: Martec."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/motionmount/number.py
homeassistant/components/motionmount/number.py
"""Support for MotionMount numeric control.""" import socket import motionmount from homeassistant.components.number import NumberEntity from homeassistant.const import PERCENTAGE from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.entity_pl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/motionmount/binary_sensor.py
homeassistant/components/motionmount/binary_sensor.py
"""Support for MotionMount binary sensors.""" import motionmount from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import Add...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/motionmount/const.py
homeassistant/components/motionmount/const.py
"""Constants for the Vogel's MotionMount integration.""" DOMAIN = "motionmount" EMPTY_MAC = "00:00:00:00:00:00" WALL_PRESET_NAME = "0_wall"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/motionmount/sensor.py
homeassistant/components/motionmount/sensor.py
"""Support for MotionMount sensors.""" from typing import Final import motionmount from motionmount import MotionMountSystemError from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.const import EntityCategory 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/motionmount/__init__.py
homeassistant/components/motionmount/__init__.py
"""The Vogel's MotionMount integration.""" from __future__ import annotations import socket import motionmount from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PIN, CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/motionmount/entity.py
homeassistant/components/motionmount/entity.py
"""Support for MotionMount sensors.""" import logging from typing import TYPE_CHECKING import motionmount from homeassistant.const import ATTR_CONNECTIONS, ATTR_IDENTIFIERS, CONF_PIN from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo, format_mac 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/motionmount/select.py
homeassistant/components/motionmount/select.py
"""Support for MotionMount numeric control.""" from datetime import timedelta import logging import socket import motionmount from homeassistant.components.select import SelectEntity from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError 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/motionmount/config_flow.py
homeassistant/components/motionmount/config_flow.py
"""Config flow for Vogel's MotionMount.""" import asyncio from collections.abc import Mapping import logging import socket from typing import Any import motionmount import voluptuous as vol from homeassistant.config_entries import ( DEFAULT_DISCOVERY_UNIQUE_ID, SOURCE_REAUTH, ConfigFlow, ConfigFlowRe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/arcam_fmj/media_player.py
homeassistant/components/arcam_fmj/media_player.py
"""Arcam media player.""" from __future__ import annotations from collections.abc import Callable, Coroutine import functools import logging from typing import Any from arcam.fmj import ConnectionFailed, SourceCodes from arcam.fmj.state import State from homeassistant.components.media_player import ( BrowseErro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/arcam_fmj/device_trigger.py
homeassistant/components/arcam_fmj/device_trigger.py
"""Provides device automations for Arcam FMJ Receiver control.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA from homeassistant.const import ( ATTR_ENTITY_ID, CONF_DEVICE_ID, CONF_DOMAIN, CONF_ENTITY_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/arcam_fmj/const.py
homeassistant/components/arcam_fmj/const.py
"""Constants used for arcam.""" DOMAIN = "arcam_fmj" SIGNAL_CLIENT_STARTED = "arcam.client_started" SIGNAL_CLIENT_STOPPED = "arcam.client_stopped" SIGNAL_CLIENT_DATA = "arcam.client_data" EVENT_TURN_ON = "arcam_fmj.turn_on" DEFAULT_PORT = 50000 DEFAULT_NAME = "Arcam FMJ" DEFAULT_SCAN_INTERVAL = 5
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/arcam_fmj/__init__.py
homeassistant/components/arcam_fmj/__init__.py
"""Arcam component.""" import asyncio from asyncio import timeout import logging from typing import Any from arcam.fmj import ConnectionFailed from arcam.fmj.client import Client from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_PORT, 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/arcam_fmj/config_flow.py
homeassistant/components/arcam_fmj/config_flow.py
"""Config flow to configure the Arcam FMJ component.""" from __future__ import annotations from typing import Any from urllib.parse import urlparse from arcam.fmj.client import Client, ConnectionFailed from arcam.fmj.utils import get_uniqueid_from_host, get_uniqueid_from_udn import voluptuous as vol 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/actiontec/device_tracker.py
homeassistant/components/actiontec/device_tracker.py
"""Support for Actiontec MI424WR (Verizon FIOS) routers.""" from __future__ import annotations import logging from typing import Final import telnetlib # pylint: disable=deprecated-module import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, PLATFOR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/actiontec/model.py
homeassistant/components/actiontec/model.py
"""Model definitions for Actiontec MI424WR (Verizon FIOS) routers.""" from dataclasses import dataclass @dataclass class Device: """Actiontec device class.""" ip_address: str mac_address: str timevalid: int
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/actiontec/const.py
homeassistant/components/actiontec/const.py
"""Support for Actiontec MI424WR (Verizon FIOS) routers.""" from __future__ import annotations import re from typing import Final # mypy: disallow-any-generics LEASES_REGEX: Final[re.Pattern[str]] = re.compile( r"(?P<ip>([0-9]{1,3}[\.]){3}[0-9]{1,3})" r"\smac:\s(?P<mac>([0-9a-f]{2}[:-]){5}([0-9a-f]{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/actiontec/__init__.py
homeassistant/components/actiontec/__init__.py
"""The actiontec 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/danfoss_air/switch.py
homeassistant/components/danfoss_air/switch.py
"""Support for the for Danfoss Air HRV sswitches.""" from __future__ import annotations import logging from typing import Any from pydanfossair.commands import ReadCommand, UpdateCommand from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/danfoss_air/binary_sensor.py
homeassistant/components/danfoss_air/binary_sensor.py
"""Support for the for Danfoss Air HRV binary sensors.""" from __future__ import annotations from pydanfossair.commands import ReadCommand from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import HomeAssistant from homeassistant.helper...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/danfoss_air/sensor.py
homeassistant/components/danfoss_air/sensor.py
"""Support for the for Danfoss Air HRV sensors.""" from __future__ import annotations import logging from pydanfossair.commands import ReadCommand from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) from homeassistant.const import PERCENTAGE, REVOLUTIONS_PE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/danfoss_air/__init__.py
homeassistant/components/danfoss_air/__init__.py
"""Support for Danfoss Air HRV.""" from datetime import timedelta import logging from pydanfossair.commands import ReadCommand from pydanfossair.danfossclient import DanfossClient import voluptuous as vol from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant 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/everlights/__init__.py
homeassistant/components/everlights/__init__.py
"""The everlights 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/everlights/light.py
homeassistant/components/everlights/light.py
"""Support for EverLights lights.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any, cast import pyeverlights import voluptuous as vol from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_EFFECT, ATTR_HS_COLOR, PLATFORM_SCHEMA 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/gardena_bluetooth/valve.py
homeassistant/components/gardena_bluetooth/valve.py
"""Support for switch entities.""" from __future__ import annotations from typing import Any from gardena_bluetooth.const import Valve from homeassistant.components.valve import ( ValveDeviceClass, ValveEntity, ValveEntityFeature, ) from homeassistant.core import HomeAssistant from homeassistant.helpers...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/switch.py
homeassistant/components/gardena_bluetooth/switch.py
"""Support for switch entities.""" from __future__ import annotations from typing import Any from gardena_bluetooth.const import Valve from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.exceptions import HomeAssistantError from homeassistant.help...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/number.py
homeassistant/components/gardena_bluetooth/number.py
"""Support for number entities.""" from __future__ import annotations from dataclasses import dataclass, field from gardena_bluetooth.const import DeviceConfiguration, Sensor, Valve from gardena_bluetooth.parse import ( Characteristic, CharacteristicInt, CharacteristicLong, CharacteristicUInt16, ) 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/gardena_bluetooth/binary_sensor.py
homeassistant/components/gardena_bluetooth/binary_sensor.py
"""Support for binary_sensor entities.""" from __future__ import annotations from dataclasses import dataclass, field from gardena_bluetooth.const import Sensor, Valve from gardena_bluetooth.parse import CharacteristicBool from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinaryS...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/const.py
homeassistant/components/gardena_bluetooth/const.py
"""Constants for the Gardena Bluetooth integration.""" DOMAIN = "gardena_bluetooth"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/coordinator.py
homeassistant/components/gardena_bluetooth/coordinator.py
"""Provides the DataUpdateCoordinator.""" from __future__ import annotations from datetime import timedelta import logging from gardena_bluetooth.client import Client from gardena_bluetooth.exceptions import ( CharacteristicNoAccess, GardenaBluetoothException, ) from gardena_bluetooth.parse import Characteri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/sensor.py
homeassistant/components/gardena_bluetooth/sensor.py
"""Support for switch entities.""" from __future__ import annotations from dataclasses import dataclass, field from datetime import UTC, datetime, timedelta from gardena_bluetooth.const import Battery, Sensor, Valve from gardena_bluetooth.parse import Characteristic from homeassistant.components.sensor 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/gardena_bluetooth/__init__.py
homeassistant/components/gardena_bluetooth/__init__.py
"""The Gardena Bluetooth integration.""" from __future__ import annotations import logging from bleak.backends.device import BLEDevice from gardena_bluetooth.client import CachedConnection, Client from gardena_bluetooth.const import DeviceConfiguration, DeviceInformation from gardena_bluetooth.exceptions import Comm...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/entity.py
homeassistant/components/gardena_bluetooth/entity.py
"""Provides the DataUpdateCoordinator.""" from __future__ import annotations from typing import Any from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity from .coordinator import GardenaBluetoothCoordinator class GardenaBluetoothEntity(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/gardena_bluetooth/button.py
homeassistant/components/gardena_bluetooth/button.py
"""Support for button entities.""" from __future__ import annotations from dataclasses import dataclass, field from gardena_bluetooth.const import Reset from gardena_bluetooth.parse import CharacteristicBool from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.const i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/gardena_bluetooth/config_flow.py
homeassistant/components/gardena_bluetooth/config_flow.py
"""Config flow for Gardena Bluetooth integration.""" from __future__ import annotations import logging from typing import Any from gardena_bluetooth.client import Client from gardena_bluetooth.const import PRODUCT_NAMES, DeviceInformation, ScanService from gardena_bluetooth.exceptions import CharacteristicNotFound, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radio_browser/media_source.py
homeassistant/components/radio_browser/media_source.py
"""Expose Radio Browser as a media source.""" from __future__ import annotations import mimetypes import pycountry from radios import FilterBy, Order, RadioBrowser, Station from homeassistant.components.media_player import MediaClass, MediaType from homeassistant.components.media_source import ( BrowseMediaSour...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radio_browser/const.py
homeassistant/components/radio_browser/const.py
"""Constants for the Radio Browser integration.""" import logging from typing import Final DOMAIN: Final = "radio_browser" LOGGER = logging.getLogger(__package__)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/radio_browser/__init__.py
homeassistant/components/radio_browser/__init__.py
"""The Radio Browser integration.""" from __future__ import annotations from aiodns.error import DNSError from radios import RadioBrowser, RadioBrowserError from homeassistant.config_entries import ConfigEntry from homeassistant.const import __version__ 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/radio_browser/config_flow.py
homeassistant/components/radio_browser/config_flow.py
"""Config flow for Radio Browser integration.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DOMAIN class RadioBrowserConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for Radio Browser.""" ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/doods/image_processing.py
homeassistant/components/doods/image_processing.py
"""Support for the DOODS service.""" from __future__ import annotations import io import logging import os import time from typing import Any from PIL import Image, ImageDraw, UnidentifiedImageError from pydoods import PyDOODS import voluptuous as vol from homeassistant.components.image_processing 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/doods/__init__.py
homeassistant/components/doods/__init__.py
"""The doods 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/deluge/switch.py
homeassistant/components/deluge/switch.py
"""Support for setting the Deluge BitTorrent client in Pause.""" from __future__ import annotations from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import 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/deluge/const.py
homeassistant/components/deluge/const.py
"""Constants for the Deluge integration.""" import enum import logging from typing import Final CONF_WEB_PORT = "web_port" DEFAULT_NAME = "Deluge" DEFAULT_RPC_PORT = 58846 DEFAULT_WEB_PORT = 8112 DOMAIN: Final = "deluge" LOGGER = logging.getLogger(__package__) class DelugeGetSessionStatusKeys(enum.Enum): """Enu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/deluge/coordinator.py
homeassistant/components/deluge/coordinator.py
"""Data update coordinator for the Deluge integration.""" from __future__ import annotations from collections import Counter from datetime import timedelta from ssl import SSLError from typing import Any from deluge_client.client import DelugeRPCClient, FailedToReconnectException from homeassistant.config_entries 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/deluge/sensor.py
homeassistant/components/deluge/sensor.py
"""Support for monitoring the Deluge BitTorrent client API.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, 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/deluge/__init__.py
homeassistant/components/deluge/__init__.py
"""The Deluge integration.""" from __future__ import annotations import logging from ssl import SSLError from deluge_client.client import DelugeRPCClient from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_USERNAME, 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/deluge/entity.py
homeassistant/components/deluge/entity.py
"""The Deluge integration.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DEFAULT_NAME, DOMAIN from .coordinator import DelugeDataUpdateCoordinator class De...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/deluge/config_flow.py
homeassistant/components/deluge/config_flow.py
"""Config flow for the Deluge integration.""" from __future__ import annotations from collections.abc import Mapping import logging from ssl import SSLError from typing import Any from deluge_client.client import DelugeRPCClient import voluptuous as vol from homeassistant.config_entries import SOURCE_REAUTH, 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/sleepiq/switch.py
homeassistant/components/sleepiq/switch.py
"""Support for SleepIQ switches.""" from __future__ import annotations from typing import Any from asyncsleepiq import SleepIQBed from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback 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/sleepiq/number.py
homeassistant/components/sleepiq/number.py
"""Support for SleepIQ SleepNumber firmness number entities.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, cast from asyncsleepiq import ( CoreTemps, FootWarmingTemps, SleepIQActuator, SleepIQBed, Sl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sleepiq/binary_sensor.py
homeassistant/components/sleepiq/binary_sensor.py
"""Support for SleepIQ sensors.""" from asyncsleepiq import SleepIQBed, SleepIQSleeper from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback 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/sleepiq/const.py
homeassistant/components/sleepiq/const.py
"""Define constants for the SleepIQ component.""" DATA_SLEEPIQ = "data_sleepiq" DOMAIN = "sleepiq" ACTUATOR = "actuator" CORE_CLIMATE_TIMER = "core_climate_timer" CORE_CLIMATE = "core_climate" BED = "bed" FIRMNESS = "firmness" ICON_EMPTY = "mdi:bed-empty" ICON_OCCUPIED = "mdi:bed" IS_IN_BED = "is_in_bed" PRESSURE = "...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sleepiq/coordinator.py
homeassistant/components/sleepiq/coordinator.py
"""Coordinator for SleepIQ.""" import asyncio from dataclasses import dataclass from datetime import timedelta import logging from asyncsleepiq import AsyncSleepIQ from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_USERNAME from homeassistant.core import HomeAssistant from home...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sleepiq/sensor.py
homeassistant/components/sleepiq/sensor.py
"""Support for SleepIQ Sensor.""" from __future__ import annotations from asyncsleepiq import SleepIQBed, SleepIQSleeper from homeassistant.components.sensor import SensorEntity, SensorStateClass from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback 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/sleepiq/__init__.py
homeassistant/components/sleepiq/__init__.py
"""Support for SleepIQ from SleepNumber.""" from __future__ import annotations import logging from typing import Any from asyncsleepiq import ( AsyncSleepIQ, SleepIQAPIException, SleepIQLoginException, SleepIQTimeoutException, ) import voluptuous as vol from homeassistant.config_entries import SOURC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sleepiq/entity.py
homeassistant/components/sleepiq/entity.py
"""Entity for the SleepIQ integration.""" from abc import abstractmethod from asyncsleepiq import SleepIQBed, SleepIQSleeper from homeassistant.core import callback from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity 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/sleepiq/button.py
homeassistant/components/sleepiq/button.py
"""Support for SleepIQ buttons.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from asyncsleepiq import SleepIQBed from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.config_entries ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sleepiq/select.py
homeassistant/components/sleepiq/select.py
"""Support for SleepIQ foundation preset selection.""" from __future__ import annotations from asyncsleepiq import ( CoreTemps, FootWarmingTemps, Side, SleepIQBed, SleepIQCoreClimate, SleepIQFootWarmer, SleepIQPreset, ) from homeassistant.components.select import SelectEntity 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/sleepiq/light.py
homeassistant/components/sleepiq/light.py
"""Support for SleepIQ outlet lights.""" import logging from typing import Any from asyncsleepiq import SleepIQBed, SleepIQLight from homeassistant.components.light import ColorMode, LightEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback 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/sleepiq/config_flow.py
homeassistant/components/sleepiq/config_flow.py
"""Config flow to configure SleepIQ component.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from asyncsleepiq import AsyncSleepIQ, SleepIQLoginException, SleepIQTimeoutException import voluptuous as vol from homeassistant.config_entries import Confi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/switch.py
homeassistant/components/smarty/switch.py
"""Platform to control a Salda Smarty XP/XV ventilation unit.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from pysmarty2 import Smarty from homeassistant.components.switch import SwitchEntity, SwitchEntityDescript...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/binary_sensor.py
homeassistant/components/smarty/binary_sensor.py
"""Support for Salda Smarty XP/XV Ventilation Unit Binary Sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from pysmarty2 import Smarty from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/const.py
homeassistant/components/smarty/const.py
"""Constants for the Smarty component.""" DOMAIN = "smarty"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/coordinator.py
homeassistant/components/smarty/coordinator.py
"""Smarty Coordinator.""" from datetime import timedelta import logging from pysmarty2 import Smarty from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/fan.py
homeassistant/components/smarty/fan.py
"""Platform to control a Salda Smarty XP/XV ventilation unit.""" from __future__ import annotations import logging import math from typing import Any from homeassistant.components.fan import FanEntity, FanEntityFeature from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import 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/smarty/sensor.py
homeassistant/components/smarty/sensor.py
"""Support for Salda Smarty XP/XV Ventilation Unit Sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime, timedelta import logging from pysmarty2 import Smarty from homeassistant.components.sensor import ( SensorDevice...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/__init__.py
homeassistant/components/smarty/__init__.py
"""Support to control a Salda Smarty XP/XV ventilation unit.""" from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import SmartyConfigEntry, SmartyCoordinator PLATFORMS = [ Platform.BINARY_SENSOR, Platform.BUTTON, Platform.FAN, Platform.SENSOR, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/entity.py
homeassistant/components/smarty/entity.py
"""Smarty Entity class.""" from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import SmartyCoordinator class SmartyEntity(CoordinatorEntity[SmartyCoordinator]): """Representation of a Sma...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/button.py
homeassistant/components/smarty/button.py
"""Platform to control a Salda Smarty XP/XV ventilation unit.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from pysmarty2 import Smarty from homeassistant.components.button import ButtonEntity, ButtonEntityDescript...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/smarty/config_flow.py
homeassistant/components/smarty/config_flow.py
"""Config flow for Smarty integration.""" import logging from typing import Any from pysmarty2 import Smarty import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST from .const import DOMAIN _LOGGER = logging.getLogger(__name__) cla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/dlna_dmr/media_player.py
homeassistant/components/dlna_dmr/media_player.py
"""Support for DLNA DMR (Device Media Renderer).""" from __future__ import annotations import asyncio from collections.abc import Awaitable, Callable, Coroutine, Sequence import contextlib from datetime import datetime, timedelta import functools from typing import Any, Concatenate from async_upnp_client.client impo...
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/dlna_dmr/const.py
homeassistant/components/dlna_dmr/const.py
"""Constants for the DLNA DMR component.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Final from async_upnp_client.profiles.dlna import PlayMode as _PlayMode from homeassistant.components.media_player import MediaType, RepeatMode LOGGER = logging.getLo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/dlna_dmr/__init__.py
homeassistant/components/dlna_dmr/__init__.py
"""The dlna_dmr component.""" from __future__ import annotations from homeassistant import config_entries from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .const import LOGGER PLATFORMS = [Platform.MEDIA_PLAYER] async def async_setup_entry( hass: HomeAssistant, 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/dlna_dmr/data.py
homeassistant/components/dlna_dmr/data.py
"""Data used by this integration.""" from __future__ import annotations import asyncio from collections import defaultdict from typing import NamedTuple, cast from async_upnp_client.aiohttp import AiohttpNotifyServer, AiohttpSessionRequester from async_upnp_client.client import UpnpRequester from async_upnp_client.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/dlna_dmr/config_flow.py
homeassistant/components/dlna_dmr/config_flow.py
"""Config flow for DLNA DMR.""" from __future__ import annotations from collections.abc import Callable, Mapping from functools import partial from ipaddress import IPv6Address, ip_address import logging from pprint import pformat from typing import TYPE_CHECKING, Any, cast from urllib.parse import urlparse from asy...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nuheat/const.py
homeassistant/components/nuheat/const.py
"""Constants for NuHeat thermostats.""" from homeassistant.const import Platform DOMAIN = "nuheat" PLATFORMS = [Platform.CLIMATE] CONF_SERIAL_NUMBER = "serial_number" MANUFACTURER = "NuHeat" NUHEAT_API_STATE_SHIFT_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/nuheat/__init__.py
homeassistant/components/nuheat/__init__.py
"""Support for NuHeat thermostats.""" from datetime import timedelta from http import HTTPStatus import logging import nuheat import requests from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PASSWORD, CONF_USERNAME 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/nuheat/climate.py
homeassistant/components/nuheat/climate.py
"""Support for NuHeat thermostats.""" import logging from typing import Any from nuheat.config import SCHEDULE_HOLD, SCHEDULE_RUN, SCHEDULE_TEMPORARY_HOLD from nuheat.util import ( celsius_to_nuheat, fahrenheit_to_nuheat, nuheat_to_celsius, nuheat_to_fahrenheit, ) from homeassistant.components.climat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nuheat/config_flow.py
homeassistant/components/nuheat/config_flow.py
"""Config flow for NuHeat integration.""" from http import HTTPStatus import logging from typing import Any import nuheat import requests.exceptions import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_PASSWORD, CONF_USERNAME 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/tmb/sensor.py
homeassistant/components/tmb/sensor.py
"""Support for TMB (Transports Metropolitans de Barcelona) Barcelona public transport.""" from __future__ import annotations from datetime import timedelta import logging from requests import HTTPError from tmb import IBus import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA 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/tmb/__init__.py
homeassistant/components/tmb/__init__.py
"""Support for Transports Metropolitans de Barcelona."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/azure_devops/const.py
homeassistant/components/azure_devops/const.py
"""Constants for the Azure DevOps integration.""" DOMAIN = "azure_devops" CONF_ORG = "organization" CONF_PROJECT = "project" CONF_PAT = "personal_access_token"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/azure_devops/coordinator.py
homeassistant/components/azure_devops/coordinator.py
"""Define the Azure DevOps DataUpdateCoordinator.""" from collections.abc import Callable from datetime import timedelta import logging from typing import Final from aioazuredevops.client import DevOpsClient from aioazuredevops.helper import ( WorkItemTypeAndState, work_item_types_states_filter, work_item...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false