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/workday/calendar.py
homeassistant/components/workday/calendar.py
"""Workday Calendar.""" from __future__ import annotations from datetime import date, datetime, timedelta from holidays import HolidayBase from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.const import CONF_NAME 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/workday/config_flow.py
homeassistant/components/workday/config_flow.py
"""Adds config flow for Workday integration.""" from __future__ import annotations from functools import partial from typing import Any from holidays import PUBLIC, HolidayBase, country_holidays, list_supported_countries import voluptuous as vol from homeassistant.config_entries import ( ConfigEntry, 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/sesame/lock.py
homeassistant/components/sesame/lock.py
"""Support for Sesame, by CANDY HOUSE.""" from __future__ import annotations from typing import Any import pysesame2 import voluptuous as vol from homeassistant.components.lock import ( PLATFORM_SCHEMA as LOCK_PLATFORM_SCHEMA, LockEntity, ) from homeassistant.const import ATTR_BATTERY_LEVEL, ATTR_DEVICE_ID,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sesame/__init__.py
homeassistant/components/sesame/__init__.py
"""The sesame 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/sun/condition.py
homeassistant/components/sun/condition.py
"""Offer sun based automation rules.""" from __future__ import annotations from datetime import datetime, timedelta from typing import Any, Unpack, cast import voluptuous as vol from homeassistant.const import CONF_OPTIONS, SUN_EVENT_SUNRISE, SUN_EVENT_SUNSET from homeassistant.core import HomeAssistant 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/sun/binary_sensor.py
homeassistant/components/sun/binary_sensor.py
"""Binary Sensor platform for Sun integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.binary_sensor import ( DOMAIN as BINARY_SENSOR_DOMAIN, BinarySensorEntity, BinarySensorEntityDescription, ) 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/sun/const.py
homeassistant/components/sun/const.py
"""Constants for the Sun integration.""" from typing import Final DOMAIN: Final = "sun" DEFAULT_NAME: Final = "Sun" SIGNAL_POSITION_CHANGED = f"{DOMAIN}_position_changed" SIGNAL_EVENTS_CHANGED = f"{DOMAIN}_events_changed" STATE_ABOVE_HORIZON = "above_horizon" STATE_BELOW_HORIZON = "below_horizon" STATE_ATTR_AZI...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sun/sensor.py
homeassistant/components/sun/sensor.py
"""Sensor platform for Sun integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from homeassistant.components.sensor import ( DOMAIN as SENSOR_DOMAIN, SensorDeviceClass, SensorEntity, SensorEntityDescri...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/sun/__init__.py
homeassistant/components/sun/__init__.py
"""Support for functionality to keep track of the sun.""" from __future__ import annotations import logging from homeassistant.config_entries import SOURCE_IMPORT from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import config_validation as cv 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/sun/entity.py
homeassistant/components/sun/entity.py
"""Support for functionality to keep track of the sun.""" from __future__ import annotations from datetime import datetime, timedelta import logging from typing import Any from astral.location import Elevation, Location from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( 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/sun/trigger.py
homeassistant/components/sun/trigger.py
"""Offer sun based automation rules.""" from datetime import timedelta import voluptuous as vol from homeassistant.const import ( CONF_EVENT, CONF_OFFSET, CONF_PLATFORM, SUN_EVENT_SUNRISE, ) from homeassistant.core import CALLBACK_TYPE, HassJob, HomeAssistant, callback from homeassistant.helpers 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/sun/config_flow.py
homeassistant/components/sun/config_flow.py
"""Config flow to configure the Sun integration.""" from __future__ import annotations from typing import Any from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from .const import DEFAULT_NAME, DOMAIN class SunConfigFlow(ConfigFlow, domain=DOMAIN): """Config flow for Sun.""" VERSION = ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/upc_connect/device_tracker.py
homeassistant/components/upc_connect/device_tracker.py
"""Support for UPC ConnectBox router.""" from __future__ import annotations import logging from connect_box import ConnectBox from connect_box.exceptions import ConnectBoxError, ConnectBoxLoginError import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN as DEVICE_TRACKER_DOMAIN, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/upc_connect/__init__.py
homeassistant/components/upc_connect/__init__.py
"""The upc_connect 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/pure_energie/diagnostics.py
homeassistant/components/pure_energie/diagnostics.py
"""Diagnostics support for Pure Energie.""" from __future__ import annotations from dataclasses import asdict from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from .coordinator import Pure...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pure_energie/const.py
homeassistant/components/pure_energie/const.py
"""Constants for the Pure Energie integration.""" from __future__ import annotations from datetime import timedelta import logging from typing import Final DOMAIN: Final = "pure_energie" LOGGER = logging.getLogger(__package__) SCAN_INTERVAL = 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/pure_energie/coordinator.py
homeassistant/components/pure_energie/coordinator.py
"""Coordinator for the Pure Energie integration.""" from __future__ import annotations from typing import NamedTuple from gridnet import Device, GridNet, SmartBridge from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST from homeassistant.core import HomeAssistant from homea...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pure_energie/sensor.py
homeassistant/components/pure_energie/sensor.py
"""Support for Pure Energie sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from homeassistant.components.sensor import ( DOMAIN as SENSOR_DOMAIN, SensorDeviceClass, SensorEntity, SensorEntityDescription, SensorStateClass, ) 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/pure_energie/__init__.py
homeassistant/components/pure_energie/__init__.py
"""The Pure Energie integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from .coordinator import PureEnergieConfigEntry, PureEnergieDataUpdateCoordinator PLATFORMS: list[Plat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/pure_energie/config_flow.py
homeassistant/components/pure_energie/config_flow.py
"""Config flow for Pure Energie integration.""" from __future__ import annotations from typing import Any from gridnet import Device, GridNet, GridNetConnectionError import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from homeassistant.const import CONF_HOST, CONF_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/verisure/diagnostics.py
homeassistant/components/verisure/diagnostics.py
"""Diagnostics support for Verisure.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import DOMAIN from .coordinator import Ve...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/switch.py
homeassistant/components/verisure/switch.py
"""Support for Verisure Smartplugs.""" from __future__ import annotations from time import monotonic from typing import Any from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.device_regi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/binary_sensor.py
homeassistant/components/verisure/binary_sensor.py
"""Support for Verisure binary sensors.""" from __future__ import annotations from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_LAST_TRIP_TIME, EntityCategory 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/verisure/lock.py
homeassistant/components/verisure/lock.py
"""Support for Verisure locks.""" from __future__ import annotations import asyncio from typing import Any from verisure import Error as VerisureError from homeassistant.components.lock import LockEntity, LockState from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_CODE 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/verisure/camera.py
homeassistant/components/verisure/camera.py
"""Support for Verisure cameras.""" from __future__ import annotations import errno import os from verisure import Error as VerisureError from homeassistant.components.camera import Camera from homeassistant.config_entries import ConfigEntry from homeassistant.const import EVENT_HOMEASSISTANT_STOP from homeassistan...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/const.py
homeassistant/components/verisure/const.py
"""Constants for the Verisure integration.""" from datetime import timedelta import logging from homeassistant.components.alarm_control_panel import AlarmControlPanelState DOMAIN = "verisure" LOGGER = logging.getLogger(__package__) CONF_GIID = "giid" CONF_LOCK_CODE_DIGITS = "lock_code_digits" CONF_LOCK_DEFAULT_COD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/coordinator.py
homeassistant/components/verisure/coordinator.py
"""DataUpdateCoordinator for the Verisure integration.""" from __future__ import annotations from datetime import timedelta from time import sleep from verisure import ( Error as VerisureError, LoginError as VerisureLoginError, Session as Verisure, ) 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/verisure/sensor.py
homeassistant/components/verisure/sensor.py
"""Support for Verisure sensors.""" from __future__ import annotations from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorStateClass, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import PERCENTAGE, UnitOfTemperature from homeassistant.co...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/__init__.py
homeassistant/components/verisure/__init__.py
"""Support for Verisure devices.""" from __future__ import annotations from contextlib import suppress import os from pathlib import Path from homeassistant.components.lock import CONF_DEFAULT_CODE, DOMAIN as LOCK_DOMAIN from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_EMAIL,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/alarm_control_panel.py
homeassistant/components/verisure/alarm_control_panel.py
"""Support for Verisure alarm control panels.""" from __future__ import annotations import asyncio from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmControlPanelEntityFeature, AlarmControlPanelState, CodeFormat, ) from homeassistant.config_entries import ConfigE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/verisure/config_flow.py
homeassistant/components/verisure/config_flow.py
"""Config flow for Verisure integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from verisure import ( Error as VerisureError, LoginError as VerisureLoginError, ResponseError as VerisureResponseError, Session as Verisure, ) import voluptuous 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/evohome/storage.py
homeassistant/components/evohome/storage.py
"""Support for (EMEA/EU-based) Honeywell TCC systems.""" from __future__ import annotations from datetime import UTC, datetime, timedelta from typing import Any, NotRequired, TypedDict from evohomeasync.auth import ( SZ_SESSION_ID, SZ_SESSION_ID_EXPIRES, AbstractSessionManager, ) from evohomeasync2.auth ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/evohome/const.py
homeassistant/components/evohome/const.py
"""The constants of the Evohome integration.""" from __future__ import annotations from datetime import timedelta from enum import StrEnum, unique from typing import Final DOMAIN: Final = "evohome" STORAGE_VER: Final = 1 STORAGE_KEY: Final = DOMAIN CONF_LOCATION_IDX: Final = "location_idx" USER_DATA: Final = "use...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/evohome/coordinator.py
homeassistant/components/evohome/coordinator.py
"""Support for (EMEA/EU-based) Honeywell TCC systems.""" from __future__ import annotations from collections.abc import Awaitable from datetime import timedelta from http import HTTPStatus import logging from typing import Any import evohomeasync as ec1 import evohomeasync2 as ec2 from evohomeasync2.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/evohome/__init__.py
homeassistant/components/evohome/__init__.py
"""Support for (EMEA/EU-based) Honeywell TCC systems. Such systems provide heating/cooling and DHW and include Evohome, Round Thermostat, and others. Note that the API used by this integration's client does not support cooling. """ from __future__ import annotations from dataclasses import dataclass from datetime i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/evohome/entity.py
homeassistant/components/evohome/entity.py
"""Base for evohome entity.""" from collections.abc import Mapping from datetime import UTC, datetime import logging from typing import Any import evohomeasync2 as evo from evohomeasync2.schemas.typedefs import DayOfWeekDhwT from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_d...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/evohome/water_heater.py
homeassistant/components/evohome/water_heater.py
"""Support for WaterHeater entities of the Evohome integration.""" from __future__ import annotations import logging from typing import Any import evohomeasync2 as evo from evohomeasync2.const import SZ_STATE_STATUS, SZ_TEMPERATURE_STATUS from evohomeasync2.schemas.const import DhwState as EvoDhwState, ZoneMode as 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/evohome/climate.py
homeassistant/components/evohome/climate.py
"""Support for Climate entities of the Evohome integration.""" from __future__ import annotations from datetime import datetime, timedelta import logging from typing import Any import evohomeasync2 as evo from evohomeasync2.const import ( SZ_SETPOINT_STATUS, SZ_SYSTEM_MODE, SZ_SYSTEM_MODE_STATUS, SZ_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/openevse/sensor.py
homeassistant/components/openevse/sensor.py
"""Support for monitoring an OpenEVSE Charger.""" from __future__ import annotations import logging import openevsewifi from requests import RequestException import voluptuous as vol from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, 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/openevse/__init__.py
homeassistant/components/openevse/__init__.py
"""The openevse 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/iron_os/diagnostics.py
homeassistant/components/iron_os/diagnostics.py
"""Diagnostics platform for IronOS integration.""" from __future__ import annotations from typing import Any from homeassistant.const import CONF_ADDRESS from homeassistant.core import HomeAssistant from . import IronOSConfigEntry async def async_get_config_entry_diagnostics( hass: HomeAssistant, config_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/iron_os/switch.py
homeassistant/components/iron_os/switch.py
"""Switch platform for IronOS integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from typing import Any from pynecil import CharSetting, SettingsDataResponse, TempUnit from homeassistant.components.switch import SwitchEn...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/number.py
homeassistant/components/iron_os/number.py
"""Number platform for IronOS integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from pynecil import CharSetting, LiveDataResponse, SettingsDataResponse, TempUnit from homeassistant.components.number import ( NumberD...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/binary_sensor.py
homeassistant/components/iron_os/binary_sensor.py
"""Binary sensor platform for IronOS integration.""" from __future__ import annotations from enum import StrEnum from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.core import HomeAssistant from homeassista...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/const.py
homeassistant/components/iron_os/const.py
"""Constants for the IronOS integration.""" DOMAIN = "iron_os" MANUFACTURER = "PINE64" MODEL = "Pinecil V2" OHM = "Ω" DISCOVERY_SVC_UUID = "9eae1000-9d0d-48c5-aa55-33e27f9bc533" MAX_TEMP: int = 450 MAX_TEMP_F: int = 850 MIN_TEMP: int = 10 MIN_TEMP_F: int = 50 MIN_BOOST_TEMP: int = 250 MIN_BOOST_TEMP_F: int = 480
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/coordinator.py
homeassistant/components/iron_os/coordinator.py
"""Update coordinator for IronOS Integration.""" from __future__ import annotations from dataclasses import dataclass from datetime import timedelta from enum import Enum import logging from typing import TYPE_CHECKING, cast from awesomeversion import AwesomeVersion from pynecil import ( CharSetting, Communi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/update.py
homeassistant/components/iron_os/update.py
"""Update platform for IronOS integration.""" from __future__ import annotations from homeassistant.components.update import ( ATTR_INSTALLED_VERSION, UpdateDeviceClass, UpdateEntity, UpdateEntityDescription, UpdateEntityFeature, ) from homeassistant.core import HomeAssistant from homeassistant.he...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/sensor.py
homeassistant/components/iron_os/sensor.py
"""Sensor platform for IronOS integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import StrEnum from pynecil import LiveDataResponse, OperatingMode, PowerSource from homeassistant.components.sensor import ( EntityCategory, Sens...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/__init__.py
homeassistant/components/iron_os/__init__.py
"""The IronOS integration.""" from __future__ import annotations import logging from typing import TYPE_CHECKING from pynecil import IronOSUpdate, Pynecil from homeassistant.const import Platform from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession 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/iron_os/entity.py
homeassistant/components/iron_os/entity.py
"""Base entity for IronOS integration.""" from __future__ import annotations from typing import TYPE_CHECKING from homeassistant.helpers.device_registry import CONNECTION_BLUETOOTH, DeviceInfo from homeassistant.helpers.entity import EntityDescription from homeassistant.helpers.update_coordinator import CoordinatorE...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/button.py
homeassistant/components/iron_os/button.py
"""Button platform for IronOS integration.""" from __future__ import annotations from dataclasses import dataclass from enum import StrEnum from pynecil import CharSetting from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.const import EntityCategory 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/iron_os/select.py
homeassistant/components/iron_os/select.py
"""Select platform for IronOS integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from enum import Enum, StrEnum from pynecil import ( AnimationSpeed, AutostartMode, BatteryType, CharSetting, LockingMode, LogoDuration, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/iron_os/config_flow.py
homeassistant/components/iron_os/config_flow.py
"""Config flow for IronOS integration.""" from __future__ import annotations import logging from typing import Any from bleak.exc import BleakError from habluetooth import BluetoothServiceInfoBleak from pynecil import CommunicationError, Pynecil import voluptuous as vol from homeassistant.components.bluetooth.api i...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/diagnostics.py
homeassistant/components/bmw_connected_drive/diagnostics.py
"""Diagnostics support for the BMW Connected Drive integration.""" from __future__ import annotations from dataclasses import asdict import json from typing import TYPE_CHECKING, Any from bimmer_connected.utils import MyBMWJSONEncoder from homeassistant.components.diagnostics import async_redact_data 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/bmw_connected_drive/device_tracker.py
homeassistant/components/bmw_connected_drive/device_tracker.py
"""Device tracker for MyBMW vehicles.""" from __future__ import annotations import logging from typing import Any from bimmer_connected.vehicle import MyBMWVehicle from homeassistant.components.device_tracker import TrackerEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platfor...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/switch.py
homeassistant/components/bmw_connected_drive/switch.py
"""Switch platform for BMW.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any from bimmer_connected.models import MyBMWAPIError from bimmer_connected.vehicle import MyBMWVehicle from bimmer_connected.vehicle.fuel_and_battery import ChargingState...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/number.py
homeassistant/components/bmw_connected_drive/number.py
"""Number platform for BMW.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any from bimmer_connected.models import MyBMWAPIError from bimmer_connected.vehicle import MyBMWVehicle from homeassistant.components.number import ( NumberDeviceClas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/binary_sensor.py
homeassistant/components/bmw_connected_drive/binary_sensor.py
"""Reads vehicle status from BMW MyBMW portal.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from bimmer_connected.vehicle import MyBMWVehicle from bimmer_connected.vehicle.doors_windows import LockState from bimmer_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/lock.py
homeassistant/components/bmw_connected_drive/lock.py
"""Support for BMW car locks with BMW ConnectedDrive.""" from __future__ import annotations import logging from typing import Any from bimmer_connected.models import MyBMWAPIError from bimmer_connected.vehicle import MyBMWVehicle from bimmer_connected.vehicle.doors_windows import LockState from homeassistant.compon...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/const.py
homeassistant/components/bmw_connected_drive/const.py
"""Const file for the MyBMW integration.""" from homeassistant.const import UnitOfLength, UnitOfVolume DOMAIN = "bmw_connected_drive" ATTR_DIRECTION = "direction" ATTR_VIN = "vin" CONF_ALLOWED_REGIONS = ["china", "north_america", "rest_of_world"] CONF_CAPTCHA_REGIONS = ["north_america", "rest_of_world"] CONF_READ_O...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/coordinator.py
homeassistant/components/bmw_connected_drive/coordinator.py
"""Coordinator for BMW.""" from __future__ import annotations from datetime import timedelta import logging from bimmer_connected.account import MyBMWAccount from bimmer_connected.api.regions import get_region_from_name from bimmer_connected.models import ( GPSPosition, MyBMWAPIError, MyBMWAuthError, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/sensor.py
homeassistant/components/bmw_connected_drive/sensor.py
"""Support for reading vehicle status from MyBMW portal.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import datetime import logging from bimmer_connected.models import StrEnum, ValueWithUnit from bimmer_connected.vehicle import MyBMWVehicle from bimmer...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/__init__.py
homeassistant/components/bmw_connected_drive/__init__.py
"""Reads vehicle status from MyBMW portal.""" from __future__ import annotations import logging import voluptuous as vol from homeassistant.const import CONF_DEVICE_ID, CONF_ENTITY_ID, CONF_NAME, Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import ( config_validatio...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/entity.py
homeassistant/components/bmw_connected_drive/entity.py
"""Base for all BMW entities.""" from __future__ import annotations from bimmer_connected.vehicle import MyBMWVehicle from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import BMWDataUpdateCo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/button.py
homeassistant/components/bmw_connected_drive/button.py
"""Support for MyBMW button entities.""" from __future__ import annotations from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import TYPE_CHECKING, Any from bimmer_connected.models import MyBMWAPIError from bimmer_connected.vehicle import MyBMWVehicle from b...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/select.py
homeassistant/components/bmw_connected_drive/select.py
"""Select platform for BMW.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass import logging from typing import Any from bimmer_connected.models import MyBMWAPIError from bimmer_connected.vehicle import MyBMWVehicle from bimmer_connected.vehicle.charging_profile import ChargingMode ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/notify.py
homeassistant/components/bmw_connected_drive/notify.py
"""Support for BMW notifications.""" from __future__ import annotations import logging from typing import Any, cast from bimmer_connected.models import MyBMWAPIError, PointOfInterest from bimmer_connected.vehicle import MyBMWVehicle import voluptuous as vol from homeassistant.components.notify import ( ATTR_DAT...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bmw_connected_drive/config_flow.py
homeassistant/components/bmw_connected_drive/config_flow.py
"""Config flow for BMW ConnectedDrive integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from bimmer_connected.api.authentication import MyBMWAuthentication from bimmer_connected.api.regions import get_region_from_name from bimmer_connected.models 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/wake_on_lan/switch.py
homeassistant/components/wake_on_lan/switch.py
"""Support for wake on lan.""" from __future__ import annotations import logging import subprocess as sp from typing import Any import voluptuous as vol import wakeonlan from homeassistant.components.switch import ( PLATFORM_SCHEMA as SWITCH_PLATFORM_SCHEMA, SwitchEntity, ) 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/wake_on_lan/const.py
homeassistant/components/wake_on_lan/const.py
"""Constants for the Wake-On-LAN component.""" from homeassistant.const import Platform DOMAIN = "wake_on_lan" PLATFORMS = [Platform.BUTTON] CONF_OFF_ACTION = "turn_off" DEFAULT_NAME = "Wake on LAN" DEFAULT_PING_TIMEOUT = 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/wake_on_lan/__init__.py
homeassistant/components/wake_on_lan/__init__.py
"""Support for sending Wake-On-LAN magic packets.""" from functools import partial import logging import voluptuous as vol import wakeonlan from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_BROADCAST_ADDRESS, CONF_BROADCAST_PORT, CONF_MAC from homeassistant.core import HomeAss...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wake_on_lan/button.py
homeassistant/components/wake_on_lan/button.py
"""Support for button entity in wake on lan.""" from __future__ import annotations from functools import partial import logging from typing import Any import wakeonlan from homeassistant.components.button import ButtonEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_B...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/wake_on_lan/config_flow.py
homeassistant/components/wake_on_lan/config_flow.py
"""Config flow for Wake on lan integration.""" from collections.abc import Mapping from typing import Any import voluptuous as vol from homeassistant.const import CONF_BROADCAST_ADDRESS, CONF_BROADCAST_PORT, CONF_MAC from homeassistant.helpers import device_registry as dr from homeassistant.helpers.schema_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/zwave_js/migrate.py
homeassistant/components/zwave_js/migrate.py
"""Functions used to migrate unique IDs for Z-Wave JS entities.""" from __future__ import annotations from dataclasses import dataclass import logging from zwave_js_server.const import CommandClass from zwave_js_server.model.driver import Driver from zwave_js_server.model.node import Node from zwave_js_server.model....
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/event.py
homeassistant/components/zwave_js/event.py
"""Support for Z-Wave controls using the event platform.""" from __future__ import annotations from dataclasses import dataclass from zwave_js_server.model.driver import Driver from zwave_js_server.model.value import Value, ValueNotification from homeassistant.components.event import ( DOMAIN as EVENT_DOMAIN, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/config_validation.py
homeassistant/components/zwave_js/config_validation.py
"""Config validation for the Z-Wave JS integration.""" from typing import Any import voluptuous as vol from homeassistant.helpers import config_validation as cv # Validates that a bitmask is provided in hex form and converts it to decimal # int equivalent since that's what the library uses BITMASK_SCHEMA = vol.All(...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/device_trigger.py
homeassistant/components/zwave_js/device_trigger.py
"""Provides device triggers for Z-Wave JS.""" from __future__ import annotations import asyncio from typing import Any import voluptuous as vol from zwave_js_server.const import CommandClass from homeassistant.components.device_automation import ( DEVICE_TRIGGER_BASE_SCHEMA, InvalidDeviceAutomationConfig, )...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/api.py
homeassistant/components/zwave_js/api.py
"""Websocket API for Z-Wave JS.""" from __future__ import annotations from collections.abc import Callable, Coroutine from contextlib import suppress import dataclasses from functools import partial, wraps from typing import TYPE_CHECKING, Any, Concatenate, Literal, cast from aiohttp import web, web_exceptions, web_...
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/zwave_js/diagnostics.py
homeassistant/components/zwave_js/diagnostics.py
"""Provides diagnostics for Z-Wave JS.""" from __future__ import annotations from copy import deepcopy from typing import Any from zwave_js_server.client import Client from zwave_js_server.const import CommandClass from zwave_js_server.dump import dump_msgs from zwave_js_server.model.node import Node from zwave_js_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/zwave_js/repairs.py
homeassistant/components/zwave_js/repairs.py
"""Repairs for Z-Wave JS.""" from __future__ import annotations from homeassistant import data_entry_flow from homeassistant.components.repairs import ConfirmRepairFlow, RepairsFlow from homeassistant.core import HomeAssistant from homeassistant.helpers import issue_registry as ir from .const import DOMAIN from .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/zwave_js/device_condition.py
homeassistant/components/zwave_js/device_condition.py
"""Provide the device conditions for Z-Wave JS.""" from __future__ import annotations from typing import cast import voluptuous as vol from zwave_js_server.const import CommandClass from zwave_js_server.model.value import ConfigurationValue from homeassistant.components.device_automation import InvalidDeviceAutomat...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/discovery.py
homeassistant/components/zwave_js/discovery.py
"""Map Z-Wave nodes and values to Home Assistant entities.""" from __future__ import annotations from collections.abc import Generator from dataclasses import dataclass from typing import cast from awesomeversion import AwesomeVersion from zwave_js_server.const import ( CURRENT_STATE_PROPERTY, CURRENT_VALUE_...
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/zwave_js/device_automation_helpers.py
homeassistant/components/zwave_js/device_automation_helpers.py
"""Provides helpers for Z-Wave JS device automations.""" from __future__ import annotations from zwave_js_server.model.value import ConfigurationValue from homeassistant.config_entries import ConfigEntryState from homeassistant.core import HomeAssistant, callback from homeassistant.helpers import device_registry as ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/cover.py
homeassistant/components/zwave_js/cover.py
"""Support for Z-Wave cover devices.""" from __future__ import annotations from typing import Any, cast from zwave_js_server.const import ( CURRENT_VALUE_PROPERTY, TARGET_STATE_PROPERTY, TARGET_VALUE_PROPERTY, ) from zwave_js_server.const.command_class.barrier_operator import BarrierState from zwave_js_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/zwave_js/services.py
homeassistant/components/zwave_js/services.py
"""Methods and classes related to executing Z-Wave commands.""" from __future__ import annotations import asyncio from collections.abc import Collection, Generator, Sequence import logging import math from typing import Any import voluptuous as vol from zwave_js_server.client import Client as ZwaveClient from zwave_...
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/zwave_js/models.py
homeassistant/components/zwave_js/models.py
"""Provide models for the Z-Wave integration.""" from __future__ import annotations from collections.abc import Iterable from dataclasses import asdict, dataclass, field from enum import StrEnum from typing import TYPE_CHECKING, Any from awesomeversion import AwesomeVersion from zwave_js_server.const import LogLevel...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/switch.py
homeassistant/components/zwave_js/switch.py
"""Representation of Z-Wave switches.""" from __future__ import annotations from typing import Any from zwave_js_server.const import TARGET_VALUE_PROPERTY from zwave_js_server.const.command_class.barrier_operator import ( BarrierEventSignalingSubsystemState, ) from zwave_js_server.model.driver import Driver 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/zwave_js/number.py
homeassistant/components/zwave_js/number.py
"""Support for Z-Wave controls using the number platform.""" from __future__ import annotations from collections.abc import Mapping from typing import Any, cast from zwave_js_server.const import TARGET_VALUE_PROPERTY from zwave_js_server.model.driver import Driver from zwave_js_server.model.value import Value 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/zwave_js/addon.py
homeassistant/components/zwave_js/addon.py
"""Provide add-on management.""" from __future__ import annotations from homeassistant.components.hassio import AddonManager from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.singleton import singleton from .const import ADDON_SLUG, DOMAIN, LOGGER DATA_ADDON_MANAGER = f"{DOMAIN}_addo...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/binary_sensor.py
homeassistant/components/zwave_js/binary_sensor.py
"""Representation of Z-Wave binary sensors.""" from __future__ import annotations from dataclasses import dataclass, field from typing import TYPE_CHECKING, cast from zwave_js_server.const import CommandClass from zwave_js_server.const.command_class.lock import DOOR_STATUS_PROPERTY from zwave_js_server.const.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/zwave_js/lock.py
homeassistant/components/zwave_js/lock.py
"""Representation of Z-Wave locks.""" from __future__ import annotations from typing import Any import voluptuous as vol from zwave_js_server.const import CommandClass from zwave_js_server.const.command_class.lock import ( ATTR_CODE_SLOT, ATTR_USERCODE, LOCK_CMD_CLASS_TO_LOCKED_STATE_MAP, LOCK_CMD_CL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/const.py
homeassistant/components/zwave_js/const.py
"""Constants for the Z-Wave JS integration.""" from __future__ import annotations import logging from awesomeversion import AwesomeVersion from zwave_js_server.const.command_class.window_covering import ( WindowCoveringPropertyKey, ) from homeassistant.const import APPLICATION_NAME, __version__ as HA_VERSION L...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/update.py
homeassistant/components/zwave_js/update.py
"""Representation of Z-Wave updates.""" from __future__ import annotations import asyncio from collections import Counter from collections.abc import Awaitable, Callable from dataclasses import dataclass from datetime import datetime, timedelta from typing import Any, Final, cast from awesomeversion import AwesomeVe...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/helpers.py
homeassistant/components/zwave_js/helpers.py
"""Helper functions for Z-Wave JS integration.""" from __future__ import annotations import asyncio from collections.abc import Callable, Coroutine from dataclasses import astuple, dataclass import logging from typing import Any, cast import aiohttp import voluptuous as vol from zwave_js_server.const import ( LO...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/fan.py
homeassistant/components/zwave_js/fan.py
"""Support for Z-Wave fans.""" from __future__ import annotations import math from typing import Any, cast from zwave_js_server.const import TARGET_VALUE_PROPERTY, CommandClass from zwave_js_server.const.command_class.multilevel_switch import SET_TO_PREVIOUS_VALUE from zwave_js_server.const.command_class.thermostat ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/siren.py
homeassistant/components/zwave_js/siren.py
"""Support for Z-Wave controls using the siren platform.""" from __future__ import annotations from typing import Any from zwave_js_server.const.command_class.sound_switch import ToneID from zwave_js_server.model.driver import Driver from homeassistant.components.siren import ( ATTR_TONE, ATTR_VOLUME_LEVEL,...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/sensor.py
homeassistant/components/zwave_js/sensor.py
"""Representation of Z-Wave sensors.""" from __future__ import annotations from collections.abc import Callable, Mapping from dataclasses import dataclass from typing import Any, cast import voluptuous as vol from zwave_js_server.const import CommandClass, RssiError from zwave_js_server.const.command_class.meter imp...
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/zwave_js/__init__.py
homeassistant/components/zwave_js/__init__.py
"""The Z-Wave JS integration.""" from __future__ import annotations import asyncio from collections import defaultdict import contextlib import logging from typing import Any from awesomeversion import AwesomeVersion import voluptuous as vol from zwave_js_server.client import Client as ZwaveClient from zwave_js_serv...
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/zwave_js/humidifier.py
homeassistant/components/zwave_js/humidifier.py
"""Representation of Z-Wave humidifiers.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from zwave_js_server.const import CommandClass from zwave_js_server.const.command_class.humidity_control import ( HUMIDITY_CONTROL_SETPOINT_PROPERTY, HumidityControlMode, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zwave_js/entity.py
homeassistant/components/zwave_js/entity.py
"""Generic Z-Wave Entity Class.""" from __future__ import annotations from collections.abc import Sequence from dataclasses import dataclass from typing import Any from zwave_js_server.exceptions import BaseZwaveJSServerError from zwave_js_server.model.driver import Driver from zwave_js_server.model.value import ( ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false