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/supla/entity.py
homeassistant/components/supla/entity.py
"""Base class for SUPLA channels.""" from __future__ import annotations import logging from homeassistant.helpers.update_coordinator import CoordinatorEntity _LOGGER = logging.getLogger(__name__) class SuplaEntity(CoordinatorEntity): """Base class of a SUPLA Channel (an equivalent of HA's Entity).""" def...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/api.py
homeassistant/components/iotty/api.py
"""API for iotty bound to Home Assistant OAuth.""" from __future__ import annotations from typing import Any from aiohttp import ClientSession from iottycloud.cloudapi import CloudApi from homeassistant.core import HomeAssistant from homeassistant.helpers import config_entry_oauth2_flow OAUTH2_CLIENT_ID = "hass-io...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/application_credentials.py
homeassistant/components/iotty/application_credentials.py
"""Application credentials platform for iotty.""" from __future__ import annotations from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant OAUTH2_AUTHORIZE = "https://auth.iotty.com/.auth/oauth2/login" OAUTH2_TOKEN = "https://auth.iotty.com/.aut...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/cover.py
homeassistant/components/iotty/cover.py
"""Implement a iotty Shutter Device.""" from __future__ import annotations import logging from typing import Any from iottycloud.device import Device from iottycloud.shutter import Shutter, ShutterState from iottycloud.verbs import SH_DEVICE_TYPE_UID from homeassistant.components.cover import ( ATTR_POSITION, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/switch.py
homeassistant/components/iotty/switch.py
"""Implement a iotty Light Switch Device.""" from __future__ import annotations import logging from typing import TYPE_CHECKING, Any from iottycloud.lightswitch import LightSwitch from iottycloud.outlet import Outlet from iottycloud.verbs import ( COMMAND_TURNOFF, COMMAND_TURNON, LS_DEVICE_TYPE_UID, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/const.py
homeassistant/components/iotty/const.py
"""Constants for the iotty integration.""" from __future__ import annotations DOMAIN = "iotty"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/coordinator.py
homeassistant/components/iotty/coordinator.py
"""DataUpdateCoordinator for iotty.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta import logging from iottycloud.device import Device from iottycloud.shutter import Shutter from iottycloud.verbs import OPEN_PERCENTAGE, RESULT, STATUS from homeassistant.config...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/__init__.py
homeassistant/components/iotty/__init__.py
"""The iotty integration.""" from __future__ import annotations import logging from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.config_entry_oauth2_flow import ( OAuth2Session, async_get_config_entry_implementation, ) from .coordinator 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/iotty/entity.py
homeassistant/components/iotty/entity.py
"""Base class for iotty entities.""" import logging from iottycloud.lightswitch import Device from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .api import IottyProxy from .const import DOMAIN from .coordinator import IottyDataUp...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iotty/config_flow.py
homeassistant/components/iotty/config_flow.py
"""Config flow for iotty.""" from __future__ import annotations import logging from homeassistant.helpers import config_entry_oauth2_flow from .const import DOMAIN class OAuth2FlowHandler( config_entry_oauth2_flow.AbstractOAuth2FlowHandler, domain=DOMAIN ): """Config flow to handle iotty OAuth2 authentica...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/media_player.py
homeassistant/components/system_bridge/media_player.py
"""Support for System Bridge media players.""" from __future__ import annotations import datetime as dt from typing import Final from systembridgeconnector.models.media_control import MediaAction, MediaControl from homeassistant.components.media_player import ( MediaPlayerDeviceClass, MediaPlayerEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/media_source.py
homeassistant/components/system_bridge/media_source.py
"""System Bridge Media Source Implementation.""" from __future__ import annotations from systembridgeconnector.models.media_directories import MediaDirectory from systembridgeconnector.models.media_files import MediaFile, MediaFiles from systembridgeconnector.models.media_get_files import MediaGetFiles 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/system_bridge/binary_sensor.py
homeassistant/components/system_bridge/binary_sensor.py
"""Support for System Bridge binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) 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/system_bridge/const.py
homeassistant/components/system_bridge/const.py
"""Constants for the System Bridge integration.""" from typing import Final from systembridgeconnector.models.modules import Module DOMAIN = "system_bridge" MODULES: Final[list[Module]] = [ Module.BATTERY, Module.CPU, Module.DISKS, Module.DISPLAYS, Module.GPUS, Module.MEDIA, Module.MEMOR...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/coordinator.py
homeassistant/components/system_bridge/coordinator.py
"""DataUpdateCoordinator for System Bridge.""" from __future__ import annotations from asyncio import Task from collections.abc import Callable from datetime import timedelta import logging from typing import Any from systembridgeconnector.exceptions import ( AuthenticationException, ConnectionClosedExceptio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/update.py
homeassistant/components/system_bridge/update.py
"""Support for System Bridge updates.""" from __future__ import annotations from homeassistant.components.update import UpdateEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_PORT from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform im...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/sensor.py
homeassistant/components/system_bridge/sensor.py
"""Support for System Bridge sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import UTC, datetime, timedelta from typing import Final, cast from systembridgeconnector.models.modules.cpu import PerCPU from systembridgeconnector.models...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/__init__.py
homeassistant/components/system_bridge/__init__.py
"""The System Bridge integration.""" from __future__ import annotations import asyncio from dataclasses import asdict import logging from typing import Any from systembridgeconnector.exceptions import ( AuthenticationException, ConnectionClosedException, ConnectionErrorException, DataMissingException...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/entity.py
homeassistant/components/system_bridge/entity.py
"""Base entity for the system bridge integration.""" from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import SystemBridgeDataUpdateCoor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/notify.py
homeassistant/components/system_bridge/notify.py
"""Support for System Bridge notification service.""" from __future__ import annotations import logging from typing import Any from systembridgeconnector.models.notification import Notification from homeassistant.components.notify import ( ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, BaseNotificationS...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/data.py
homeassistant/components/system_bridge/data.py
"""System Bridge integration data.""" from dataclasses import dataclass, field from systembridgeconnector.models.modules import ( CPU, GPU, Battery, Disks, Display, Media, Memory, Process, System, ) @dataclass class SystemBridgeData: """System Bridge Data.""" battery: Ba...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_bridge/config_flow.py
homeassistant/components/system_bridge/config_flow.py
"""Config flow for System Bridge integration.""" from __future__ import annotations import asyncio from collections.abc import Mapping import logging from typing import Any from systembridgeconnector.exceptions import ( AuthenticationException, ConnectionClosedException, ConnectionErrorException, ) 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/edimax/switch.py
homeassistant/components/edimax/switch.py
"""Support for Edimax switches.""" from __future__ import annotations from typing import Any from pyedimax.smartplug import SmartPlug import voluptuous as vol from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_PLATFORM_SCHEMA, SwitchEntity, ) 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/edimax/__init__.py
homeassistant/components/edimax/__init__.py
"""The edimax 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/mailgun/const.py
homeassistant/components/mailgun/const.py
"""Const for Mailgun.""" DOMAIN = "mailgun"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mailgun/__init__.py
homeassistant/components/mailgun/__init__.py
"""Support for Mailgun.""" import hashlib import hmac import json import logging from aiohttp import web import voluptuous as vol from homeassistant.components import webhook from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_API_KEY, CONF_DOMAIN, CONF_WEBHOOK_ID 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/mailgun/notify.py
homeassistant/components/mailgun/notify.py
"""Support for the Mailgun mail notifications.""" from __future__ import annotations import logging from pymailgunner import ( Client, MailgunCredentialsError, MailgunDomainError, MailgunError, ) import voluptuous as vol from homeassistant.components.notify import ( ATTR_DATA, ATTR_TITLE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mailgun/config_flow.py
homeassistant/components/mailgun/config_flow.py
"""Config flow for Mailgun.""" from homeassistant.helpers import config_entry_flow from .const import DOMAIN config_entry_flow.register_webhook_flow( DOMAIN, "Mailgun Webhook", { "mailgun_url": ( "https://documentation.mailgun.com/en/latest/user_manual.html#webhooks" ), ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainforest_raven/diagnostics.py
homeassistant/components/rainforest_raven/diagnostics.py
"""Diagnostics support for a Rainforest RAVEn device.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_MAC 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/rainforest_raven/const.py
homeassistant/components/rainforest_raven/const.py
"""Constants for the Rainforest RAVEn integration.""" DEFAULT_NAME = "Rainforest RAVEn" DOMAIN = "rainforest_raven"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainforest_raven/coordinator.py
homeassistant/components/rainforest_raven/coordinator.py
"""Data update coordination for Rainforest RAVEn devices.""" from __future__ import annotations import asyncio from dataclasses import asdict from datetime import timedelta import logging from typing import Any from aioraven.data import DeviceInfo as RAVEnDeviceInfo from aioraven.device import RAVEnConnectionError 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/rainforest_raven/sensor.py
homeassistant/components/rainforest_raven/sensor.py
"""Sensor entity for a Rainforest RAVEn device.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.const import ( ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainforest_raven/__init__.py
homeassistant/components/rainforest_raven/__init__.py
"""Integration for Rainforest RAVEn devices.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import RAVEnConfigEntry, RAVEnDataCoordinator PLATFORMS = (Platform.SENSOR,) async def async_setup_entry(hass: HomeAssistant, e...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/rainforest_raven/config_flow.py
homeassistant/components/rainforest_raven/config_flow.py
"""Config flow for Rainforest RAVEn devices.""" from __future__ import annotations import asyncio from typing import Any from aioraven.data import MeterType from aioraven.device import RAVEnConnectionError from aioraven.serial import RAVEnSerialDevice import serial.tools.list_ports from serial.tools.list_ports_commo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/open_meteo/weather.py
homeassistant/components/open_meteo/weather.py
"""Support for Open-Meteo weather.""" from __future__ import annotations from datetime import datetime, time from open_meteo import Forecast as OpenMeteoForecast from homeassistant.components.weather import ( ATTR_FORECAST_CONDITION, ATTR_FORECAST_NATIVE_PRECIPITATION, ATTR_FORECAST_NATIVE_TEMP, ATT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/open_meteo/diagnostics.py
homeassistant/components/open_meteo/diagnostics.py
"""Diagnostics support for Open-Meteo.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE from homeassistant.core import HomeAssistant from .coordinator import OpenMeteoConfigEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/open_meteo/const.py
homeassistant/components/open_meteo/const.py
"""Constants for the Open-Meteo integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Final from homeassistant.components.weather import ( ATTR_CONDITION_CLOUDY, ATTR_CONDITION_FOG, ATTR_CONDITION_LIGHTNING, ATTR_CONDITION_PARTLYCLOUDY, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/open_meteo/coordinator.py
homeassistant/components/open_meteo/coordinator.py
"""DataUpdateCoordinator for the Open-Meteo integration.""" from __future__ import annotations from open_meteo import ( DailyParameters, Forecast, HourlyParameters, OpenMeteo, OpenMeteoError, PrecipitationUnit, TemperatureUnit, WindSpeedUnit, ) from homeassistant.config_entries 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/open_meteo/__init__.py
homeassistant/components/open_meteo/__init__.py
"""Support for Open-Meteo.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import OpenMeteoConfigEntry, OpenMeteoDataUpdateCoordinator PLATFORMS = [Platform.WEATHER] async def async_setup_entry(hass: HomeAssistant, entry...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/open_meteo/config_flow.py
homeassistant/components/open_meteo/config_flow.py
"""Config flow to configure the Open-Meteo integration.""" from __future__ import annotations from typing import Any import voluptuous as vol from homeassistant.components.zone import DOMAIN as ZONE_DOMAIN from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_ZON...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/event.py
homeassistant/components/fibaro/event.py
"""Support for Fibaro event entities.""" from __future__ import annotations from pyfibaro.fibaro_device import DeviceModel, SceneEvent from pyfibaro.fibaro_state_resolver import FibaroEvent from homeassistant.components.event import ( ENTITY_ID_FORMAT, EventDeviceClass, EventEntity, ) 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/fibaro/diagnostics.py
homeassistant/components/fibaro/diagnostics.py
"""Diagnostics support for fibaro integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.diagnostics import async_redact_data from homeassistant.core import HomeAssistant 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/fibaro/cover.py
homeassistant/components/fibaro/cover.py
"""Support for Fibaro cover - curtains, rollershutters etc.""" from __future__ import annotations from typing import Any, cast from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.cover import ( ATTR_POSITION, ATTR_TILT_POSITION, ENTITY_ID_FORMAT, CoverEntity, CoverEntity...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/switch.py
homeassistant/components/fibaro/switch.py
"""Support for Fibaro switches.""" from __future__ import annotations from typing import Any from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.switch import ENTITY_ID_FORMAT, SwitchEntity from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassist...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/binary_sensor.py
homeassistant/components/fibaro/binary_sensor.py
"""Support for Fibaro binary sensors.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.binary_sensor import ( ENTITY_ID_FORMAT, BinarySensorDeviceClass, BinarySensorEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/lock.py
homeassistant/components/fibaro/lock.py
"""Support for Fibaro locks.""" from __future__ import annotations from typing import Any from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.lock import ENTITY_ID_FORMAT, LockEntity from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.hel...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/const.py
homeassistant/components/fibaro/const.py
"""Constants for the Fibaro integration.""" DOMAIN = "fibaro" CONF_IMPORT_PLUGINS = "import_plugins"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/sensor.py
homeassistant/components/fibaro/sensor.py
"""Support for Fibaro sensors.""" from __future__ import annotations from contextlib import suppress from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.sensor import ( ENTITY_ID_FORMAT, SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) 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/fibaro/__init__.py
homeassistant/components/fibaro/__init__.py
"""Support for the Fibaro devices.""" from __future__ import annotations from collections import defaultdict from collections.abc import Callable, Mapping import logging from typing import Any from pyfibaro.fibaro_client import ( FibaroAuthenticationFailed, FibaroClient, FibaroConnectFailed, ) from pyfib...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/entity.py
homeassistant/components/fibaro/entity.py
"""Support for the Fibaro devices.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pyfibaro.fibaro_device import DeviceModel from homeassistant.const import ATTR_ARMED, ATTR_BATTERY_LEVEL from homeassistant.helpers.entity import Entity from . 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/fibaro/scene.py
homeassistant/components/fibaro/scene.py
"""Support for Fibaro scenes.""" from __future__ import annotations from typing import Any from pyfibaro.fibaro_scene import SceneModel from homeassistant.components.scene import Scene from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helper...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/climate.py
homeassistant/components/fibaro/climate.py
"""Support for Fibaro thermostats.""" from __future__ import annotations from contextlib import suppress import logging from typing import Any from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.climate import ( ENTITY_ID_FORMAT, PRESET_AWAY, PRESET_BOOST, ClimateEntity, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/light.py
homeassistant/components/fibaro/light.py
"""Support for Fibaro lights.""" from __future__ import annotations from contextlib import suppress from typing import Any from pyfibaro.fibaro_device import DeviceModel from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_RGB_COLOR, ATTR_RGBW_COLOR, ENTITY_ID_FORMAT, ColorMode, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/fibaro/config_flow.py
homeassistant/components/fibaro/config_flow.py
"""Config flow for Fibaro integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pyfibaro.fibaro_client import FibaroAuthenticationFailed, FibaroConnectFailed from slugify import slugify import voluptuous as vol from homeassistant.config_ent...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/services.py
homeassistant/components/opentherm_gw/services.py
"""Support for OpenTherm Gateway devices.""" from __future__ import annotations from datetime import date, datetime from typing import TYPE_CHECKING import pyotgw.vars as gw_vars import voluptuous as vol from homeassistant.const import ( ATTR_DATE, ATTR_ID, ATTR_MODE, ATTR_TEMPERATURE, ATTR_TIME...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/switch.py
homeassistant/components/opentherm_gw/switch.py
"""Support for OpenTherm Gateway switches.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Any from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.const import ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/binary_sensor.py
homeassistant/components/opentherm_gw/binary_sensor.py
"""Support for OpenTherm Gateway binary sensors.""" from dataclasses import dataclass from pyotgw import vars as gw_vars from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.config_entries import ConfigEntry ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/const.py
homeassistant/components/opentherm_gw/const.py
"""Constants for the opentherm_gw integration.""" from dataclasses import dataclass from enum import StrEnum from pyotgw import vars as gw_vars ATTR_GW_ID = "gateway_id" ATTR_LEVEL = "level" ATTR_DHW_OVRD = "dhw_override" ATTR_CH_OVRD = "ch_override" ATTR_TRANSP_CMD = "transp_cmd" ATTR_TRANSP_ARG = "transp_arg" 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/opentherm_gw/sensor.py
homeassistant/components/opentherm_gw/sensor.py
"""Support for OpenTherm Gateway sensors.""" from dataclasses import dataclass import pyotgw.vars as gw_vars from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassist...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
true
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/__init__.py
homeassistant/components/opentherm_gw/__init__.py
"""Support for OpenTherm Gateway devices.""" import asyncio import logging from pyotgw import OpenThermGateway import pyotgw.vars as gw_vars from serial import SerialException from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( CONF_DEVICE, CONF_ID, CONF_NAME, EVENT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/entity.py
homeassistant/components/opentherm_gw/entity.py
"""Common opentherm_gw entity properties.""" import logging import pyotgw.vars as gw_vars from homeassistant.core import callback from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import Entity, EntityD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/button.py
homeassistant/components/opentherm_gw/button.py
"""Support for OpenTherm Gateway buttons.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass import pyotgw.vars as gw_vars from homeassistant.components.button import ( ButtonDeviceClass, ButtonEntity, ButtonEntityDescription, ) from homeassistant.config_entries 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/opentherm_gw/select.py
homeassistant/components/opentherm_gw/select.py
"""Support for OpenTherm Gateway select entities.""" from collections.abc import Awaitable, Callable from dataclasses import dataclass from enum import IntEnum, StrEnum from functools import partial from pyotgw.vars import ( OTGW_GPIO_A, OTGW_GPIO_B, OTGW_LED_A, OTGW_LED_B, OTGW_LED_C, OTGW_LE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/climate.py
homeassistant/components/opentherm_gw/climate.py
"""Support for OpenTherm Gateway climate devices.""" from __future__ import annotations from collections.abc import Mapping from dataclasses import dataclass import logging from typing import Any from pyotgw import vars as gw_vars from homeassistant.components.climate import ( PRESET_AWAY, PRESET_NONE, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/opentherm_gw/config_flow.py
homeassistant/components/opentherm_gw/config_flow.py
"""OpenTherm Gateway config flow.""" from __future__ import annotations import asyncio from typing import Any import pyotgw from pyotgw import vars as gw_vars from serial import SerialException import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, ConfigFlow, ConfigFlowResult,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/nilu/__init__.py
homeassistant/components/nilu/__init__.py
"""The nilu 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/nilu/air_quality.py
homeassistant/components/nilu/air_quality.py
"""Sensor for checking the air quality around Norway.""" from __future__ import annotations from datetime import timedelta import logging from niluclient import ( CO, CO2, NO, NO2, NOX, OZONE, PM1, PM10, PM25, POLLUTION_INDEX, SO2, create_location_client, create_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/enigma2/media_player.py
homeassistant/components/enigma2/media_player.py
"""Support for Enigma2 media players.""" from __future__ import annotations import contextlib from logging import getLogger from aiohttp.client_exceptions import ServerDisconnectedError from openwebif.enums import PowerState, RemoteControlCodes, SetVolumeOption 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/enigma2/const.py
homeassistant/components/enigma2/const.py
"""Constants for the Enigma2 platform.""" DOMAIN = "enigma2" CONF_USE_CHANNEL_ICON = "use_channel_icon" CONF_DEEP_STANDBY = "deep_standby" CONF_SOURCE_BOUQUET = "source_bouquet" CONF_MAC_ADDRESS = "mac_address" DEFAULT_NAME = "Enigma2 Media Player" DEFAULT_PORT = 80 DEFAULT_SSL = False DEFAULT_USE_CHANNEL_ICON = Fal...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/enigma2/coordinator.py
homeassistant/components/enigma2/coordinator.py
"""Data update coordinator for the Enigma2 integration.""" import asyncio import logging from openwebif.api import OpenWebIfDevice, OpenWebIfStatus from yarl import URL from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_CONNECTIONS, ATTR_IDENTIFIERS, CONF_HOST, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/enigma2/__init__.py
homeassistant/components/enigma2/__init__.py
"""Support for Enigma2 devices.""" from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import Enigma2ConfigEntry, Enigma2UpdateCoordinator PLATFORMS = [Platform.MEDIA_PLAYER] async def async_setup_entry(hass: HomeAssistant, entry: Enigma2ConfigEntry) -> bool: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/enigma2/config_flow.py
homeassistant/components/enigma2/config_flow.py
"""Config flow for Enigma2.""" import logging from typing import Any, cast from aiohttp.client_exceptions import ClientError from openwebif.api import OpenWebIfDevice from openwebif.error import InvalidAuthError import voluptuous as vol from yarl import URL from homeassistant.config_entries import ( SOURCE_USER,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/threshold/binary_sensor.py
homeassistant/components/threshold/binary_sensor.py
"""Support for monitoring if a sensor value is below/above a threshold.""" from __future__ import annotations from collections.abc import Callable, Mapping import logging from typing import Any, Final import voluptuous as vol from homeassistant.components.binary_sensor import ( DEVICE_CLASSES_SCHEMA, 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/threshold/const.py
homeassistant/components/threshold/const.py
"""Constants for the Threshold integration.""" from typing import Final DOMAIN: Final = "threshold" DEFAULT_HYSTERESIS: Final = 0.0 ATTR_HYSTERESIS: Final = "hysteresis" ATTR_LOWER: Final = "lower" ATTR_POSITION: Final = "position" ATTR_SENSOR_VALUE: Final = "sensor_value" ATTR_TYPE: Final = "type" ATTR_UPPER: Fina...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/threshold/__init__.py
homeassistant/components/threshold/__init__.py
"""The threshold component.""" import logging from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_ENTITY_ID, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.device import ( async_entity_id_to_device_id, async_remove_stale_devices_links_kee...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/threshold/config_flow.py
homeassistant/components/threshold/config_flow.py
"""Config flow for Threshold integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN 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/mvglive/sensor.py
homeassistant/components/mvglive/sensor.py
"""Support for departure information for public transport in Munich.""" from __future__ import annotations from collections.abc import Mapping from copy import deepcopy from datetime import timedelta import logging from typing import Any from mvg import MvgApi, MvgApiError, TransportType import voluptuous as vol 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/mvglive/__init__.py
homeassistant/components/mvglive/__init__.py
"""The mvglive 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/jvc_projector/binary_sensor.py
homeassistant/components/jvc_projector/binary_sensor.py
"""Binary Sensor platform for JVC Projector integration.""" from __future__ import annotations from jvcprojector import const from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCall...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jvc_projector/const.py
homeassistant/components/jvc_projector/const.py
"""Constants for the jvc_projector integration.""" NAME = "JVC Projector" DOMAIN = "jvc_projector" MANUFACTURER = "JVC"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jvc_projector/coordinator.py
homeassistant/components/jvc_projector/coordinator.py
"""Data update coordinator for the jvc_projector integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Any from jvcprojector import ( JvcProjector, JvcProjectorAuthError, JvcProjectorConnectError, const, ) from homeassistant.config_entrie...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jvc_projector/sensor.py
homeassistant/components/jvc_projector/sensor.py
"""Sensor platform for JVC Projector integration.""" from __future__ import annotations from jvcprojector import const from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) from homeassistant.const import EntityCategory from homeassistant.core import Ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jvc_projector/__init__.py
homeassistant/components/jvc_projector/__init__.py
"""The jvc_projector integration.""" from __future__ import annotations from jvcprojector import JvcProjector, JvcProjectorAuthError, JvcProjectorConnectError from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_PORT, EVENT_HOMEASSISTANT_STOP, Platform, ) 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/jvc_projector/remote.py
homeassistant/components/jvc_projector/remote.py
"""Remote platform for the jvc_projector integration.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from jvcprojector import const from homeassistant.components.remote import RemoteEntity from homeassistant.core import HomeAssistant 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/jvc_projector/entity.py
homeassistant/components/jvc_projector/entity.py
"""Base Entity for the jvc_projector integration.""" from __future__ import annotations import logging from jvcprojector import JvcProjector from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN, MANUFACTURER, N...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jvc_projector/select.py
homeassistant/components/jvc_projector/select.py
"""Select platform for the jvc_projector integration.""" from __future__ import annotations from collections.abc import Awaitable, Callable from dataclasses import dataclass from typing import Final from jvcprojector import JvcProjector, const from homeassistant.components.select import SelectEntity, SelectEntityDe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/jvc_projector/config_flow.py
homeassistant/components/jvc_projector/config_flow.py
"""Config flow for the jvc_projector integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from jvcprojector import JvcProjector, JvcProjectorAuthError, JvcProjectorConnectError from jvcprojector.projector import DEFAULT_PORT import voluptuous as vol from home...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/spider/__init__.py
homeassistant/components/spider/__init__.py
"""The Spider integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers import issue_registry as ir DOMAIN = "spider" async def async_setup_entry(hass: HomeAssistant, _: ConfigEntry) -> bool: "...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/spider/config_flow.py
homeassistant/components/spider/config_flow.py
"""Config flow for Spider integration.""" from homeassistant.config_entries import ConfigFlow from . import DOMAIN class SpiderConfigFlow(ConfigFlow, domain=DOMAIN): """Handle a config flow for Spider.""" VERSION = 1
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/garages_amsterdam/binary_sensor.py
homeassistant/components/garages_amsterdam/binary_sensor.py
"""Binary Sensor platform for Garages Amsterdam.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from odp_amsterdam import Garage from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/garages_amsterdam/const.py
homeassistant/components/garages_amsterdam/const.py
"""Constants for the Garages Amsterdam integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Final DOMAIN: Final = "garages_amsterdam" ATTRIBUTION = "Data provided by municipality of Amsterdam" LOGGER = logging.getLogger(__package__) SCAN_INTERVAL = time...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/garages_amsterdam/coordinator.py
homeassistant/components/garages_amsterdam/coordinator.py
"""Coordinator for the Garages Amsterdam integration.""" from __future__ import annotations from odp_amsterdam import Garage, ODPAmsterdam, VehicleType from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.update_coordinator import DataUpdateCoor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/garages_amsterdam/sensor.py
homeassistant/components/garages_amsterdam/sensor.py
"""Sensor platform for Garages Amsterdam.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from odp_amsterdam import Garage from homeassistant.components.sensor import ( SensorEntity, SensorEntityDescription, SensorStateClass, ) 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/garages_amsterdam/__init__.py
homeassistant/components/garages_amsterdam/__init__.py
"""The Garages Amsterdam integration.""" from __future__ import annotations from odp_amsterdam import ODPAmsterdam from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession from .coordinator import ( GaragesAmst...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/garages_amsterdam/entity.py
homeassistant/components/garages_amsterdam/entity.py
"""Generic entity for Garages Amsterdam.""" from __future__ import annotations from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import ATTRIBUTION, DOMAIN from .coordinator import GaragesAmsterdamDataUpdat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/garages_amsterdam/config_flow.py
homeassistant/components/garages_amsterdam/config_flow.py
"""Config flow for Garages Amsterdam integration.""" from __future__ import annotations import logging from typing import Any from aiohttp import ClientResponseError from odp_amsterdam import ODPAmsterdam, VehicleType import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult fro...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mycroft/__init__.py
homeassistant/components/mycroft/__init__.py
"""Support for Mycroft AI.""" import voluptuous as vol from homeassistant.const import CONF_HOST, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.typing import ConfigType DOMAIN = "mycroft" CONFIG_SCHEMA = vol.Sche...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/mycroft/notify.py
homeassistant/components/mycroft/notify.py
"""Mycroft AI notification platform.""" from __future__ import annotations import logging from mycroftapi import MycroftAPI from homeassistant.components.notify import BaseNotificationService from homeassistant.core import HomeAssistant from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType _LOGGER...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/life360/__init__.py
homeassistant/components/life360/__init__.py
"""Life360 integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers import issue_registry as ir DOMAIN = "life360" async def async_setup_entry(hass: HomeAssistant, _: ConfigEntry) -> bool: """...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/life360/config_flow.py
homeassistant/components/life360/config_flow.py
"""Config flow to configure Life360 integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigFlow from . import DOMAIN class Life360ConfigFlow(ConfigFlow, domain=DOMAIN): """Life360 integration config flow.""" VERSION = 1
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false