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/ring/entity.py
homeassistant/components/ring/entity.py
"""Base class for Ring entity.""" from collections.abc import Awaitable, Callable, Coroutine from dataclasses import dataclass import logging from typing import Any, Concatenate, Generic, TypeVar, cast from ring_doorbell import ( AuthenticationError, RingDevices, RingError, RingGeneric, RingTimeou...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/button.py
homeassistant/components/ring/button.py
"""Component providing support for Ring buttons.""" from __future__ import annotations from ring_doorbell import RingOther from homeassistant.components.button import ButtonEntity, ButtonEntityDescription from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ring/light.py
homeassistant/components/ring/light.py
"""Component providing HA switch support for Ring Door Bell/Chimes.""" from datetime import timedelta from enum import StrEnum, auto import logging from typing import Any from ring_doorbell import RingStickUpCam from homeassistant.components.light import ColorMode, LightEntity from homeassistant.core import 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/ring/config_flow.py
homeassistant/components/ring/config_flow.py
"""Config flow for Ring integration.""" from collections.abc import Mapping import logging from typing import Any import uuid from ring_doorbell import Auth, AuthenticationError, Requires2FAError import voluptuous as vol from homeassistant.config_entries import ( SOURCE_REAUTH, SOURCE_RECONFIGURE, 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/reolink/diagnostics.py
homeassistant/components/reolink/diagnostics.py
"""Diagnostics support for Reolink.""" from __future__ import annotations from typing import Any from homeassistant.core import HomeAssistant from .util import ReolinkConfigEntry, ReolinkData async def async_get_config_entry_diagnostics( hass: HomeAssistant, config_entry: ReolinkConfigEntry ) -> dict[str, Any...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/views.py
homeassistant/components/reolink/views.py
"""Reolink Integration views.""" from __future__ import annotations from base64 import urlsafe_b64decode, urlsafe_b64encode from http import HTTPStatus import logging from aiohttp import ClientError, ClientTimeout, web from reolink_aio.enums import VodRequestType from reolink_aio.exceptions import ReolinkError 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/reolink/util.py
homeassistant/components/reolink/util.py
"""Utility functions for the Reolink component.""" from __future__ import annotations from collections.abc import Awaitable, Callable, Coroutine from dataclasses import dataclass from typing import TYPE_CHECKING, Any from reolink_aio.exceptions import ( ApiError, CredentialsInvalidError, InvalidContentTy...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/services.py
homeassistant/components/reolink/services.py
"""Reolink additional services.""" from __future__ import annotations from reolink_aio.api import Chime from reolink_aio.enums import ChimeToneEnum import voluptuous as vol from homeassistant.config_entries import ConfigEntryState from homeassistant.const import ATTR_DEVICE_ID from homeassistant.core import 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/reolink/switch.py
homeassistant/components/reolink/switch.py
"""Component providing support for Reolink switch entities.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from reolink_aio.api import Chime, Host from homeassistant.components.switch import SwitchEntity, SwitchEntityDescription 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/reolink/number.py
homeassistant/components/reolink/number.py
"""Component providing support for Reolink number entities.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from reolink_aio.api import Chime, Host from homeassistant.components.number import ( NumberDeviceClass, NumberEntit...
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/reolink/exceptions.py
homeassistant/components/reolink/exceptions.py
"""Exceptions for the Reolink Camera integration.""" from homeassistant.exceptions import HomeAssistantError class ReolinkException(HomeAssistantError): """BaseException for the Reolink integration.""" class ReolinkSetupException(ReolinkException): """Raised when setting up the Reolink host failed.""" 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/reolink/media_source.py
homeassistant/components/reolink/media_source.py
"""Expose Reolink IP camera VODs as media sources.""" from __future__ import annotations import datetime as dt import logging from reolink_aio.api import DUAL_LENS_MODELS from reolink_aio.enums import VodRequestType from reolink_aio.typings import VOD_trigger from homeassistant.components.camera import DOMAIN as CA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/binary_sensor.py
homeassistant/components/reolink/binary_sensor.py
"""Component providing support for Reolink binary sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from reolink_aio.api import ( DUAL_LENS_DUAL_MOTION_MODELS, FACE_DETECTION_TYPE, PACKAGE_DETECTION_TYPE, PERSON_DETECTION_TYPE, P...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/camera.py
homeassistant/components/reolink/camera.py
"""Component providing support for Reolink IP cameras.""" from __future__ import annotations from dataclasses import dataclass import logging from reolink_aio.api import DUAL_LENS_MODELS from homeassistant.components.camera import ( Camera, CameraEntityDescription, CameraEntityFeature, ) 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/reolink/const.py
homeassistant/components/reolink/const.py
"""Constants for the Reolink Camera integration.""" DOMAIN = "reolink" CONF_USE_HTTPS = "use_https" CONF_BC_PORT = "baichuan_port" CONF_BC_ONLY = "baichuan_only" CONF_SUPPORTS_PRIVACY_MODE = "privacy_mode_supported" CONF_FIRMWARE_CHECK_TIME = "firmware_check_time" # Conserve battery by not waking the battery cameras...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/update.py
homeassistant/components/reolink/update.py
"""Update entities for Reolink devices.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from reolink_aio.exceptions import ReolinkError from reolink_aio.software_version import NewSoftwareVersion, SoftwareVersion from homeassistant.components.update import ( Update...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/siren.py
homeassistant/components/reolink/siren.py
"""Component providing support for Reolink siren entities.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from homeassistant.components.siren import ( ATTR_DURATION, ATTR_VOLUME_LEVEL, SirenEntity, SirenEntityDescription, SirenEntityFeature, ) 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/reolink/sensor.py
homeassistant/components/reolink/sensor.py
"""Component providing support for Reolink sensors.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import date, datetime from decimal import Decimal from reolink_aio.api import Host from reolink_aio.const import YOLO_DETECT_TYPES from reolin...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/__init__.py
homeassistant/components/reolink/__init__.py
"""Reolink integration for HomeAssistant.""" from __future__ import annotations import asyncio from collections.abc import Callable from datetime import UTC, datetime, timedelta import logging from random import uniform from time import time from typing import Any from reolink_aio.api import RETRY_ATTEMPTS from reol...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/entity.py
homeassistant/components/reolink/entity.py
"""Reolink parent entity class.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from reolink_aio.api import DUAL_LENS_MODELS, Chime, Host from homeassistant.core import callback from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC, Dev...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/button.py
homeassistant/components/reolink/button.py
"""Component providing support for Reolink button entities.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from reolink_aio.api import GuardEnum, Host, PtzEnum import voluptuous as vol from homeassistant.components.button 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/reolink/select.py
homeassistant/components/reolink/select.py
"""Component providing support for Reolink select entities.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass import logging from typing import Any from reolink_aio.api import ( BinningModeEnum, Chime, ChimeToneEnum, DayNightEnum, Encodin...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/reolink/host.py
homeassistant/components/reolink/host.py
"""Module which encapsulates the NVR/camera API and subscription.""" from __future__ import annotations import asyncio from collections import defaultdict from collections.abc import Mapping import logging from time import time from typing import Any, Literal import aiohttp from aiohttp.web import Request from reoli...
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/reolink/light.py
homeassistant/components/reolink/light.py
"""Component providing support for Reolink light entities.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from reolink_aio.api import Host from reolink_aio.const import MAX_COLOR_TEMP, MIN_COLOR_TEMP from homeassistant.components.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/reolink/config_flow.py
homeassistant/components/reolink/config_flow.py
"""Config flow for the Reolink camera component.""" from __future__ import annotations import asyncio from collections.abc import Mapping import logging from typing import Any from reolink_aio.api import ALLOWED_SPECIAL_CHARS from reolink_aio.baichuan import DEFAULT_BC_PORT from reolink_aio.exceptions import ( A...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/device_tracker.py
homeassistant/components/ituran/device_tracker.py
"""Device tracker for Ituran vehicles.""" from __future__ import annotations from homeassistant.components.device_tracker import TrackerEntity from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback from . import IturanConfigEntry from .coordinato...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/binary_sensor.py
homeassistant/components/ituran/binary_sensor.py
"""Binary sensors for Ituran vehicles.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from pyituran import Vehicle from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/const.py
homeassistant/components/ituran/const.py
"""Constants for the Ituran integration.""" from datetime import timedelta from typing import Final DOMAIN = "ituran" CONF_ID_OR_PASSPORT: Final = "id_or_passport" CONF_PHONE_NUMBER: Final = "phone_number" CONF_MOBILE_ID: Final = "mobile_id" CONF_OTP: Final = "otp" UPDATE_INTERVAL = timedelta(seconds=300)
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/coordinator.py
homeassistant/components/ituran/coordinator.py
"""Coordinator for Ituran.""" import logging from pyituran import Ituran, Vehicle from pyituran.exceptions import IturanApiError, IturanAuthError from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryAuthFailed 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/ituran/sensor.py
homeassistant/components/ituran/sensor.py
"""Sensors for Ituran vehicles.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from pyituran import Vehicle from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/__init__.py
homeassistant/components/ituran/__init__.py
"""The Ituran integration.""" from __future__ import annotations from homeassistant.const import Platform from homeassistant.core import HomeAssistant from .coordinator import IturanConfigEntry, IturanDataUpdateCoordinator PLATFORMS: list[Platform] = [ Platform.BINARY_SENSOR, Platform.DEVICE_TRACKER, Pl...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/entity.py
homeassistant/components/ituran/entity.py
"""Base for all turan entities.""" from __future__ import annotations from pyituran import Vehicle from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.update_coordinator import CoordinatorEntity from .const import DOMAIN from .coordinator import IturanDataUpdateCoordinator clas...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/ituran/config_flow.py
homeassistant/components/ituran/config_flow.py
"""Config flow for Ituran integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from pyituran import Ituran from pyituran.exceptions import IturanApiError, IturanAuthError import voluptuous as vol from homeassistant.config_entries import SOURCE_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/prosegur/diagnostics.py
homeassistant/components/prosegur/diagnostics.py
"""Diagnostics support for Prosegur.""" from __future__ import annotations from typing import Any from pyprosegur.installation import Installation from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant 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/prosegur/camera.py
homeassistant/components/prosegur/camera.py
"""Support for Prosegur cameras.""" from __future__ import annotations import logging from pyprosegur.auth import Auth from pyprosegur.exceptions import ProsegurException from pyprosegur.installation import Camera as InstallationCamera, Installation from homeassistant.components.camera import Camera 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/prosegur/const.py
homeassistant/components/prosegur/const.py
"""Constants for the Prosegur Alarm integration.""" DOMAIN = "prosegur" CONF_CONTRACT = "contract" SERVICE_REQUEST_IMAGE = "request_image"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/prosegur/__init__.py
homeassistant/components/prosegur/__init__.py
"""The Prosegur Alarm integration.""" import logging from pyprosegur.auth import Auth from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_COUNTRY, CONF_PASSWORD, CONF_USERNAME, Platform from homeassistant.core import HomeAssistant from homeassistant.exceptions 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/prosegur/alarm_control_panel.py
homeassistant/components/prosegur/alarm_control_panel.py
"""Support for Prosegur alarm control panels.""" from __future__ import annotations import logging from pyprosegur.auth import Auth from pyprosegur.installation import Installation, Status from homeassistant.components.alarm_control_panel import ( AlarmControlPanelEntity, AlarmControlPanelEntityFeature, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/prosegur/config_flow.py
homeassistant/components/prosegur/config_flow.py
"""Config flow for Prosegur Alarm integration.""" from collections.abc import Mapping import logging from typing import Any from pyprosegur.auth import COUNTRY, Auth from pyprosegur.installation import Installation import voluptuous as vol from homeassistant.config_entries import ConfigFlow, ConfigFlowResult from ho...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/system_health/__init__.py
homeassistant/components/system_health/__init__.py
"""Support for System health .""" from __future__ import annotations import asyncio from collections.abc import AsyncGenerator, Awaitable, Callable import dataclasses from datetime import datetime import logging from typing import Any, Protocol import aiohttp import voluptuous as vol from homeassistant.components 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/fujitsu_anywair/__init__.py
homeassistant/components/fujitsu_anywair/__init__.py
"""Fujitsu anywAIR virtual integration for Home Assistant."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/recollect_waste/diagnostics.py
homeassistant/components/recollect_waste/diagnostics.py
"""Diagnostics support for ReCollect Waste.""" from __future__ import annotations import dataclasses from typing import Any from aiorecollect.client import PickupEvent from homeassistant.components.diagnostics import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const 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/recollect_waste/util.py
homeassistant/components/recollect_waste/util.py
"""Define ReCollect Waste utilities.""" from aiorecollect.client import PickupType from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_FRIENDLY_NAME from homeassistant.core import callback @callback def async_get_pickup_type_names( entry: ConfigEntry, pickup_types: list[Pic...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/recollect_waste/const.py
homeassistant/components/recollect_waste/const.py
"""Define ReCollect Waste constants.""" import logging DOMAIN = "recollect_waste" LOGGER = logging.getLogger(__package__) CONF_PLACE_ID = "place_id" CONF_SERVICE_ID = "service_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/recollect_waste/sensor.py
homeassistant/components/recollect_waste/sensor.py
"""Support for ReCollect Waste sensors.""" from __future__ import annotations from datetime import date from aiorecollect.client import PickupEvent from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescription, ) from homeassistant.config_entries import ConfigEnt...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/recollect_waste/__init__.py
homeassistant/components/recollect_waste/__init__.py
"""The ReCollect Waste integration.""" from __future__ import annotations from datetime import date, timedelta from typing import Any from aiorecollect.client import Client, PickupEvent from aiorecollect.errors import RecollectError from homeassistant.config_entries import ConfigEntry from homeassistant.const 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/recollect_waste/entity.py
homeassistant/components/recollect_waste/entity.py
"""Define a base ReCollect Waste entity.""" from aiorecollect.client import PickupEvent from homeassistant.config_entries import ConfigEntry from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.update_coordinator import ( CoordinatorEntity, DataUpdateCoordin...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/recollect_waste/calendar.py
homeassistant/components/recollect_waste/calendar.py
"""Support for ReCollect Waste calendars.""" from __future__ import annotations import datetime from aiorecollect.client import PickupEvent from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.config_entries import ConfigEntry from homeassistant.core import 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/recollect_waste/config_flow.py
homeassistant/components/recollect_waste/config_flow.py
"""Config flow for ReCollect Waste integration.""" from __future__ import annotations from typing import Any from aiorecollect.client import Client from aiorecollect.errors import RecollectError 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/history/websocket_api.py
homeassistant/components/history/websocket_api.py
"""Websocket API for the history integration.""" from __future__ import annotations import asyncio from collections.abc import Callable, Iterable from dataclasses import dataclass from datetime import datetime as dt, timedelta import logging from typing import Any, cast import voluptuous as vol 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/history/const.py
homeassistant/components/history/const.py
"""History integration constants.""" DOMAIN = "history" EVENT_COALESCE_TIME = 0.35 MAX_PENDING_HISTORY_STATES = 2048
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/history/helpers.py
homeassistant/components/history/helpers.py
"""Helpers for the history integration.""" from __future__ import annotations from collections.abc import Iterable from datetime import datetime as dt from homeassistant.components.recorder import get_instance from homeassistant.core import HomeAssistant def entities_may_have_state_changes_after( hass: 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/history/__init__.py
homeassistant/components/history/__init__.py
"""Provide pre-made queries on top of the recorder component.""" from __future__ import annotations from datetime import datetime as dt, timedelta from http import HTTPStatus from typing import cast from aiohttp import web import voluptuous as vol from homeassistant.components import frontend from homeassistant.com...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/input_boolean/reproduce_state.py
homeassistant/components/input_boolean/reproduce_state.py
"""Reproduce an input boolean state.""" from __future__ import annotations import asyncio from collections.abc import Iterable import logging from typing import Any from homeassistant.const import ( ATTR_ENTITY_ID, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_OFF, STATE_ON, ) from homeassistant.core ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/input_boolean/__init__.py
homeassistant/components/input_boolean/__init__.py
"""Support to keep track of user controlled booleans for within automation.""" from __future__ import annotations import logging from typing import Any, Self import voluptuous as vol from homeassistant.const import ( ATTR_EDITABLE, CONF_ICON, CONF_ID, CONF_NAME, SERVICE_RELOAD, SERVICE_TOGGL...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/x10/__init__.py
homeassistant/components/x10/__init__.py
"""The x10 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/x10/light.py
homeassistant/components/x10/light.py
"""Support for X10 lights.""" from __future__ import annotations import logging from subprocess import STDOUT, CalledProcessError, check_output from typing import Any import voluptuous as vol from homeassistant.components.light import ( ATTR_BRIGHTNESS, PLATFORM_SCHEMA as LIGHT_PLATFORM_SCHEMA, ColorMod...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/diagnostics.py
homeassistant/components/lamarzocco/diagnostics.py
"""Diagnostics support for La Marzocco.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics import async_redact_data from homeassistant.const import CONF_MAC, CONF_TOKEN from homeassistant.core import HomeAssistant from .const import CONF_USE_BLUETOOTH from .coordi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/switch.py
homeassistant/components/lamarzocco/switch.py
"""Switch platform for La Marzocco espresso machines.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, cast from pylamarzocco import LaMarzoccoMachine from pylamarzocco.const import MachineMode, ModelName, WidgetType from pylamarzocco.exceptions import Reque...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/number.py
homeassistant/components/lamarzocco/number.py
"""Number platform for La Marzocco espresso machines.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, cast from pylamarzocco import LaMarzoccoMachine from pylamarzocco.const import DoseMode, ModelName, PreExtractionMode, WidgetType from pylamarzocco.excepti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/binary_sensor.py
homeassistant/components/lamarzocco/binary_sensor.py
"""Binary Sensor platform for La Marzocco espresso machines.""" from collections.abc import Callable from dataclasses import dataclass from typing import cast from pylamarzocco import LaMarzoccoMachine from pylamarzocco.const import BackFlushStatus, MachineState, ModelName, WidgetType from pylamarzocco.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/lamarzocco/const.py
homeassistant/components/lamarzocco/const.py
"""Constants for the La Marzocco integration.""" from typing import Final DOMAIN: Final = "lamarzocco" CONF_USE_BLUETOOTH: Final = "use_bluetooth" CONF_INSTALLATION_KEY: Final = "installation_key" CONF_OFFLINE_MODE: Final = "offline_mode"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/coordinator.py
homeassistant/components/lamarzocco/coordinator.py
"""Coordinator for La Marzocco API.""" from __future__ import annotations from abc import abstractmethod from asyncio import Task from collections.abc import Callable, Coroutine from dataclasses import dataclass from datetime import timedelta import logging from typing import Any from pylamarzocco import LaMarzoccoM...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/update.py
homeassistant/components/lamarzocco/update.py
"""Support for La Marzocco update entities.""" import asyncio from dataclasses import dataclass from typing import Any from pylamarzocco.const import FirmwareType, UpdateStatus from pylamarzocco.exceptions import RequestNotSuccessful from homeassistant.components.update import ( UpdateDeviceClass, UpdateEnti...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/sensor.py
homeassistant/components/lamarzocco/sensor.py
"""Sensor platform for La Marzocco espresso machines.""" from collections.abc import Callable from dataclasses import dataclass from datetime import datetime from typing import cast from pylamarzocco.const import BackFlushStatus, MachineState, ModelName, WidgetType from pylamarzocco.models import ( BackFlush, ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/__init__.py
homeassistant/components/lamarzocco/__init__.py
"""The La Marzocco integration.""" import asyncio import logging import uuid from aiohttp import ClientSession from packaging import version from pylamarzocco import ( LaMarzoccoBluetoothClient, LaMarzoccoCloudClient, LaMarzoccoMachine, ) from pylamarzocco.const import FirmwareType from pylamarzocco.excep...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/entity.py
homeassistant/components/lamarzocco/entity.py
"""Base class for the La Marzocco entities.""" from collections.abc import Callable from dataclasses import dataclass from typing import cast from pylamarzocco.const import FirmwareType, MachineState, WidgetType from pylamarzocco.models import MachineStatus from homeassistant.const import CONF_ADDRESS, CONF_MAC from...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/calendar.py
homeassistant/components/lamarzocco/calendar.py
"""Calendar platform for La Marzocco espresso machines.""" from collections.abc import Iterator from datetime import datetime, timedelta from pylamarzocco.const import WeekDay from homeassistant.components.calendar import CalendarEntity, CalendarEvent from homeassistant.core import HomeAssistant from homeassistant.h...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/lamarzocco/button.py
homeassistant/components/lamarzocco/button.py
"""Button platform for La Marzocco espresso machines.""" import asyncio from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any from pylamarzocco.exceptions import RequestNotSuccessful from homeassistant.components.button import ButtonEntity, ButtonEntityDescription 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/lamarzocco/select.py
homeassistant/components/lamarzocco/select.py
"""Select platform for La Marzocco espresso machines.""" from collections.abc import Callable, Coroutine from dataclasses import dataclass from typing import Any, cast from pylamarzocco.const import ( DoseMode, ModelName, PreExtractionMode, SmartStandByType, SteamTargetLevel, WidgetType, ) 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/lamarzocco/config_flow.py
homeassistant/components/lamarzocco/config_flow.py
"""Config flow for La Marzocco integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import uuid from aiohttp import ClientSession from pylamarzocco import LaMarzoccoCloudClient from pylamarzocco.exceptions import AuthFail, RequestNotSuccessful 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/zabbix/const.py
homeassistant/components/zabbix/const.py
"""Constants for Zabbix.""" DOMAIN = "zabbix"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/zabbix/sensor.py
homeassistant/components/zabbix/sensor.py
"""Support for Zabbix sensors.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import voluptuous as vol from zabbix_utils import ZabbixAPI from homeassistant.components.sensor import ( PLATFORM_SCHEMA as SENSOR_PLATFORM_SCHEMA, 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/zabbix/__init__.py
homeassistant/components/zabbix/__init__.py
"""Support for Zabbix.""" from collections.abc import Callable from contextlib import suppress import json import logging import math import queue import threading import time from urllib.error import HTTPError from urllib.parse import urljoin import voluptuous as vol from zabbix_utils import ItemValue, Sender, Zabbi...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/time_date/const.py
homeassistant/components/time_date/const.py
"""Constants for the Time & Date integration.""" from __future__ import annotations from typing import Final from homeassistant.const import Platform CONF_DISPLAY_OPTIONS = "display_options" DOMAIN: Final = "time_date" PLATFORMS = [Platform.SENSOR] TIME_STR_FORMAT = "%H:%M" OPTION_TYPES = [ "time", "date",...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/time_date/sensor.py
homeassistant/components/time_date/sensor.py
"""Support for showing the date and the time.""" from __future__ import annotations from collections.abc import Callable, Mapping from datetime import datetime, timedelta import logging from typing import Any import voluptuous as vol from homeassistant.components.sensor import ( ENTITY_ID_FORMAT, PLATFORM_S...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/time_date/__init__.py
homeassistant/components/time_date/__init__.py
"""The time_date component.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .const import PLATFORMS async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: """Set up Time & Date from a config entr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/time_date/config_flow.py
homeassistant/components/time_date/config_flow.py
"""Adds config flow for Time & Date integration.""" from __future__ import annotations from collections.abc import Mapping import logging from typing import Any import voluptuous as vol from homeassistant.components import websocket_api from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN 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/bosch_shc/cover.py
homeassistant/components/bosch_shc/cover.py
"""Platform for cover integration.""" from typing import Any from boschshcpy import SHCShutterControl from homeassistant.components.cover import ( ATTR_POSITION, CoverDeviceClass, CoverEntity, CoverEntityFeature, ) 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/bosch_shc/switch.py
homeassistant/components/bosch_shc/switch.py
"""Platform for switch integration.""" from __future__ import annotations from dataclasses import dataclass from typing import Any from boschshcpy import ( SHCCamera360, SHCCameraEyes, SHCLightSwitch, SHCSmartPlug, SHCSmartPlugCompact, ) from boschshcpy.device import SHCDevice 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/bosch_shc/binary_sensor.py
homeassistant/components/bosch_shc/binary_sensor.py
"""Platform for binarysensor integration.""" from __future__ import annotations from boschshcpy import SHCBatteryDevice, SHCShutterContact from boschshcpy.device import SHCDevice from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.core import...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bosch_shc/const.py
homeassistant/components/bosch_shc/const.py
"""Constants for the Bosch SHC integration.""" CONF_HOSTNAME = "hostname" CONF_SHC_CERT = "bosch_shc-cert.pem" CONF_SHC_KEY = "bosch_shc-key.pem" CONF_SSL_CERTIFICATE = "ssl_certificate" CONF_SSL_KEY = "ssl_key" DOMAIN = "bosch_shc"
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bosch_shc/sensor.py
homeassistant/components/bosch_shc/sensor.py
"""Platform for sensor integration.""" from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any from boschshcpy.device import SHCDevice from homeassistant.components.sensor import ( SensorDeviceClass, SensorEntity, SensorEntityDescr...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bosch_shc/__init__.py
homeassistant/components/bosch_shc/__init__.py
"""The Bosch Smart Home Controller integration.""" import logging from boschshcpy import SHCSession from boschshcpy.exceptions import SHCAuthenticationError, SHCConnectionError from homeassistant.components.zeroconf import async_get_instance from homeassistant.config_entries import ConfigEntry from homeassistant.con...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bosch_shc/entity.py
homeassistant/components/bosch_shc/entity.py
"""Bosch Smart Home Controller base entity.""" from __future__ import annotations from boschshcpy import SHCDevice, SHCIntrusionSystem from homeassistant.core import HomeAssistant from homeassistant.helpers import device_registry as dr from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.h...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/bosch_shc/config_flow.py
homeassistant/components/bosch_shc/config_flow.py
"""Config flow for Bosch Smart Home Controller integration.""" from __future__ import annotations from collections.abc import Mapping import logging from os import makedirs from typing import Any, cast from boschshcpy import SHCRegisterClient, SHCSession from boschshcpy.exceptions import ( SHCAuthenticationError...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/evergy/__init__.py
homeassistant/components/evergy/__init__.py
"""Virtual integration: Evergy."""
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/data_handler.py
homeassistant/components/netatmo/data_handler.py
"""The Netatmo data handler.""" from __future__ import annotations from collections import deque from dataclasses import dataclass from datetime import datetime, timedelta from itertools import islice import logging from time import time from typing import Any import aiohttp import pyatmo from pyatmo.modules.device_...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/helper.py
homeassistant/components/netatmo/helper.py
"""Helper for Netatmo integration.""" from __future__ import annotations from dataclasses import dataclass from uuid import UUID, uuid4 @dataclass class NetatmoArea: """Class for keeping track of an area.""" area_name: str lat_ne: float lon_ne: float lat_sw: float lon_sw: float mode: 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/netatmo/device_trigger.py
homeassistant/components/netatmo/device_trigger.py
"""Provides device automations for Netatmo.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import ( DEVICE_TRIGGER_BASE_SCHEMA, InvalidDeviceAutomationConfig, ) from homeassistant.components.homeassistant.triggers import event as event_trigger 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/netatmo/api.py
homeassistant/components/netatmo/api.py
"""API for Netatmo bound to HASS OAuth.""" from collections.abc import Iterable from typing import cast from aiohttp import ClientSession import pyatmo from homeassistant.components import cloud from homeassistant.helpers import config_entry_oauth2_flow from .const import API_SCOPES_EXCLUDED_FROM_CLOUD def get_ap...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/diagnostics.py
homeassistant/components/netatmo/diagnostics.py
"""Diagnostics support for Netatmo.""" 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 DATA_HANDLER, DOMAIN from .data_han...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/application_credentials.py
homeassistant/components/netatmo/application_credentials.py
"""Application credentials platform for Netatmo.""" from homeassistant.components.application_credentials import AuthorizationServer from homeassistant.core import HomeAssistant from .const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: ...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/cover.py
homeassistant/components/netatmo/cover.py
"""Support for Netatmo/Bubendorff covers.""" from __future__ import annotations import logging from typing import Any from pyatmo import modules as NaModules from homeassistant.components.cover import ( ATTR_POSITION, CoverDeviceClass, CoverEntity, CoverEntityFeature, ) 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/netatmo/switch.py
homeassistant/components/netatmo/switch.py
"""Support for Netatmo/BTicino/Legrande switches.""" from __future__ import annotations import logging from typing import Any from pyatmo import modules as NaModules from homeassistant.components.switch import SwitchEntity from homeassistant.config_entries import ConfigEntry from homeassistant.core import 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/netatmo/media_source.py
homeassistant/components/netatmo/media_source.py
"""Netatmo Media Source Implementation.""" from __future__ import annotations import datetime as dt import logging import re from homeassistant.components.media_player import BrowseError, MediaClass, MediaType from homeassistant.components.media_source import ( BrowseMediaSource, MediaSource, MediaSource...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/binary_sensor.py
homeassistant/components/netatmo/binary_sensor.py
"""Support for Netatmo binary sensors.""" from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, BinarySensorEntityDescription, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant, callback from homeassistant.helpers...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/camera.py
homeassistant/components/netatmo/camera.py
"""Support for the Netatmo cameras.""" from __future__ import annotations import logging from typing import Any, cast import aiohttp from pyatmo import ApiError as NetatmoApiError, modules as NaModules from pyatmo.event import Event as NaEvent import voluptuous as vol from homeassistant.components.camera import Cam...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/const.py
homeassistant/components/netatmo/const.py
"""Constants used by the Netatmo component.""" from homeassistant.const import Platform API = "api" DOMAIN = "netatmo" MANUFACTURER = "Netatmo" DEFAULT_ATTRIBUTION = f"Data provided by {MANUFACTURER}" PLATFORMS = [ Platform.BINARY_SENSOR, Platform.BUTTON, Platform.CAMERA, Platform.CLIMATE, Platf...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false
home-assistant/core
https://github.com/home-assistant/core/blob/6cae1821fb77e785a8aebb48dfc72ea5081b8975/homeassistant/components/netatmo/fan.py
homeassistant/components/netatmo/fan.py
"""Support for Netatmo/Bubendorff fans.""" from __future__ import annotations import logging from typing import Final from pyatmo import modules as NaModules from homeassistant.components.fan import FanEntity, FanEntityFeature from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeA...
python
Apache-2.0
6cae1821fb77e785a8aebb48dfc72ea5081b8975
2026-01-04T14:38:15.504802Z
false