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/met/const.py
homeassistant/components/met/const.py
"""Constants for Met component.""" from homeassistant.components.weather import ( ATTR_CONDITION_CLEAR_NIGHT, ATTR_CONDITION_CLOUDY, ATTR_CONDITION_FOG, ATTR_CONDITION_LIGHTNING_RAINY, ATTR_CONDITION_PARTLYCLOUDY, ATTR_CONDITION_POURING, ATTR_CONDITION_RAINY, ATTR_CONDITION_SNOWY, 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/met/coordinator.py
homeassistant/components/met/coordinator.py
"""DataUpdateCoordinator for Met.no integration.""" from __future__ import annotations from collections.abc import Callable, Mapping from datetime import timedelta import logging from random import randrange from typing import Any, Self import metno from homeassistant.config_entries import ConfigEntry from homeassi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/met/__init__.py
homeassistant/components/met/__init__.py
"""The met component.""" from __future__ import annotations import logging from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr from .const import ( CONF_TRACK_HOME, DEFAULT_HOME_LATITUDE, DEFAULT_HOME_LONGITUDE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/met/config_flow.py
homeassistant/components/met/config_flow.py
"""Config flow to configure Met component.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult, OptionsFlowWithReload, ) from homeassistant.const import ( CONF_ELEVATION, 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/generic_hygrostat/__init__.py
homeassistant/components/generic_hygrostat/__init__.py
"""The generic_hygrostat component.""" import logging import voluptuous as vol from homeassistant.components.humidifier import HumidifierDeviceClass from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_NAME, CONF_UNIQUE_ID, Platform from homeassistant.core import Event, 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/generic_hygrostat/humidifier.py
homeassistant/components/generic_hygrostat/humidifier.py
"""Adds support for generic hygrostat units.""" from __future__ import annotations import asyncio from collections.abc import Callable, Mapping from datetime import datetime, timedelta import logging from typing import TYPE_CHECKING, Any, cast from homeassistant.components.humidifier import ( ATTR_HUMIDITY, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/generic_hygrostat/config_flow.py
homeassistant/components/generic_hygrostat/config_flow.py
"""Config flow for Generic hygrostat.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast import voluptuous as vol from homeassistant.components import fan, switch from homeassistant.components.humidifier import HumidifierDeviceClass from homeassistant.components.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/brunt/cover.py
homeassistant/components/brunt/cover.py
"""Support for Brunt Blind Engine covers.""" from __future__ import annotations from typing import Any from aiohttp.client_exceptions import ClientResponseError from brunt import Thing from homeassistant.components.cover import ( ATTR_POSITION, CoverDeviceClass, CoverEntity, CoverEntityFeature, ) 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/brunt/const.py
homeassistant/components/brunt/const.py
"""Constants for Brunt.""" from datetime import timedelta from homeassistant.const import Platform DOMAIN = "brunt" ATTR_REQUEST_POSITION = "request_position" NOTIFICATION_ID = "brunt_notification" NOTIFICATION_TITLE = "Brunt Cover Setup" ATTRIBUTION = "Based on an unofficial Brunt SDK." PLATFORMS = [Platform.COVER]...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/brunt/coordinator.py
homeassistant/components/brunt/coordinator.py
"""The brunt component.""" from __future__ import annotations from asyncio import timeout import logging from aiohttp.client_exceptions import ClientResponseError, ServerDisconnectedError from brunt import BruntClientAsync, Thing from homeassistant.config_entries import ConfigEntry from homeassistant.const import 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/brunt/__init__.py
homeassistant/components/brunt/__init__.py
"""The brunt component.""" from __future__ import annotations from homeassistant.core import HomeAssistant from .const import PLATFORMS from .coordinator import BruntConfigEntry, BruntCoordinator async def async_setup_entry(hass: HomeAssistant, entry: BruntConfigEntry) -> bool: """Set up Brunt using config flo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/brunt/config_flow.py
homeassistant/components/brunt/config_flow.py
"""Config flow for brunt integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from aiohttp import ClientResponseError from aiohttp.client_exceptions import ServerDisconnectedError from brunt import BruntClientAsync import voluptuous as vol 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/aqualogic/switch.py
homeassistant/components/aqualogic/switch.py
"""Support for AquaLogic switches.""" from __future__ import annotations from typing import Any from aqualogic.core import States import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_PLATFORM_SCHEMA, SwitchEntity, ) from homeassistant.const import CONF_MONITORED_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/aqualogic/sensor.py
homeassistant/components/aqualogic/sensor.py
"""Support for AquaLogic sensors.""" from __future__ import annotations from dataclasses import dataclass import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, SensorDeviceClass, SensorEntity, SensorEntityDescription, ) 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/aqualogic/__init__.py
homeassistant/components/aqualogic/__init__.py
"""Support for AquaLogic devices.""" from __future__ import annotations from datetime import timedelta import logging import threading import time from aqualogic.core import AquaLogic import voluptuous as vol from homeassistant.const import ( CONF_HOST, CONF_PORT, EVENT_HOMEASSISTANT_START, EVENT_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/web_rtc/__init__.py
homeassistant/components/web_rtc/__init__.py
"""The WebRTC integration.""" from __future__ import annotations from collections.abc import Callable, Iterable from typing import Any import voluptuous as vol from webrtc_models import RTCIceServer from homeassistant.components import websocket_api from homeassistant.const import CONF_URL, CONF_USERNAME 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/tami4/const.py
homeassistant/components/tami4/const.py
"""Constants for tami4 component.""" DOMAIN = "tami4" CONF_PHONE = "phone" CONF_REFRESH_TOKEN = "refresh_token" API = "api" COORDINATOR = "coordinator"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tami4/coordinator.py
homeassistant/components/tami4/coordinator.py
"""Water quality coordinator for Tami4Edge.""" from dataclasses import dataclass from datetime import date, timedelta import logging from Tami4EdgeAPI import Tami4EdgeAPI, exceptions from Tami4EdgeAPI.water_quality import WaterQuality from homeassistant.config_entries import ConfigEntry from homeassistant.core 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/tami4/sensor.py
homeassistant/components/tami4/sensor.py
"""Sensor entities for Tami4Edge.""" import logging from Tami4EdgeAPI import Tami4EdgeAPI from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import Un...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tami4/__init__.py
homeassistant/components/tami4/__init__.py
"""The Tami4Edge integration.""" from __future__ import annotations from Tami4EdgeAPI import Tami4EdgeAPI, exceptions from homeassistant.config_entries import ConfigEntry from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryError, 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/tami4/entity.py
homeassistant/components/tami4/entity.py
"""Base entity for Tami4Edge.""" from __future__ import annotations from Tami4EdgeAPI import Tami4EdgeAPI from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity, EntityDescription from .const import DOMAIN class Tami4EdgeBaseEntity(Entity): """Base class 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/tami4/button.py
homeassistant/components/tami4/button.py
"""Button entities for Tami4Edge.""" from collections.abc import Callable from dataclasses import dataclass import logging from Tami4EdgeAPI import Tami4EdgeAPI from Tami4EdgeAPI.drink import Drink from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.config_entries imp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/tami4/config_flow.py
homeassistant/components/tami4/config_flow.py
"""Config flow for edge integration.""" from __future__ import annotations import logging import re from typing import Any from Tami4EdgeAPI import Tami4EdgeAPI, exceptions import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.exceptions import HomeAssista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/generic_thermostat/const.py
homeassistant/components/generic_thermostat/const.py
"""Constants for the Generic Thermostat helper.""" from homeassistant.components.climate import ( PRESET_ACTIVITY, PRESET_AWAY, PRESET_COMFORT, PRESET_ECO, PRESET_HOME, PRESET_SLEEP, ) from homeassistant.const import Platform DOMAIN = "generic_thermostat" PLATFORMS = [Platform.CLIMATE] 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/generic_thermostat/__init__.py
homeassistant/components/generic_thermostat/__init__.py
"""The generic_thermostat component.""" import logging from homeassistant.config_entries import ConfigEntry from homeassistant.core import Event, HomeAssistant from homeassistant.helpers import entity_registry as er from homeassistant.helpers.device import ( async_entity_id_to_device_id, async_remove_stale_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/generic_thermostat/climate.py
homeassistant/components/generic_thermostat/climate.py
"""Adds support for generic thermostat units.""" from __future__ import annotations import asyncio from collections.abc import Mapping from datetime import datetime, timedelta import logging import math from typing import Any import voluptuous as vol from homeassistant.components.climate import ( ATTR_PRESET_MO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/generic_thermostat/config_flow.py
homeassistant/components/generic_thermostat/config_flow.py
"""Config flow for Generic hygrostat.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast import voluptuous as vol from homeassistant.components import fan, switch from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN, SensorDeviceClass 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/efergy/const.py
homeassistant/components/efergy/const.py
"""Constants for the Efergy integration.""" from datetime import timedelta import logging from typing import Final CONF_CURRENT_VALUES = "current_values" DEFAULT_NAME = "Efergy" DOMAIN: Final = "efergy" LOGGER = logging.getLogger(__package__) MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/efergy/sensor.py
homeassistant/components/efergy/sensor.py
"""Support for Efergy sensors.""" from __future__ import annotations import dataclasses from re import sub from typing import cast from pyefergy import Efergy from pyefergy.exceptions import ConnectError, DataError, ServiceError from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/efergy/__init__.py
homeassistant/components/efergy/__init__.py
"""The Efergy integration.""" from __future__ import annotations from pyefergy import Efergy, exceptions from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/efergy/entity.py
homeassistant/components/efergy/entity.py
"""The Efergy integration.""" from __future__ import annotations from pyefergy import Efergy from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.entity import Entity from .const import DEFAULT_NAME, DOMAIN class EfergyEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/efergy/config_flow.py
homeassistant/components/efergy/config_flow.py
"""Config flow for Efergy integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from pyefergy import Efergy, exceptions import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_API_KEY ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waqi/diagnostics.py
homeassistant/components/waqi/diagnostics.py
"""Diagnostics support for WAQI.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.core import HomeAssistant from .coordinator import WAQIConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: WAQIConfigEntry ) -> dict...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waqi/const.py
homeassistant/components/waqi/const.py
"""Constants for the World Air Quality Index (WAQI) integration.""" import logging DOMAIN = "waqi" LOGGER = logging.getLogger(__package__) CONF_STATION_NUMBER = "station_number" SUBENTRY_TYPE_STATION = "station"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waqi/coordinator.py
homeassistant/components/waqi/coordinator.py
"""Coordinator for the World Air Quality Index (WAQI) integration.""" from __future__ import annotations from datetime import timedelta from aiowaqi import WAQIAirQuality, WAQIClient, WAQIError from homeassistant.config_entries import ConfigEntry, ConfigSubentry from homeassistant.core import HomeAssistant from hom...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waqi/sensor.py
homeassistant/components/waqi/sensor.py
"""Support for the World Air Quality Index service.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from aiowaqi import WAQIAirQuality from aiowaqi.models import Pollutant from homeassistant.components.sensor import ( SensorDeviceClass, SensorEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/waqi/__init__.py
homeassistant/components/waqi/__init__.py
"""The World Air Quality Index (WAQI) integration.""" from __future__ import annotations from types import MappingProxyType from typing import TYPE_CHECKING from aiowaqi import WAQIClient from homeassistant.config_entries import ConfigEntry, ConfigSubentry from homeassistant.const import CONF_API_KEY, Platform 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/waqi/config_flow.py
homeassistant/components/waqi/config_flow.py
"""Config flow for World Air Quality Index (WAQI) integration.""" from __future__ import annotations import logging from typing import Any from aiowaqi import ( WAQIAirQuality, WAQIAuthenticationError, WAQIClient, WAQIConnectionError, ) import voluptuous as vol from homeassistant.config_entries 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/numato/switch.py
homeassistant/components/numato/switch.py
"""Switch platform integration for Numato USB GPIO expanders.""" from __future__ import annotations import logging from typing import Any from numato_gpio import NumatoGpioError from homeassistant.components.switch import SwitchEntity from homeassistant.const import ( CONF_DEVICES, CONF_ID, CONF_SWITCHE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/numato/binary_sensor.py
homeassistant/components/numato/binary_sensor.py
"""Binary sensor platform integration for Numato USB GPIO expanders.""" from __future__ import annotations from functools import partial import logging from numato_gpio import NumatoGpioError from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.const import DEVICE_DEFAULT_NAME 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/numato/sensor.py
homeassistant/components/numato/sensor.py
"""Sensor platform integration for ADC ports of Numato USB GPIO expanders.""" from __future__ import annotations import logging from numato_gpio import NumatoGpioError from homeassistant.components.sensor import SensorEntity from homeassistant.const import CONF_ID, CONF_NAME, CONF_SENSORS 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/numato/__init__.py
homeassistant/components/numato/__init__.py
"""Support for controlling GPIO pins of a Numato Labs USB GPIO expander.""" from collections.abc import Callable import logging import numato_gpio as gpio import voluptuous as vol from homeassistant.const import ( CONF_BINARY_SENSORS, CONF_ID, CONF_NAME, CONF_SENSORS, CONF_SWITCHES, EVENT_HOM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fido/sensor.py
homeassistant/components/fido/sensor.py
"""Support for Fido. Get data from 'Usage Summary' page: https://www.fido.ca/pages/#/my-account/wireless """ from __future__ import annotations from datetime import timedelta import logging from pyfido import FidoClient from pyfido.client import PyFidoError import voluptuous as vol from homeassistant.components.se...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fido/__init__.py
homeassistant/components/fido/__init__.py
"""The fido 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/philips_js/media_player.py
homeassistant/components/philips_js/media_player.py
"""Media Player component to integrate TVs exposing the Joint Space API.""" from __future__ import annotations from typing import Any from haphilipsjs import ConnectionFailure from homeassistant.components.media_player import ( BrowseError, BrowseMedia, MediaClass, MediaPlayerDeviceClass, MediaP...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/philips_js/device_trigger.py
homeassistant/components/philips_js/device_trigger.py
"""Provides device automations for control of device.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA from homeassistant.const import CONF_DEVICE_ID, CONF_TYPE from homeassistant.core import CALLBACK_TYPE, 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/philips_js/diagnostics.py
homeassistant/components/philips_js/diagnostics.py
"""Diagnostics support for Philips JS.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant from .coordinator import PhilipsTVConfigEntry TO_REDACT = { "serialnumber_encrypted", "serialnu...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/philips_js/switch.py
homeassistant/components/philips_js/switch.py
"""Philips TV menu switches.""" from __future__ import annotations from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from .coordinator import PhilipsTVConfigEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/philips_js/binary_sensor.py
homeassistant/components/philips_js/binary_sensor.py
"""Philips TV binary sensors.""" from __future__ import annotations from dataclasses import dataclass from haphilipsjs import PhilipsTV from homeassistant.components.binary_sensor import ( BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.core import HomeAssistant, callback 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/philips_js/const.py
homeassistant/components/philips_js/const.py
"""The Philips TV constants.""" DOMAIN = "philips_js" CONF_SYSTEM = "system" CONF_ALLOW_NOTIFY = "allow_notify" CONST_APP_ID = "homeassistant.io" CONST_APP_NAME = "Home Assistant" TRIGGER_TYPE_TURN_ON = "turn_on"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/philips_js/coordinator.py
homeassistant/components/philips_js/coordinator.py
"""Coordinator for the Philips TV integration.""" from __future__ import annotations import asyncio from datetime import timedelta import logging from haphilipsjs import ( AutenticationFailure, ConnectionFailure, GeneralFailure, PhilipsTV, ) from haphilipsjs.typing import SystemType 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/philips_js/helpers.py
homeassistant/components/philips_js/helpers.py
"""Helpers for philips_js.""" from homeassistant.const import CONF_DEVICE_ID, CONF_DOMAIN, CONF_PLATFORM, CONF_TYPE from .const import DOMAIN, TRIGGER_TYPE_TURN_ON def async_get_turn_on_trigger(device_id: str) -> dict[str, str]: """Return trigger description for a turn on trigger.""" return { 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/philips_js/__init__.py
homeassistant/components/philips_js/__init__.py
"""The Philips TV integration.""" from __future__ import annotations import logging from haphilipsjs import PhilipsTV from haphilipsjs.typing import SystemType from homeassistant.const import ( CONF_API_VERSION, CONF_HOST, CONF_PASSWORD, CONF_USERNAME, 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/philips_js/remote.py
homeassistant/components/philips_js/remote.py
"""Remote control support for Apple TV.""" from __future__ import annotations import asyncio from collections.abc import Iterable from typing import Any from homeassistant.components.remote import ( ATTR_DELAY_SECS, ATTR_NUM_REPEATS, DEFAULT_DELAY_SECS, RemoteEntity, ) 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/philips_js/entity.py
homeassistant/components/philips_js/entity.py
"""Base Philips js entity.""" from __future__ import annotations from homeassistant.helpers.update_coordinator import CoordinatorEntity from .coordinator import PhilipsTVDataUpdateCoordinator class PhilipsJsEntity(CoordinatorEntity[PhilipsTVDataUpdateCoordinator]): """Base Philips js entity.""" _attr_has_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/philips_js/light.py
homeassistant/components/philips_js/light.py
"""Component to integrate ambilight for TVs exposing the Joint Space API.""" from __future__ import annotations from dataclasses import dataclass from typing import Any, cast from haphilipsjs import PhilipsTV from haphilipsjs.typing import AmbilightCurrentConfiguration from homeassistant.components.light 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/philips_js/config_flow.py
homeassistant/components/philips_js/config_flow.py
"""Config flow for Philips TV integration.""" from __future__ import annotations from collections.abc import Mapping import platform from typing import Any from haphilipsjs import ( DEFAULT_API_VERSION, ConnectionFailure, GeneralFailure, PairingFailure, PhilipsTV, ) import voluptuous as vol 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/command_line/cover.py
homeassistant/components/command_line/cover.py
"""Support for command line covers.""" from __future__ import annotations import asyncio from datetime import datetime, timedelta from typing import TYPE_CHECKING, Any from homeassistant.components.cover import CoverEntity from homeassistant.const import ( CONF_COMMAND_CLOSE, CONF_COMMAND_OPEN, CONF_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/command_line/switch.py
homeassistant/components/command_line/switch.py
"""Support for custom shell commands to turn a switch on/off.""" from __future__ import annotations import asyncio from datetime import datetime, timedelta from typing import TYPE_CHECKING, Any from homeassistant.components.switch import ENTITY_ID_FORMAT, SwitchEntity from homeassistant.const import ( CONF_COMMA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/command_line/binary_sensor.py
homeassistant/components/command_line/binary_sensor.py
"""Support for custom shell commands to retrieve values.""" from __future__ import annotations import asyncio from datetime import datetime, timedelta from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.const import ( CONF_COMMAND, CONF_NAME, CONF_PAYLOAD_OFF, 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/command_line/const.py
homeassistant/components/command_line/const.py
"""Allows to configure custom shell commands to turn a value for a sensor.""" import logging from homeassistant.components.sensor import CONF_STATE_CLASS from homeassistant.const import ( CONF_DEVICE_CLASS, CONF_ICON, CONF_UNIQUE_ID, CONF_UNIT_OF_MEASUREMENT, Platform, ) 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/command_line/utils.py
homeassistant/components/command_line/utils.py
"""The command_line component utils.""" from __future__ import annotations import asyncio from homeassistant.core import HomeAssistant from homeassistant.exceptions import TemplateError from homeassistant.helpers.template import Template from .const import LOGGER _EXEC_FAILED_CODE = 127 async def async_call_shel...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/command_line/sensor.py
homeassistant/components/command_line/sensor.py
"""Allows to configure custom shell commands to turn a value for a sensor.""" from __future__ import annotations import asyncio from collections.abc import Mapping from datetime import datetime, timedelta import json from typing import Any from jsonpath import jsonpath from homeassistant.const import ( CONF_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/command_line/__init__.py
homeassistant/components/command_line/__init__.py
"""The command_line component.""" from __future__ import annotations import asyncio from collections.abc import Coroutine import logging from typing import Any import voluptuous as vol from homeassistant.components.binary_sensor import ( DEVICE_CLASSES_SCHEMA as BINARY_SENSOR_DEVICE_CLASSES_SCHEMA, DOMAIN 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/command_line/notify.py
homeassistant/components/command_line/notify.py
"""Support for command line notification services.""" from __future__ import annotations import logging import subprocess from typing import Any from homeassistant.components.notify import BaseNotificationService from homeassistant.const import CONF_COMMAND from homeassistant.core import HomeAssistant 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/plugwise/diagnostics.py
homeassistant/components/plugwise/diagnostics.py
"""Diagnostics support for Plugwise.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .coordinator import PlugwiseConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: PlugwiseConfigEntry ) -> dict[str, Any]: """...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/util.py
homeassistant/components/plugwise/util.py
"""Utilities for Plugwise.""" from collections.abc import Awaitable, Callable, Coroutine from typing import Any, Concatenate from plugwise.exceptions import PlugwiseException from homeassistant.exceptions import HomeAssistantError from .const import DOMAIN from .entity import PlugwiseEntity def plugwise_command[_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/switch.py
homeassistant/components/plugwise/switch.py
"""Plugwise Switch component for HomeAssistant.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from plugwise.constants import SwitchType from homeassistant.components.switch import ( SwitchDeviceClass, SwitchEntity, SwitchEntityDescription, ) 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/plugwise/number.py
homeassistant/components/plugwise/number.py
"""Number platform for Plugwise integration.""" from __future__ import annotations from dataclasses import dataclass from homeassistant.components.number import ( NumberDeviceClass, NumberEntity, NumberEntityDescription, NumberMode, ) from homeassistant.const import EntityCategory, UnitOfTemperature ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/binary_sensor.py
homeassistant/components/plugwise/binary_sensor.py
"""Plugwise Binary Sensor component for Home Assistant.""" from __future__ import annotations from collections.abc import Mapping from dataclasses import dataclass from typing import Any from plugwise.constants import BinarySensorType from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/const.py
homeassistant/components/plugwise/const.py
"""Constants for Plugwise component.""" from __future__ import annotations from datetime import timedelta import logging from typing import Final, Literal from homeassistant.const import Platform DOMAIN: Final = "plugwise" LOGGER = logging.getLogger(__package__) ANNA_WITH_ADAM: Final = "anna_with_adam" API: Final...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/coordinator.py
homeassistant/components/plugwise/coordinator.py
"""DataUpdateCoordinator for Plugwise.""" from packaging.version import Version from plugwise import GwEntityData, Smile from plugwise.exceptions import ( ConnectionFailedError, InvalidAuthentication, InvalidSetupError, InvalidXMLError, PlugwiseError, ResponseError, UnsupportedDeviceError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/sensor.py
homeassistant/components/plugwise/sensor.py
"""Plugwise Sensor component for Home Assistant.""" from __future__ import annotations from dataclasses import dataclass from plugwise.constants import SensorType from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) 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/plugwise/__init__.py
homeassistant/components/plugwise/__init__.py
"""Plugwise platform for Home Assistant Core.""" from __future__ import annotations from typing import Any from homeassistant.const import Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import device_registry as dr, entity_registry as er from .const import DEV_CLASS, DOMA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/entity.py
homeassistant/components/plugwise/entity.py
"""Generic Plugwise Entity Class.""" from __future__ import annotations from plugwise import GwEntityData from homeassistant.const import ATTR_NAME, ATTR_VIA_DEVICE, CONF_HOST from homeassistant.helpers.device_registry import ( CONNECTION_NETWORK_MAC, CONNECTION_ZIGBEE, DeviceInfo, ) from homeassistant.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/plugwise/button.py
homeassistant/components/plugwise/button.py
"""Plugwise Button component for Home Assistant.""" from __future__ import annotations from homeassistant.components.button import ButtonDeviceClass, ButtonEntity from homeassistant.const import EntityCategory from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/select.py
homeassistant/components/plugwise/select.py
"""Plugwise Select component for Home Assistant.""" from __future__ import annotations from dataclasses import dataclass from homeassistant.components.select import SelectEntity, SelectEntityDescription from homeassistant.const import STATE_ON, EntityCategory from homeassistant.core import HomeAssistant, callback 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/plugwise/climate.py
homeassistant/components/plugwise/climate.py
"""Plugwise Climate component for Home Assistant.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from homeassistant.components.climate import ( ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, ClimateEntity, ClimateEntityFeature, HVA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/plugwise/config_flow.py
homeassistant/components/plugwise/config_flow.py
"""Config flow for Plugwise integration.""" from __future__ import annotations import logging from typing import Any, Self from plugwise import Smile from plugwise.exceptions import ( ConnectionFailedError, InvalidAuthentication, InvalidSetupError, InvalidXMLError, ResponseError, UnsupportedD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/panasonic_viera/media_player.py
homeassistant/components/panasonic_viera/media_player.py
"""Media player support for Panasonic Viera TV.""" from __future__ import annotations import logging from typing import Any from panasonic_viera import Keys from homeassistant.components import media_source from homeassistant.components.media_player import ( BrowseMedia, MediaPlayerDeviceClass, MediaPla...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/panasonic_viera/const.py
homeassistant/components/panasonic_viera/const.py
"""Constants for the Panasonic Viera integration.""" DOMAIN = "panasonic_viera" DEVICE_MANUFACTURER = "Panasonic" CONF_ON_ACTION = "turn_on_action" CONF_APP_ID = "app_id" CONF_ENCRYPTION_KEY = "encryption_key" DEFAULT_NAME = "Panasonic Viera TV" DEFAULT_PORT = 55000 ATTR_REMOTE = "remote" ATTR_DEVICE_INFO = "devi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/panasonic_viera/__init__.py
homeassistant/components/panasonic_viera/__init__.py
"""The Panasonic Viera integration.""" from collections.abc import Callable from functools import partial import logging from typing import Any from urllib.error import HTTPError, URLError from panasonic_viera import EncryptionRequired, Keys, RemoteControl, SOAPError import voluptuous as vol 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/panasonic_viera/remote.py
homeassistant/components/panasonic_viera/remote.py
"""Remote control support for Panasonic Viera TV.""" from __future__ import annotations from collections.abc import Iterable from typing import Any from homeassistant.components.remote import RemoteEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_NAME, STATE_ON 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/panasonic_viera/config_flow.py
homeassistant/components/panasonic_viera/config_flow.py
"""Config flow for Panasonic Viera TV integration.""" from functools import partial import logging from typing import Any from urllib.error import URLError from panasonic_viera import TV_TYPE_ENCRYPTED, RemoteControl, SOAPError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acaia/diagnostics.py
homeassistant/components/acaia/diagnostics.py
"""Diagnostics support for Acaia.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.core import HomeAssistant from . import AcaiaConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, entry: AcaiaConfigEntry, ) -> dict[st...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acaia/binary_sensor.py
homeassistant/components/acaia/binary_sensor.py
"""Binary sensor platform for Acaia scales.""" from collections.abc import Callable from dataclasses import dataclass from aioacaia.acaiascale import AcaiaScale from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/acaia/const.py
homeassistant/components/acaia/const.py
"""Constants for component.""" DOMAIN = "acaia" CONF_IS_NEW_STYLE_SCALE = "is_new_style_scale"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acaia/coordinator.py
homeassistant/components/acaia/coordinator.py
"""Coordinator for Acaia integration.""" from __future__ import annotations from datetime import timedelta import logging from aioacaia.acaiascale import AcaiaScale from aioacaia.exceptions import AcaiaDeviceNotFound, AcaiaError from homeassistant.components.bluetooth import async_get_scanner from homeassistant.con...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/acaia/sensor.py
homeassistant/components/acaia/sensor.py
"""Sensor platform for Acaia.""" from collections.abc import Callable from dataclasses import dataclass from aioacaia.acaiascale import AcaiaDeviceState, AcaiaScale from aioacaia.const import UnitMass as AcaiaUnitOfMass from homeassistant.components.sensor import ( RestoreSensor, SensorDeviceClass, 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/acaia/__init__.py
homeassistant/components/acaia/__init__.py
"""Initialize the Acaia component.""" from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import AcaiaConfigEntry, AcaiaCoordinator PLATFORMS = [ Platform.BINARY_SENSOR, Platform.BUTTON, Platform.SENSOR, ] async def async_setup_entry(hass: 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/acaia/entity.py
homeassistant/components/acaia/entity.py
"""Base class for Acaia entities.""" from dataclasses import dataclass from homeassistant.helpers.device_registry import ( CONNECTION_BLUETOOTH, DeviceInfo, format_mac, ) from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorEntity 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/acaia/button.py
homeassistant/components/acaia/button.py
"""Button entities for Acaia scales.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from aioacaia.acaiascale import AcaiaScale from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.core import HomeAssistant 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/acaia/config_flow.py
homeassistant/components/acaia/config_flow.py
"""Config flow for Acaia integration.""" import logging from typing import Any from aioacaia.exceptions import AcaiaDeviceNotFound, AcaiaError, AcaiaUnknownDevice from aioacaia.helpers import is_new_scale import voluptuous as vol from homeassistant.components.bluetooth import ( BluetoothServiceInfoBleak, 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/airthings/const.py
homeassistant/components/airthings/const.py
"""Constants for the Airthings integration.""" DOMAIN = "airthings" CONF_SECRET = "secret"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airthings/coordinator.py
homeassistant/components/airthings/coordinator.py
"""The Airthings integration.""" from datetime import timedelta import logging from airthings import Airthings, AirthingsDevice, AirthingsError from homeassistant.config_entries import ConfigEntry 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/airthings/sensor.py
homeassistant/components/airthings/sensor.py
"""Support for Airthings sensors.""" from __future__ import annotations from airthings import AirthingsDevice from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( CONCENTRATION_MICROGRAMS_PER_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/airthings/__init__.py
homeassistant/components/airthings/__init__.py
"""The Airthings integration.""" from __future__ import annotations from datetime import timedelta import logging from airthings import Airthings from homeassistant.const import CONF_ID, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession 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/airthings/config_flow.py
homeassistant/components/airthings/config_flow.py
"""Config flow for Airthings integration.""" from __future__ import annotations import logging from typing import Any import airthings import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_ID from homeassistant.helpers.aiohttp_client 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/generic/diagnostics.py
homeassistant/components/generic/diagnostics.py
"""Diagnostics support for generic (IP camera).""" from __future__ import annotations from typing import Any import yarl from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PASSWORD, CONF_USERNAME 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/generic/camera.py
homeassistant/components/generic/camera.py
"""Support for IP Cameras.""" from __future__ import annotations import asyncio from collections.abc import Mapping from datetime import datetime, timedelta import logging from typing import Any import httpx import voluptuous as vol import yarl from homeassistant.components.camera import Camera, CameraEntityFeature...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false