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/ista_ecotrend/config_flow.py
homeassistant/components/ista_ecotrend/config_flow.py
"""Config flow for ista EcoTrend integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import TYPE_CHECKING, Any from pyecotrend_ista import KeycloakError, LoginError, PyEcotrendIsta, ServerError import voluptuous as vol 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/wiffi/wiffi_strings.py
homeassistant/components/wiffi/wiffi_strings.py
"""Definition of string used in wiffi json telegrams.""" # units of measurement WIFFI_UOM_TEMP_CELSIUS = "gradC" WIFFI_UOM_DEGREE = "grad" WIFFI_UOM_PERCENT = "%" WIFFI_UOM_MILLI_BAR = "mb" WIFFI_UOM_LUX = "lux"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wiffi/binary_sensor.py
homeassistant/components/wiffi/binary_sensor.py
"""Binary sensor platform support for wiffi devices.""" from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.dispatcher import async_dispatcher_connect 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/wiffi/const.py
homeassistant/components/wiffi/const.py
"""Constants for the wiffi component.""" # Component domain, used to store component data in hass data. DOMAIN = "wiffi" # Default port for TCP server DEFAULT_PORT = 8189 # Default timeout in minutes DEFAULT_TIMEOUT = 3 # Signal name to send create/update to platform (sensor/binary_sensor) CREATE_ENTITY_SIGNAL = "w...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wiffi/sensor.py
homeassistant/components/wiffi/sensor.py
"""Sensor platform support for wiffi devices.""" from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import DEGREE, LIGHT_LUX, UnitOfPressure, UnitOfTemperature 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/wiffi/__init__.py
homeassistant/components/wiffi/__init__.py
"""Component for wiffi support.""" from datetime import timedelta import errno import logging from wiffi import WiffiTcpServer from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PORT, Platform from homeassistant.core import HomeAssistant, callback 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/wiffi/entity.py
homeassistant/components/wiffi/entity.py
"""Component for wiffi support.""" from datetime import timedelta from homeassistant.const import CONF_TIMEOUT from homeassistant.core import callback from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wiffi/config_flow.py
homeassistant/components/wiffi/config_flow.py
"""Config flow for wiffi component. Used by UI to setup a wiffi integration. """ from __future__ import annotations import errno from typing import Any import voluptuous as vol from wiffi import WiffiTcpServer from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, Opt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apple_tv/media_player.py
homeassistant/components/apple_tv/media_player.py
"""Support for Apple TV media player.""" from __future__ import annotations from datetime import datetime import logging from typing import Any from pyatv import exceptions from pyatv.const import ( DeviceState, FeatureName, FeatureState, MediaType as AppleMediaType, PowerState, RepeatState, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apple_tv/browse_media.py
homeassistant/components/apple_tv/browse_media.py
"""Support for media browsing.""" from typing import Any from homeassistant.components.media_player import BrowseMedia, MediaClass, MediaType def build_app_list(app_list: dict[str, str]) -> BrowseMedia: """Create response payload for app list.""" media_list = [ {"app_id": app_id, "title": app_name, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apple_tv/const.py
homeassistant/components/apple_tv/const.py
"""Constants for the Apple TV integration.""" DOMAIN = "apple_tv" CONF_CREDENTIALS = "credentials" CONF_IDENTIFIERS = "identifiers" CONF_START_OFF = "start_off" SIGNAL_CONNECTED = "apple_tv_connected" SIGNAL_DISCONNECTED = "apple_tv_disconnected"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apple_tv/__init__.py
homeassistant/components/apple_tv/__init__.py
"""The Apple TV integration.""" from __future__ import annotations import asyncio import logging from random import randrange import sys from typing import Any, cast from homeassistant.components import zeroconf from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_CONNECTIO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apple_tv/remote.py
homeassistant/components/apple_tv/remote.py
"""Remote control support for Apple TV.""" import asyncio from collections.abc import Iterable import logging from typing import Any from pyatv.const import InputAction from homeassistant.components.remote import ( ATTR_DELAY_SECS, ATTR_HOLD_SECS, ATTR_NUM_REPEATS, DEFAULT_DELAY_SECS, DEFAULT_HOL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/apple_tv/entity.py
homeassistant/components/apple_tv/entity.py
"""The Apple TV integration.""" from __future__ import annotations from pyatv.interface import AppleTV as AppleTVInterface from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect 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/apple_tv/config_flow.py
homeassistant/components/apple_tv/config_flow.py
"""Config flow for Apple TV integration.""" from __future__ import annotations import asyncio from collections import deque from collections.abc import Awaitable, Callable, Mapping from ipaddress import ip_address import logging from random import randrange from typing import Any, Self from pyatv import 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/xbox/media_player.py
homeassistant/components/xbox/media_player.py
"""Xbox Media Player Support.""" from __future__ import annotations from typing import Any from pythonxbox.api.provider.catalog.models import Image from pythonxbox.api.provider.smartglass.models import ( PlaybackState, PowerState, VolumeDirection, ) from homeassistant.components.media_player 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/xbox/image.py
homeassistant/components/xbox/image.py
"""Image platform for the Xbox integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from typing import TYPE_CHECKING from pythonxbox.api.provider.people.models import Person from pythonxbox.api.provider.titlehub.models 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/xbox/api.py
homeassistant/components/xbox/api.py
"""API for xbox bound to Home Assistant OAuth.""" from http import HTTPStatus from aiohttp.client_exceptions import ClientResponseError from httpx import AsyncClient from pythonxbox.authentication.manager import AuthenticationManager from pythonxbox.authentication.models import OAuth2TokenResponse 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/xbox/diagnostics.py
homeassistant/components/xbox/diagnostics.py
"""Diagnostics platform for the Xbox integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .coordinator import XboxConfigEntry TO_REDACT = { "bio", "display_name", "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/xbox/application_credentials.py
homeassistant/components/xbox/application_credentials.py
"""Application credentials platform for xbox.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant from .const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: "...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/media_source.py
homeassistant/components/xbox/media_source.py
"""Xbox Media Source Implementation.""" from __future__ import annotations import logging from typing import TYPE_CHECKING from httpx import HTTPStatusError, RequestError, TimeoutException from pythonxbox.api.provider.titlehub.models import Image, Title, TitleFields from homeassistant.components.media_player 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/xbox/binary_sensor.py
homeassistant/components/xbox/binary_sensor.py
"""Xbox friends binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from typing import TYPE_CHECKING, Any from pythonxbox.api.provider.people.models import Person from pythonxbox.api.provider.titlehub.models import Titl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/browse_media.py
homeassistant/components/xbox/browse_media.py
"""Support for media browsing.""" from __future__ import annotations from typing import TYPE_CHECKING, NamedTuple from pythonxbox.api.client import XboxLiveClient from pythonxbox.api.provider.catalog.const import HOME_APP_IDS from pythonxbox.api.provider.catalog.models import ( AlternateIdType, CatalogRespon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/const.py
homeassistant/components/xbox/const.py
"""Constants for the xbox integration.""" DOMAIN = "xbox" OAUTH2_AUTHORIZE = "https://login.live.com/oauth20_authorize.srf" OAUTH2_TOKEN = "https://login.live.com/oauth20_token.srf" CONF_XUID = "xuid"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/coordinator.py
homeassistant/components/xbox/coordinator.py
"""Coordinator for the xbox integration.""" from __future__ import annotations from dataclasses import dataclass, field from datetime import datetime, timedelta from http import HTTPStatus import logging from httpx import HTTPStatusError, RequestError, TimeoutException from pythonxbox.api.client import XboxLiveClien...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/sensor.py
homeassistant/components/xbox/sensor.py
"""Sensor platform for the Xbox integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import UTC, datetime from enum import StrEnum from typing import TYPE_CHECKING, Any from pythonxbox.api.provider.people.models import Person from pyt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/__init__.py
homeassistant/components/xbox/__init__.py
"""The xbox integration.""" from __future__ import annotations import logging from httpx import HTTPStatusError, RequestError, TimeoutException from pythonxbox.api.client import XboxLiveClient from homeassistant.config_entries import ConfigSubentry from homeassistant.const import Platform from homeassistant.core im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/remote.py
homeassistant/components/xbox/remote.py
"""Xbox Remote support.""" from __future__ import annotations import asyncio from collections.abc import Callable, Iterable from typing import Any from pythonxbox.api.provider.smartglass import SmartglassProvider from pythonxbox.api.provider.smartglass.models import InputKeyType, PowerState from homeassistant.compo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/entity.py
homeassistant/components/xbox/entity.py
"""Base Sensor for the Xbox Integration.""" from __future__ import annotations from collections.abc import Callable, Mapping from dataclasses import dataclass from typing import Any from pythonxbox.api.provider.people.models import Person from pythonxbox.api.provider.smartglass.models import ConsoleType, SmartglassC...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/xbox/config_flow.py
homeassistant/components/xbox/config_flow.py
"""Config flow for xbox.""" from collections.abc import Mapping import logging from typing import Any from httpx import AsyncClient from pythonxbox.api.client import XboxLiveClient from pythonxbox.authentication.manager import AuthenticationManager from pythonxbox.authentication.models import OAuth2TokenResponse 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/levoit/__init__.py
homeassistant/components/levoit/__init__.py
"""Virtual integration: Levoit."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/scrape/const.py
homeassistant/components/scrape/const.py
"""Constants for Scrape integration.""" from __future__ import annotations from datetime import timedelta from homeassistant.const import Platform DOMAIN = "scrape" DEFAULT_ENCODING = "UTF-8" DEFAULT_NAME = "Web scrape" DEFAULT_VERIFY_SSL = True DEFAULT_SCAN_INTERVAL = timedelta(minutes=10) PLATFORMS = [Platform.S...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/scrape/coordinator.py
homeassistant/components/scrape/coordinator.py
"""Coordinator for the scrape component.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from bs4 import BeautifulSoup from homeassistant.components.rest import CONF_PAYLOAD_TEMPLATE, RestData from homeassistant.config_entries import ConfigEntry from homeas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/scrape/sensor.py
homeassistant/components/scrape/sensor.py
"""Support for getting data from websites with scraping.""" from __future__ import annotations import logging from typing import Any, cast import voluptuous as vol from homeassistant.components.sensor import CONF_STATE_CLASS from homeassistant.const import ( CONF_ATTRIBUTE, CONF_DEVICE_CLASS, CONF_ICON,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/scrape/__init__.py
homeassistant/components/scrape/__init__.py
"""The scrape component.""" from __future__ import annotations import asyncio from collections.abc import Coroutine from datetime import timedelta from typing import Any import voluptuous as vol from homeassistant.components.rest import RESOURCE_SCHEMA, create_rest_data_from_config from homeassistant.components.sen...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/scrape/config_flow.py
homeassistant/components/scrape/config_flow.py
"""Adds config flow for Scrape integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast import uuid import voluptuous as vol from homeassistant.components.rest import create_rest_data_from_config from homeassistant.components.rest.data import ( # pylint: 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/london_air/sensor.py
homeassistant/components/london_air/sensor.py
"""Sensor for checking the status of London air.""" from __future__ import annotations from datetime import timedelta from http import HTTPStatus import logging import requests import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) 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/london_air/__init__.py
homeassistant/components/london_air/__init__.py
"""The london_air 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/zhong_hong/__init__.py
homeassistant/components/zhong_hong/__init__.py
"""The zhong_hong 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/zhong_hong/climate.py
homeassistant/components/zhong_hong/climate.py
"""Support for ZhongHong HVAC Controller.""" from __future__ import annotations import logging from typing import Any import voluptuous as vol from zhong_hong_hvac.hub import ZhongHongGateway from zhong_hong_hvac.hvac import HVAC as ZhongHongHVAC from homeassistant.components.climate import ( ATTR_HVAC_MODE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/forked_daapd/media_player.py
homeassistant/components/forked_daapd/media_player.py
"""Support forked_daapd media player.""" from __future__ import annotations import asyncio from collections import defaultdict import logging from typing import Any from pylibrespot_java import LibrespotJavaAPI from homeassistant.components import media_source from homeassistant.components.media_player 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/forked_daapd/browse_media.py
homeassistant/components/forked_daapd/browse_media.py
"""Browse media for forked-daapd.""" from __future__ import annotations from collections.abc import Sequence from dataclasses import dataclass from typing import TYPE_CHECKING, Any, cast from urllib.parse import quote, unquote from homeassistant.components.media_player import ( BrowseError, BrowseMedia, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/forked_daapd/const.py
homeassistant/components/forked_daapd/const.py
"""Const for forked-daapd.""" from homeassistant.components.media_player import MediaPlayerEntityFeature, MediaType CALLBACK_TIMEOUT = 8 # max time between command and callback from forked-daapd server CAN_PLAY_TYPE = { "audio/mp4", "audio/aac", "audio/mpeg", "audio/flac", "audio/ogg", "audio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/forked_daapd/coordinator.py
homeassistant/components/forked_daapd/coordinator.py
"""Support forked_daapd media player.""" from __future__ import annotations import asyncio from collections.abc import Sequence import logging from typing import Any from pyforked_daapd import ForkedDaapdAPI from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/forked_daapd/__init__.py
homeassistant/components/forked_daapd/__init__.py
"""The forked_daapd component.""" from pyforked_daapd import ForkedDaapdAPI from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_PORT, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession from .coordinator import ForkedDaapdConfigEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/forked_daapd/config_flow.py
homeassistant/components/forked_daapd/config_flow.py
"""Config flow to configure forked-daapd devices.""" from contextlib import suppress import logging from typing import Any from pyforked_daapd import ForkedDaapdAPI import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult, OptionsFlow from homeassistant.const import CONF_HOST, 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/nyt_games/const.py
homeassistant/components/nyt_games/const.py
"""Constants for the NYT Games integration.""" import logging DOMAIN = "nyt_games" 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/nyt_games/coordinator.py
homeassistant/components/nyt_games/coordinator.py
"""Define an object to manage fetching NYT Games data.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta from nyt_games import Connections, NYTGamesClient, NYTGamesError, SpellingBee, Wordle from homeassistant.config_entries import ConfigEntry from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nyt_games/sensor.py
homeassistant/components/nyt_games/sensor.py
"""Support for NYT Games sensors.""" from collections.abc import Callable from dataclasses import dataclass from datetime import date from nyt_games import Connections, SpellingBee, Wordle from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorSt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nyt_games/__init__.py
homeassistant/components/nyt_games/__init__.py
"""The NYT Games integration.""" from __future__ import annotations from nyt_games import NYTGamesClient from homeassistant.const import CONF_TOKEN, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_create_clientsession from .coordinator import NYTGamesConf...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nyt_games/entity.py
homeassistant/components/nyt_games/entity.py
"""Base class for NYT Games entities.""" from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import NYTGamesCoordinator class NYTGamesEntity(CoordinatorEntity[NYTGamesCoordina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nyt_games/config_flow.py
homeassistant/components/nyt_games/config_flow.py
"""Config flow for NYT Games.""" from typing import Any from nyt_games import NYTGamesAuthenticationError, NYTGamesClient, NYTGamesError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_TOKEN from homeassistant.helpers.aiohttp_client ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/vacuum.py
homeassistant/components/litterrobot/vacuum.py
"""Support for Litter-Robot "Vacuum".""" from __future__ import annotations from datetime import time from typing import Any from pylitterbot import LitterRobot from pylitterbot.enums import LitterBoxStatus import voluptuous as vol from homeassistant.components.vacuum import ( StateVacuumEntity, StateVacuum...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/switch.py
homeassistant/components/litterrobot/switch.py
"""Support for Litter-Robot switches.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, Generic from pylitterbot import FeederRobot, LitterRobot, LitterRobot3, LitterRobot4, Robot from homeassistant.components.switch impor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/binary_sensor.py
homeassistant/components/litterrobot/binary_sensor.py
"""Support for Litter-Robot binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Generic from pylitterbot import LitterRobot, LitterRobot4, Robot from homeassistant.components.binary_sensor import ( BinarySensorDeviceClas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/const.py
homeassistant/components/litterrobot/const.py
"""Constants for the Litter-Robot integration.""" DOMAIN = "litterrobot"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/coordinator.py
homeassistant/components/litterrobot/coordinator.py
"""The Litter-Robot coordinator.""" from __future__ import annotations from collections.abc import Generator from datetime import timedelta import logging from pylitterbot import Account, FeederRobot, LitterRobot from pylitterbot.exceptions import LitterRobotException, LitterRobotLoginException 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/litterrobot/update.py
homeassistant/components/litterrobot/update.py
"""Support for Litter-Robot updates.""" from __future__ import annotations from datetime import timedelta from typing import Any from pylitterbot import LitterRobot4 from homeassistant.components.update import ( UpdateDeviceClass, UpdateEntity, UpdateEntityDescription, UpdateEntityFeature, ) from ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/time.py
homeassistant/components/litterrobot/time.py
"""Support for Litter-Robot time.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from datetime import datetime, time from typing import Any, Generic from pylitterbot import LitterRobot3 from homeassistant.components.time import TimeEntity, Tim...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/sensor.py
homeassistant/components/litterrobot/sensor.py
"""Support for Litter-Robot sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typing import Any, Generic from pylitterbot import FeederRobot, LitterRobot, LitterRobot4, Pet, Robot from homeassistant.components.sen...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/__init__.py
homeassistant/components/litterrobot/__init__.py
"""The Litter-Robot integration.""" from __future__ import annotations import itertools from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceEntry from .const import DOMAIN from .coordinator import LitterRobotConfigEntry, Litte...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/entity.py
homeassistant/components/litterrobot/entity.py
"""Litter-Robot entities for common data and methods.""" from __future__ import annotations from typing import Generic, TypeVar from pylitterbot import Pet, Robot from pylitterbot.robot import EVENT_UPDATE from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import EntityDe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/button.py
homeassistant/components/litterrobot/button.py
"""Support for Litter-Robot button.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, Generic from pylitterbot import FeederRobot, LitterRobot3, LitterRobot4, Robot from homeassistant.components.button import ButtonEntity,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/select.py
homeassistant/components/litterrobot/select.py
"""Support for Litter-Robot selects.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, Generic, TypeVar from pylitterbot import FeederRobot, LitterRobot, LitterRobot4, Robot from pylitterbot.robot.litterrobot4 import Bright...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/litterrobot/config_flow.py
homeassistant/components/litterrobot/config_flow.py
"""Config flow for Litter-Robot integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pylitterbot import Account from pylitterbot.exceptions import LitterRobotException, LitterRobotLoginException import voluptuous as vol from homeassistant....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/soundtouch/media_player.py
homeassistant/components/soundtouch/media_player.py
"""Support for interface with a Bose SoundTouch.""" from __future__ import annotations from functools import partial import logging from typing import Any from libsoundtouch.device import SoundTouchDevice from libsoundtouch.utils import Source from homeassistant.components import media_source from homeassistant.com...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/soundtouch/const.py
homeassistant/components/soundtouch/const.py
"""Constants for the Bose SoundTouch component.""" DOMAIN = "soundtouch" SERVICE_PLAY_EVERYWHERE = "play_everywhere" SERVICE_CREATE_ZONE = "create_zone" SERVICE_ADD_ZONE_SLAVE = "add_zone_slave" SERVICE_REMOVE_ZONE_SLAVE = "remove_zone_slave"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/soundtouch/__init__.py
homeassistant/components/soundtouch/__init__.py
"""The soundtouch component.""" import logging from libsoundtouch import soundtouch_device from libsoundtouch.device import SoundTouchDevice import requests import voluptuous as vol from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, Platform from homeassistant.core import...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/soundtouch/config_flow.py
homeassistant/components/soundtouch/config_flow.py
"""Config flow for Bose SoundTouch integration.""" from typing import Any from libsoundtouch import soundtouch_device from requests import RequestException import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST from homeassistant.helpe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snooz/models.py
homeassistant/components/snooz/models.py
"""Data models for the Snooz component.""" from dataclasses import dataclass from bleak.backends.device import BLEDevice from pysnooz.device import SnoozDevice @dataclass class SnoozConfigurationData: """Configuration data for Snooz.""" ble_device: BLEDevice device: SnoozDevice title: str
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snooz/const.py
homeassistant/components/snooz/const.py
"""Constants for the Snooz component.""" from homeassistant.const import Platform DOMAIN = "snooz" PLATFORMS: list[Platform] = [Platform.FAN] SERVICE_TRANSITION_ON = "transition_on" SERVICE_TRANSITION_OFF = "transition_off" ATTR_VOLUME = "volume" ATTR_DURATION = "duration" DEFAULT_TRANSITION_DURATION = 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/snooz/fan.py
homeassistant/components/snooz/fan.py
"""Fan representation of a Snooz device.""" from __future__ import annotations from collections.abc import Callable from datetime import timedelta from typing import Any from pysnooz.api import UnknownSnoozState from pysnooz.commands import ( SnoozCommandData, SnoozCommandResultStatus, set_volume, tu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/snooz/__init__.py
homeassistant/components/snooz/__init__.py
"""The Snooz component.""" from __future__ import annotations import logging from pysnooz.device import SnoozDevice from homeassistant.components.bluetooth import async_ble_device_from_address from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ADDRESS, CONF_TOKEN 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/snooz/config_flow.py
homeassistant/components/snooz/config_flow.py
"""Config flow for Snooz component.""" from __future__ import annotations import asyncio from dataclasses import dataclass from typing import Any from pysnooz.advertisement import SnoozAdvertisementData import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothScanningMode, Bluetoot...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zengge/__init__.py
homeassistant/components/zengge/__init__.py
"""The zengge 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/zengge/light.py
homeassistant/components/zengge/light.py
"""Support for Zengge lights.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.light import PLATFORM_SCHEMA as LIGHT_PLATFORM_SCHEMA from homeassistant.const import CONF_DEVICES, CONF_NAME from homeassistant.core import HomeAssistant from homeassistant.helpers 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/ohmconnect/sensor.py
homeassistant/components/ohmconnect/sensor.py
"""Support for OhmConnect.""" from __future__ import annotations from datetime import timedelta import logging import defusedxml.ElementTree as ET import requests import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorEntity, ) 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/ohmconnect/__init__.py
homeassistant/components/ohmconnect/__init__.py
"""The ohmconnect 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/remember_the_milk/storage.py
homeassistant/components/remember_the_milk/storage.py
"""Store RTM configuration in Home Assistant storage.""" from __future__ import annotations import json from pathlib import Path from typing import cast from homeassistant.const import CONF_TOKEN from homeassistant.core import HomeAssistant from .const import LOGGER CONFIG_FILE_NAME = ".remember_the_milk.conf" CON...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remember_the_milk/const.py
homeassistant/components/remember_the_milk/const.py
"""Constants for the Remember The Milk integration.""" import logging 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/remember_the_milk/__init__.py
homeassistant/components/remember_the_milk/__init__.py
"""Support to interact with Remember The Milk.""" from rtmapi import Rtm import voluptuous as vol from homeassistant.components import configurator from homeassistant.const import CONF_API_KEY, CONF_ID, CONF_NAME from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv fr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/remember_the_milk/entity.py
homeassistant/components/remember_the_milk/entity.py
"""Support to interact with Remember The Milk.""" from rtmapi import Rtm, RtmRequestFailedException from homeassistant.const import CONF_ID, CONF_NAME, STATE_OK from homeassistant.core import ServiceCall from homeassistant.helpers.entity import Entity from .const import LOGGER from .storage import RememberTheMilkCon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/diagnostics.py
homeassistant/components/incomfort/diagnostics.py
"""Diagnostics support for InComfort integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_PASSWORD from homeassistant.core import HomeAssistant, callback from .coordinator import InComfortCon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/binary_sensor.py
homeassistant/components/incomfort/binary_sensor.py
"""Support for an Intergas heater via an InComfort/InTouch Lan2RF gateway.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from incomfortclient import Heater as InComfortHeater from homeassistant.components.binary_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/incomfort/const.py
homeassistant/components/incomfort/const.py
"""Constants for Intergas InComfort integration.""" DOMAIN = "incomfort" CONF_LEGACY_SETPOINT_STATUS = "legacy_setpoint_status"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/coordinator.py
homeassistant/components/incomfort/coordinator.py
"""Datacoordinator for InComfort integration.""" from dataclasses import dataclass, field from datetime import timedelta import logging from typing import Any from aiohttp import ClientResponseError from incomfortclient import ( Gateway as InComfortGateway, Heater as InComfortHeater, InvalidHeaterList, ) ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/errors.py
homeassistant/components/incomfort/errors.py
"""Exceptions raised by Intergas InComfort integration.""" from homeassistant.exceptions import ConfigEntryNotReady, HomeAssistantError from .const import DOMAIN class NotFound(HomeAssistantError): """Raise exception if no Lan2RF Gateway was found.""" translation_domain = DOMAIN translation_key = "not_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/sensor.py
homeassistant/components/incomfort/sensor.py
"""Support for an Intergas heater via an InComfort/InTouch Lan2RF gateway.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from incomfortclient import Heater as InComfortHeater from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, S...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/__init__.py
homeassistant/components/incomfort/__init__.py
"""Support for an Intergas boiler via an InComfort/Intouch Lan2RF gateway.""" from __future__ import annotations from aiohttp import ClientResponseError from incomfortclient import InvalidGateway, InvalidHeaterList from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback from h...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/entity.py
homeassistant/components/incomfort/entity.py
"""Common entity classes for InComfort integration.""" from incomfortclient import Heater from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import InComfortDataCoordinator class IncomfortEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/water_heater.py
homeassistant/components/incomfort/water_heater.py
"""Support for an Intergas boiler via an InComfort/Intouch Lan2RF gateway.""" from __future__ import annotations import logging from typing import Any from incomfortclient import Heater as InComfortHeater from homeassistant.components.water_heater import WaterHeaterEntity from homeassistant.const import EntityCateg...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/climate.py
homeassistant/components/incomfort/climate.py
"""Support for an Intergas boiler via an InComfort/InTouch Lan2RF gateway.""" from __future__ import annotations from typing import Any from incomfortclient import Heater as InComfortHeater, Room as InComfortRoom from homeassistant.components.climate import ( ClimateEntity, ClimateEntityFeature, HVACAct...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/incomfort/config_flow.py
homeassistant/components/incomfort/config_flow.py
"""Config flow support for Intergas InComfort integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from incomfortclient import InvalidGateway, InvalidHeaterList import voluptuous as vol from homeassistant.config_entries import ( SOURCE_RECO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensorpush_cloud/const.py
homeassistant/components/sensorpush_cloud/const.py
"""Constants for the SensorPush Cloud integration.""" from datetime import timedelta import logging from typing import Final LOGGER = logging.getLogger(__package__) DOMAIN: Final = "sensorpush_cloud" UPDATE_INTERVAL: Final = timedelta(seconds=60) MAX_TIME_BETWEEN_UPDATES: Final = UPDATE_INTERVAL * 60
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensorpush_cloud/coordinator.py
homeassistant/components/sensorpush_cloud/coordinator.py
"""Coordinator for the SensorPush Cloud integration.""" from __future__ import annotations from sensorpush_ha import ( SensorPushCloudApi, SensorPushCloudData, SensorPushCloudError, SensorPushCloudHelper, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_EMAI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensorpush_cloud/sensor.py
homeassistant/components/sensorpush_cloud/sensor.py
"""Support for SensorPush Cloud sensors.""" from __future__ import annotations from typing import Final from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( ATTR_TEMPERATURE, PERCENTAGE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sensorpush_cloud/__init__.py
homeassistant/components/sensorpush_cloud/__init__.py
"""The SensorPush Cloud integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import SensorPushCloudConfigEntry, SensorPushCloudCoordinator PLATFORMS: list[Platform] = [Platform.SENSOR] async def async_setup_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/sensorpush_cloud/config_flow.py
homeassistant/components/sensorpush_cloud/config_flow.py
"""Config flow for the SensorPush Cloud integration.""" from __future__ import annotations from typing import Any from sensorpush_ha import SensorPushCloudApi, SensorPushCloudAuthError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const 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/hitron_coda/device_tracker.py
homeassistant/components/hitron_coda/device_tracker.py
"""Support for the Hitron CODA-4582U, provided by Rogers.""" from __future__ import annotations from collections import namedtuple from http import HTTPStatus import logging import requests import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, 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/hitron_coda/__init__.py
homeassistant/components/hitron_coda/__init__.py
"""The hitron_coda component."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false