homeassistant-stubs 2025.5.0b3__py3-none-any.whl → 2025.5.0b4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,9 +18,11 @@ class RemoteCalendarEntity(CoordinatorEntity[RemoteCalendarDataUpdateCoordinator
18
18
  _attr_has_entity_name: bool
19
19
  _attr_name: Incomplete
20
20
  _attr_unique_id: Incomplete
21
+ _event: CalendarEvent | None
21
22
  def __init__(self, coordinator: RemoteCalendarDataUpdateCoordinator, entry: RemoteCalendarConfigEntry) -> None: ...
22
23
  @property
23
24
  def event(self) -> CalendarEvent | None: ...
24
25
  async def async_get_events(self, hass: HomeAssistant, start_date: datetime, end_date: datetime) -> list[CalendarEvent]: ...
26
+ async def async_update(self) -> None: ...
25
27
 
26
28
  def _get_calendar_event(event: Event) -> CalendarEvent: ...
@@ -1,4 +1,5 @@
1
1
  from .const import CONF_CALENDAR_NAME as CONF_CALENDAR_NAME, DOMAIN as DOMAIN
2
+ from .ics import InvalidIcsException as InvalidIcsException, parse_calendar as parse_calendar
2
3
  from _typeshed import Incomplete
3
4
  from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
4
5
  from homeassistant.const import CONF_URL as CONF_URL
@@ -1,4 +1,5 @@
1
1
  from .const import DOMAIN as DOMAIN
2
+ from .ics import InvalidIcsException as InvalidIcsException, parse_calendar as parse_calendar
2
3
  from _typeshed import Incomplete
3
4
  from homeassistant.config_entries import ConfigEntry as ConfigEntry
4
5
  from homeassistant.const import CONF_URL as CONF_URL
@@ -0,0 +1,10 @@
1
+ from _typeshed import Incomplete
2
+ from homeassistant.core import HomeAssistant as HomeAssistant
3
+ from ical.calendar import Calendar as Calendar
4
+
5
+ _LOGGER: Incomplete
6
+
7
+ class InvalidIcsException(Exception): ...
8
+
9
+ def _compat_calendar_from_ics(ics: str) -> Calendar: ...
10
+ async def parse_calendar(hass: HomeAssistant, ics: str) -> Calendar: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: homeassistant-stubs
3
- Version: 2025.5.0b3
3
+ Version: 2025.5.0b4
4
4
  Summary: PEP 484 typing stubs for Home Assistant Core
5
5
  Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
6
6
  Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
18
18
  Classifier: Topic :: Software Development
19
19
  Classifier: Typing :: Typed
20
20
  Requires-Python: >=3.13.2
21
- Requires-Dist: homeassistant==2025.5.0b3
21
+ Requires-Dist: homeassistant==2025.5.0b4
22
22
  Description-Content-Type: text/markdown
23
23
 
24
24
  [![CI](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml/badge.svg)](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
@@ -2907,11 +2907,12 @@ homeassistant-stubs/components/remote/device_trigger.pyi,sha256=uC5UaBHAFOgtfm8E
2907
2907
  homeassistant-stubs/components/remote/reproduce_state.pyi,sha256=oJOAxdJbalNMGVeSVOIgqlVQRDY86ohveaCNjvgidPY,795
2908
2908
  homeassistant-stubs/components/remote/significant_change.pyi,sha256=xrvCaVI6vA33VUwletn0KI5ivWB1ZE3vggXTcN7A6KM,336
2909
2909
  homeassistant-stubs/components/remote_calendar/__init__.pyi,sha256=tpj1cVap_TAogUSp_iu3sOarHQAlaN1AEInaVPLcoyA,581
2910
- homeassistant-stubs/components/remote_calendar/calendar.pyi,sha256=RUkTvxhJ9Jr92SIspa9ewN-rEkNFcdMJg63sKTnAVao,1466
2911
- homeassistant-stubs/components/remote_calendar/config_flow.pyi,sha256=SfPK65qHHIQ4PJqTPLZyJuGr81-B5sH93XkJ6YFwUsw,610
2910
+ homeassistant-stubs/components/remote_calendar/calendar.pyi,sha256=dU21osMMWAYQ-skRsGy2_8xJD5K_krdrjXBULZjoV3s,1545
2911
+ homeassistant-stubs/components/remote_calendar/config_flow.pyi,sha256=htdk2EpWyFCYZf-_vp6aN9nd-ed44GcL3nAEOCfWKsU,704
2912
2912
  homeassistant-stubs/components/remote_calendar/const.pyi,sha256=v5rnTU3o6v40qyydkfnQCN5pquphuuPLQZGc68D2_g4,36
2913
- homeassistant-stubs/components/remote_calendar/coordinator.pyi,sha256=PKfD19jaX9q8vii4_7zQ-G6_58JE9-YITGbjCXYvGsE,963
2913
+ homeassistant-stubs/components/remote_calendar/coordinator.pyi,sha256=91OTTjRnkQzfE0n2dRswp43ypzaBxqwFRKPWtuLt_Xo,1057
2914
2914
  homeassistant-stubs/components/remote_calendar/diagnostics.pyi,sha256=7dJFCUPCv6JJEadNphEuQT_0MMdLtORTIUO-xxoLuaQ,278
2915
+ homeassistant-stubs/components/remote_calendar/ics.pyi,sha256=mBAALVJyJhJTxjwtafJSYmFvhqZ0w9GVY-wwANb703g,337
2915
2916
  homeassistant-stubs/components/renault/__init__.pyi,sha256=-vrChagTrzT_9i-bNjWR5AS1p_OxV7-TFM4e0wqyja8,1189
2916
2917
  homeassistant-stubs/components/renault/binary_sensor.pyi,sha256=RxcSEsAYkLxobPLiTQrFjQH6kXcCu5H0Xm2xyn_7BJU,1676
2917
2918
  homeassistant-stubs/components/renault/button.pyi,sha256=QcME0X_wdNzHl8c7QhkSIl6MVkGvcPakumPxrzlyVMQ,1126
@@ -4197,7 +4198,7 @@ homeassistant-stubs/util/yaml/dumper.pyi,sha256=vaIsOJB6hkwj7GLyo3YCNZCTwVgvvODy
4197
4198
  homeassistant-stubs/util/yaml/input.pyi,sha256=j_ejvjaXDxeNYtA4hb9tNUPsQdi7wogbmTQXsqmt5xo,253
4198
4199
  homeassistant-stubs/util/yaml/loader.pyi,sha256=cgUew76NjS7Q1Aml5sLBE2DB9JGrJS2fE-EDE92p-og,805
4199
4200
  homeassistant-stubs/util/yaml/objects.pyi,sha256=Ynjx0JaWF3u82Pj8aXO-YeqrkzNO8t-Nn7G7rr_X-oI,206
4200
- homeassistant_stubs-2025.5.0b3.dist-info/METADATA,sha256=jvM-BKcRiy7aQfbrFAa41CqM-SSAxI98BbcqChOmYtc,2952
4201
- homeassistant_stubs-2025.5.0b3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4202
- homeassistant_stubs-2025.5.0b3.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4203
- homeassistant_stubs-2025.5.0b3.dist-info/RECORD,,
4201
+ homeassistant_stubs-2025.5.0b4.dist-info/METADATA,sha256=7vROv-RfcrgGRSBtWCprsTZ-VhqMOElK6ZEjsU75EnY,2952
4202
+ homeassistant_stubs-2025.5.0b4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
4203
+ homeassistant_stubs-2025.5.0b4.dist-info/licenses/LICENSE,sha256=_kHFjg-MAmJ-lXc7HiEjUzD3vZutVYKUVZZpAWcIuqo,1075
4204
+ homeassistant_stubs-2025.5.0b4.dist-info/RECORD,,