Skip to content

Commit

Permalink
Generate v2025.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 11, 2025
1 parent 7a15759 commit e7d9d1e
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion homeassistant-stubs/components/backup/manager.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class BackupManager:
async def async_get_backup(self, backup_id: str) -> tuple[ManagerBackup | None, dict[str, Exception]]: ...
@staticmethod
def is_our_automatic_backup(backup: AgentBackup, our_instance_id: str) -> bool | None: ...
async def async_delete_backup(self, backup_id: str) -> dict[str, Exception]: ...
async def async_delete_backup(self, backup_id: str, *, agent_ids: list[str] | None = None) -> dict[str, Exception]: ...
async def async_delete_filtered_backups(self, *, include_filter: Callable[[dict[str, ManagerBackup]], dict[str, ManagerBackup]], delete_filter: Callable[[dict[str, ManagerBackup]], dict[str, ManagerBackup]]) -> None: ...
async def async_receive_backup(self, *, agent_ids: list[str], contents: aiohttp.BodyPartReader) -> str: ...
async def _async_receive_backup(self, *, agent_ids: list[str], contents: aiohttp.BodyPartReader) -> str: ...
Expand Down
6 changes: 4 additions & 2 deletions homeassistant-stubs/components/google_drive/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ from .api import AsyncConfigEntryAuth as AsyncConfigEntryAuth, DriveClient as Dr
from .const import DOMAIN as DOMAIN
from collections.abc import Callable as Callable
from homeassistant.config_entries import ConfigEntry as ConfigEntry
from homeassistant.core import HomeAssistant as HomeAssistant
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
from homeassistant.helpers import instance_id as instance_id
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
Expand All @@ -14,4 +14,6 @@ type GoogleDriveConfigEntry = ConfigEntry[DriveClient]

async def async_setup_entry(hass: HomeAssistant, entry: GoogleDriveConfigEntry) -> bool: ...
async def async_unload_entry(hass: HomeAssistant, entry: GoogleDriveConfigEntry) -> bool: ...
def _notify_backup_listeners(hass: HomeAssistant) -> None: ...
def _async_notify_backup_listeners(hass: HomeAssistant) -> None: ...
@callback
def _async_notify_backup_listeners_soon(hass: HomeAssistant) -> None: ...
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from homeassistant.components.application_credentials import AuthorizationServer as AuthorizationServer
from homeassistant.core import HomeAssistant as HomeAssistant
from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
from homeassistant.helpers.config_entry_oauth2_flow import AUTH_CALLBACK_PATH as AUTH_CALLBACK_PATH, MY_AUTH_CALLBACK_PATH as MY_AUTH_CALLBACK_PATH

async def async_get_authorization_server(hass: HomeAssistant) -> AuthorizationServer: ...
async def async_get_description_placeholders(hass: HomeAssistant) -> dict[str, str]: ...
4 changes: 2 additions & 2 deletions homeassistant-stubs/components/habitica/coordinator.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ from .const import DOMAIN as DOMAIN
from _typeshed import Incomplete
from collections.abc import Callable as Callable
from dataclasses import dataclass
from habiticalib import ContentData as ContentData, Habitica as Habitica, TaskData as TaskData, UserData as UserData, UserStyles as UserStyles
from habiticalib import Avatar as Avatar, ContentData as ContentData, Habitica as Habitica, TaskData as TaskData, UserData as UserData
from homeassistant.config_entries import ConfigEntry as ConfigEntry
from homeassistant.const import CONF_NAME as CONF_NAME
from homeassistant.core import HomeAssistant as HomeAssistant
Expand All @@ -26,4 +26,4 @@ class HabiticaDataUpdateCoordinator(DataUpdateCoordinator[HabiticaData]):
async def _async_setup(self) -> None: ...
async def _async_update_data(self) -> HabiticaData: ...
async def execute(self, func: Callable[[HabiticaDataUpdateCoordinator], Any]) -> None: ...
async def generate_avatar(self, user_styles: UserStyles) -> bytes: ...
async def generate_avatar(self, avatar: Avatar) -> bytes: ...
4 changes: 2 additions & 2 deletions homeassistant-stubs/components/habitica/image.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from .coordinator import HabiticaDataUpdateCoordinator as HabiticaDataUpdateCoor
from .entity import HabiticaBase as HabiticaBase
from _typeshed import Incomplete
from enum import StrEnum
from habiticalib import UserStyles
from habiticalib import Avatar as Avatar
from homeassistant.components.image import ImageEntity as ImageEntity, ImageEntityDescription as ImageEntityDescription
from homeassistant.core import HomeAssistant as HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
Expand All @@ -18,7 +18,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: HabiticaConfigEnt
class HabiticaImage(HabiticaBase, ImageEntity):
entity_description: Incomplete
_attr_content_type: str
_current_appearance: UserStyles | None
_current_appearance: Avatar | None
_cache: bytes | None
_attr_image_last_updated: Incomplete
def __init__(self, hass: HomeAssistant, coordinator: HabiticaDataUpdateCoordinator) -> None: ...
Expand Down
5 changes: 3 additions & 2 deletions homeassistant-stubs/components/lacrosse_view/coordinator.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ from .const import SCAN_INTERVAL as SCAN_INTERVAL
from _typeshed import Incomplete
from homeassistant.config_entries import ConfigEntry as ConfigEntry
from homeassistant.core import HomeAssistant as HomeAssistant
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
from lacrosse_view import LaCrosse as LaCrosse, Sensor

_LOGGER: Incomplete
Expand All @@ -14,6 +14,7 @@ class LaCrosseUpdateCoordinator(DataUpdateCoordinator[list[Sensor]]):
name: str
id: str
hass: HomeAssistant
devices: list[Sensor] | None
api: Incomplete
last_update: Incomplete
def __init__(self, hass: HomeAssistant, api: LaCrosse, entry: ConfigEntry) -> None: ...
Expand Down
3 changes: 2 additions & 1 deletion homeassistant-stubs/components/nest/api.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class AccessTokenAuthImpl(AbstractAuth):
async def async_get_access_token(self) -> str: ...
async def async_get_creds(self) -> Credentials: ...

async def new_subscriber(hass: HomeAssistant, entry: NestConfigEntry) -> GoogleNestSubscriber | None: ...
async def new_auth(hass: HomeAssistant, entry: NestConfigEntry) -> AbstractAuth: ...
async def new_subscriber(hass: HomeAssistant, entry: NestConfigEntry, auth: AbstractAuth) -> GoogleNestSubscriber: ...
def new_subscriber_with_token(hass: HomeAssistant, access_token: str, project_id: str, subscription_name: str) -> GoogleNestSubscriber: ...
def new_pubsub_admin_client(hass: HomeAssistant, access_token: str, cloud_project_id: str) -> AdminClient: ...
3 changes: 2 additions & 1 deletion homeassistant-stubs/components/tplink/coordinator.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ REQUEST_REFRESH_DELAY: float
class TPLinkDataUpdateCoordinator(DataUpdateCoordinator[None]):
config_entry: TPLinkConfigEntry
device: Incomplete
parent_coordinator: Incomplete
_update_children: Incomplete
_previous_child_device_ids: Incomplete
removed_child_device_ids: set[str]
_child_coordinators: dict[str, TPLinkDataUpdateCoordinator]
def __init__(self, hass: HomeAssistant, device: Device, update_interval: timedelta, config_entry: TPLinkConfigEntry) -> None: ...
def __init__(self, hass: HomeAssistant, device: Device, update_interval: timedelta, config_entry: TPLinkConfigEntry, parent_coordinator: TPLinkDataUpdateCoordinator | None = None) -> None: ...
async def _async_update_data(self) -> None: ...
async def _process_child_devices(self) -> None: ...
def get_child_coordinator(self, child: Device) -> TPLinkDataUpdateCoordinator: ...
2 changes: 1 addition & 1 deletion homeassistant_core
Submodule homeassistant_core updated 59 files
+83 −22 homeassistant/components/backup/manager.py
+1 −1 homeassistant/components/bluetooth/match.py
+4 −2 homeassistant/components/coinbase/__init__.py
+2 −4 homeassistant/components/discovergy/coordinator.py
+1 −1 homeassistant/components/frontend/manifest.json
+10 −3 homeassistant/components/google_drive/__init__.py
+2 −1 homeassistant/components/google_drive/api.py
+10 −2 homeassistant/components/google_drive/application_credentials.py
+1 −1 homeassistant/components/google_drive/manifest.json
+5 −7 homeassistant/components/habitica/coordinator.py
+1 −1 homeassistant/components/habitica/diagnostics.py
+3 −4 homeassistant/components/habitica/image.py
+1 −1 homeassistant/components/habitica/manifest.json
+8 −6 homeassistant/components/habitica/services.py
+18 −18 homeassistant/components/heos/__init__.py
+1 −1 homeassistant/components/heos/manifest.json
+1 −1 homeassistant/components/hydrawise/manifest.json
+24 −13 homeassistant/components/lacrosse_view/coordinator.py
+1 −1 homeassistant/components/lacrosse_view/manifest.json
+6 −4 homeassistant/components/lacrosse_view/sensor.py
+10 −1 homeassistant/components/nest/__init__.py
+12 −6 homeassistant/components/nest/api.py
+1 −1 homeassistant/components/nordpool/services.py
+1 −1 homeassistant/components/ohme/manifest.json
+1 −1 homeassistant/components/onedrive/__init__.py
+1 −1 homeassistant/components/onedrive/backup.py
+1 −1 homeassistant/components/onedrive/manifest.json
+1 −1 homeassistant/components/onkyo/media_player.py
+1 −1 homeassistant/components/shelly/manifest.json
+1 −1 homeassistant/components/synology_dsm/manifest.json
+2 −1 homeassistant/components/telegram_bot/__init__.py
+13 −1 homeassistant/components/tplink/coordinator.py
+7 −1 homeassistant/components/tplink/entity.py
+3 −1 homeassistant/components/transmission/__init__.py
+1 −0 homeassistant/components/webostv/const.py
+1 −1 homeassistant/const.py
+1 −1 homeassistant/package_constraints.txt
+1 −1 pyproject.toml
+10 −10 requirements_all.txt
+10 −10 requirements_test_all.txt
+190 −18 tests/components/backup/snapshots/test_websocket.ambr
+303 −16 tests/components/backup/test_websocket.py
+4 −2 tests/components/google_drive/snapshots/test_backup.ambr
+36 −0 tests/components/google_drive/test_application_credentials.py
+7 −5 tests/components/google_drive/test_backup.py
+20 −1 tests/components/habitica/fixtures/user.json
+13 −249 tests/components/habitica/snapshots/test_diagnostics.ambr
+4 −4 tests/components/hassio/test_backup.py
+9 −0 tests/components/hassio/test_update.py
+9 −0 tests/components/hassio/test_websocket_api.py
+3 −0 tests/components/heos/conftest.py
+5 −0 tests/components/heos/snapshots/test_diagnostics.ambr
+57 −10 tests/components/lacrosse_view/__init__.py
+1 −1 tests/components/lacrosse_view/snapshots/test_diagnostics.ambr
+6 −1 tests/components/lacrosse_view/test_diagnostics.py
+23 −8 tests/components/lacrosse_view/test_init.py
+39 −11 tests/components/lacrosse_view/test_sensor.py
+0 −77 tests/components/nest/test_api.py
+6 −6 tests/components/onedrive/const.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ keywords = ["homeassistant", "typing", "pep484"]
requires-python = ">=3.13,<3.14"
dynamic = ["version"]
dependencies = [
"homeassistant==2025.2.1",
"homeassistant==2025.2.2",
]

[dependency-groups]
Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7d9d1e

Please sign in to comment.