homeassistant-stubs 2024.10.2__py3-none-any.whl → 2024.10.3__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.
- homeassistant-stubs/auth/__init__.pyi +0 -3
- homeassistant-stubs/auth/mfa_modules/notify.pyi +0 -1
- homeassistant-stubs/auth/permissions/types.pyi +0 -7
- homeassistant-stubs/auth/permissions/util.pyi +0 -3
- homeassistant-stubs/auth/providers/trusted_networks.pyi +0 -3
- homeassistant-stubs/components/accuweather/__init__.pyi +0 -1
- homeassistant-stubs/components/acmeda/__init__.pyi +0 -1
- homeassistant-stubs/components/adguard/__init__.pyi +0 -1
- homeassistant-stubs/components/aftership/__init__.pyi +0 -2
- homeassistant-stubs/components/airgradient/__init__.pyi +0 -1
- homeassistant-stubs/components/airly/__init__.pyi +0 -1
- homeassistant-stubs/components/airnow/__init__.pyi +0 -1
- homeassistant-stubs/components/airthings/__init__.pyi +0 -3
- homeassistant-stubs/components/airtouch5/__init__.pyi +0 -2
- homeassistant-stubs/components/airvisual/__init__.pyi +0 -1
- homeassistant-stubs/components/airvisual_pro/__init__.pyi +0 -1
- homeassistant-stubs/components/airzone/__init__.pyi +0 -1
- homeassistant-stubs/components/airzone_cloud/__init__.pyi +0 -1
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +1 -0
- homeassistant-stubs/components/amberelectric/__init__.pyi +0 -2
- homeassistant-stubs/components/ambient_network/__init__.pyi +0 -1
- homeassistant-stubs/components/ambient_station/__init__.pyi +0 -1
- homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
- homeassistant-stubs/components/androidtv/entity.pyi +0 -2
- homeassistant-stubs/components/anova/models.pyi +0 -2
- homeassistant-stubs/components/anthemav/__init__.pyi +0 -1
- homeassistant-stubs/components/apcupsd/__init__.pyi +0 -1
- homeassistant-stubs/components/apple_tv/__init__.pyi +0 -1
- homeassistant-stubs/components/apsystems/__init__.pyi +0 -1
- homeassistant-stubs/components/arcam_fmj/__init__.pyi +0 -1
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +1 -2
- homeassistant-stubs/components/assist_satellite/entity.pyi +1 -0
- homeassistant-stubs/components/asuswrt/__init__.pyi +0 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +1 -3
- homeassistant-stubs/components/autarco/__init__.pyi +0 -1
- homeassistant-stubs/components/auth/__init__.pyi +0 -3
- homeassistant-stubs/components/axis/__init__.pyi +0 -1
- homeassistant-stubs/components/baf/__init__.pyi +0 -2
- homeassistant-stubs/components/binary_sensor/__init__.pyi +1 -0
- homeassistant-stubs/components/bluesound/__init__.pyi +0 -1
- homeassistant-stubs/components/bluetooth/models.pyi +0 -4
- homeassistant-stubs/components/bmw_connected_drive/__init__.pyi +0 -1
- homeassistant-stubs/components/bond/__init__.pyi +0 -1
- homeassistant-stubs/components/braviatv/coordinator.pyi +1 -1
- homeassistant-stubs/components/brother/__init__.pyi +0 -1
- homeassistant-stubs/components/bryant_evolution/__init__.pyi +0 -2
- homeassistant-stubs/components/bthome/types.pyi +0 -2
- homeassistant-stubs/components/button/__init__.pyi +1 -0
- homeassistant-stubs/components/calendar/__init__.pyi +1 -0
- homeassistant-stubs/components/calendar/trigger.pyi +1 -3
- homeassistant-stubs/components/camera/__init__.pyi +1 -2
- homeassistant-stubs/components/canary/sensor.pyi +0 -1
- homeassistant-stubs/components/cert_expiry/__init__.pyi +0 -1
- homeassistant-stubs/components/climate/__init__.pyi +1 -0
- homeassistant-stubs/components/cloud/http_api.pyi +1 -1
- homeassistant-stubs/components/co2signal/__init__.pyi +0 -1
- homeassistant-stubs/components/configurator/__init__.pyi +0 -2
- homeassistant-stubs/components/cover/__init__.pyi +1 -0
- homeassistant-stubs/components/date/__init__.pyi +1 -0
- homeassistant-stubs/components/datetime/__init__.pyi +1 -0
- homeassistant-stubs/components/deako/__init__.pyi +0 -2
- homeassistant-stubs/components/deconz/entity.pyi +0 -5
- homeassistant-stubs/components/device_automation/__init__.pyi +0 -2
- homeassistant-stubs/components/device_tracker/config_entry.pyi +2 -0
- homeassistant-stubs/components/devolo_home_control/__init__.pyi +0 -3
- homeassistant-stubs/components/devolo_home_network/__init__.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/entity.pyi +0 -4
- homeassistant-stubs/components/discovergy/__init__.pyi +0 -1
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +0 -1
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
- homeassistant-stubs/components/doorbird/models.pyi +0 -2
- homeassistant-stubs/components/dsmr/__init__.pyi +0 -1
- homeassistant-stubs/components/duotecno/entity.pyi +1 -1
- homeassistant-stubs/components/ecovacs/__init__.pyi +0 -1
- homeassistant-stubs/components/ecowitt/__init__.pyi +0 -2
- homeassistant-stubs/components/efergy/__init__.pyi +0 -2
- homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -1
- homeassistant-stubs/components/elgato/__init__.pyi +0 -1
- homeassistant-stubs/components/elkm1/__init__.pyi +0 -1
- homeassistant-stubs/components/energy/data.pyi +0 -1
- homeassistant-stubs/components/energy/types.pyi +0 -2
- homeassistant-stubs/components/energy/websocket_api.pyi +0 -4
- homeassistant-stubs/components/enigma2/__init__.pyi +0 -1
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +0 -1
- homeassistant-stubs/components/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/esphome/entry_data.pyi +0 -1
- homeassistant-stubs/components/event/__init__.pyi +1 -0
- homeassistant-stubs/components/evil_genius_labs/util.pyi +1 -1
- homeassistant-stubs/components/fan/__init__.pyi +1 -0
- homeassistant-stubs/components/feedreader/__init__.pyi +0 -1
- homeassistant-stubs/components/filesize/__init__.pyi +0 -2
- homeassistant-stubs/components/forecast_solar/__init__.pyi +0 -1
- homeassistant-stubs/components/fritzbox/coordinator.pyi +0 -2
- homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/fronius/__init__.pyi +0 -1
- homeassistant-stubs/components/fronius/const.pyi +0 -1
- homeassistant-stubs/components/fujitsu_fglair/__init__.pyi +0 -1
- homeassistant-stubs/components/fyta/__init__.pyi +0 -1
- homeassistant-stubs/components/gios/__init__.pyi +0 -1
- homeassistant-stubs/components/glances/__init__.pyi +0 -1
- homeassistant-stubs/components/goalzero/coordinator.pyi +0 -2
- homeassistant-stubs/components/google_photos/types.pyi +0 -2
- homeassistant-stubs/components/google_sheets/__init__.pyi +0 -1
- homeassistant-stubs/components/gpsd/__init__.pyi +0 -2
- homeassistant-stubs/components/greeneye_monitor/sensor.pyi +0 -2
- homeassistant-stubs/components/history_stats/__init__.pyi +0 -2
- homeassistant-stubs/components/homekit/models.pyi +0 -2
- homeassistant-stubs/components/homekit_controller/utils.pyi +0 -2
- homeassistant-stubs/components/homewizard/__init__.pyi +0 -2
- homeassistant-stubs/components/http/data_validator.pyi +1 -1
- homeassistant-stubs/components/http/decorators.pyi +0 -5
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +0 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/__init__.pyi +0 -1
- homeassistant-stubs/components/ibeacon/__init__.pyi +0 -2
- homeassistant-stubs/components/image/__init__.pyi +1 -0
- homeassistant-stubs/components/image_processing/__init__.pyi +1 -0
- homeassistant-stubs/components/imap/__init__.pyi +0 -1
- homeassistant-stubs/components/imgw_pib/__init__.pyi +0 -1
- homeassistant-stubs/components/intent/timers.pyi +0 -1
- homeassistant-stubs/components/iotty/__init__.pyi +0 -1
- homeassistant-stubs/components/ipp/__init__.pyi +0 -1
- homeassistant-stubs/components/ipp/sensor.pyi +0 -1
- homeassistant-stubs/components/islamic_prayer_times/__init__.pyi +0 -1
- homeassistant-stubs/components/jellyfin/__init__.pyi +0 -2
- homeassistant-stubs/components/jvc_projector/__init__.pyi +0 -1
- homeassistant-stubs/components/knocki/__init__.pyi +0 -1
- homeassistant-stubs/components/knx/const.pyi +0 -4
- homeassistant-stubs/components/knx/websocket.pyi +1 -5
- homeassistant-stubs/components/kraken/const.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/__init__.pyi +0 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +1 -0
- homeassistant-stubs/components/lcn/helpers.pyi +0 -3
- homeassistant-stubs/components/lcn/websocket.pyi +1 -3
- homeassistant-stubs/components/lektrico/__init__.pyi +0 -1
- homeassistant-stubs/components/lidarr/__init__.pyi +0 -1
- homeassistant-stubs/components/light/__init__.pyi +1 -0
- homeassistant-stubs/components/linkplay/__init__.pyi +0 -1
- homeassistant-stubs/components/litterrobot/__init__.pyi +0 -1
- homeassistant-stubs/components/local_todo/__init__.pyi +0 -1
- homeassistant-stubs/components/lock/__init__.pyi +1 -0
- homeassistant-stubs/components/madvr/__init__.pyi +0 -1
- homeassistant-stubs/components/mastodon/__init__.pyi +0 -1
- homeassistant-stubs/components/matter/models.pyi +0 -3
- homeassistant-stubs/components/matter/select.pyi +0 -2
- homeassistant-stubs/components/media_player/__init__.pyi +1 -0
- homeassistant-stubs/components/mikrotik/__init__.pyi +0 -1
- homeassistant-stubs/components/mopeka/__init__.pyi +0 -1
- homeassistant-stubs/components/mqtt/__init__.pyi +0 -2
- homeassistant-stubs/components/mqtt/client.pyi +0 -2
- homeassistant-stubs/components/mqtt/models.pyi +0 -3
- homeassistant-stubs/components/mysensors/const.pyi +0 -5
- homeassistant-stubs/components/myuplink/__init__.pyi +0 -1
- homeassistant-stubs/components/nam/__init__.pyi +0 -1
- homeassistant-stubs/components/nanoleaf/__init__.pyi +0 -1
- homeassistant-stubs/components/nextdns/__init__.pyi +0 -2
- homeassistant-stubs/components/notify/__init__.pyi +1 -0
- homeassistant-stubs/components/number/__init__.pyi +1 -0
- homeassistant-stubs/components/nut/__init__.pyi +0 -1
- homeassistant-stubs/components/oncue/types.pyi +0 -3
- homeassistant-stubs/components/onewire/__init__.pyi +0 -1
- homeassistant-stubs/components/oralb/__init__.pyi +0 -1
- homeassistant-stubs/components/otbr/__init__.pyi +0 -1
- homeassistant-stubs/components/pi_hole/__init__.pyi +0 -1
- homeassistant-stubs/components/ping/__init__.pyi +0 -1
- homeassistant-stubs/components/plugwise/__init__.pyi +0 -2
- homeassistant-stubs/components/plugwise/const.pyi +0 -3
- homeassistant-stubs/components/plugwise/util.pyi +1 -1
- homeassistant-stubs/components/powerwall/models.pyi +0 -2
- homeassistant-stubs/components/private_ble_device/coordinator.pyi +0 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +0 -1
- homeassistant-stubs/components/radarr/__init__.pyi +0 -1
- homeassistant-stubs/components/rainmachine/__init__.pyi +0 -1
- homeassistant-stubs/components/rainmachine/switch.pyi +1 -1
- homeassistant-stubs/components/recorder/util.pyi +0 -5
- homeassistant-stubs/components/remote/__init__.pyi +1 -0
- homeassistant-stubs/components/renault/__init__.pyi +0 -1
- homeassistant-stubs/components/ring/__init__.pyi +0 -1
- homeassistant-stubs/components/ring/entity.pyi +1 -1
- homeassistant-stubs/components/roborock/__init__.pyi +0 -1
- homeassistant-stubs/components/roku/__init__.pyi +2 -1
- homeassistant-stubs/components/roku/browse_media.pyi +0 -2
- homeassistant-stubs/components/roku/config_flow.pyi +7 -2
- homeassistant-stubs/components/roku/const.pyi +2 -0
- homeassistant-stubs/components/roku/coordinator.pyi +2 -1
- homeassistant-stubs/components/roku/helpers.pyi +0 -4
- homeassistant-stubs/components/scrape/__init__.pyi +0 -1
- homeassistant-stubs/components/select/__init__.pyi +1 -0
- homeassistant-stubs/components/sensibo/__init__.pyi +0 -2
- homeassistant-stubs/components/sensor/__init__.pyi +1 -0
- homeassistant-stubs/components/sensoterra/__init__.pyi +0 -1
- homeassistant-stubs/components/senz/__init__.pyi +0 -2
- homeassistant-stubs/components/sfr_box/button.pyi +1 -1
- homeassistant-stubs/components/shelly/coordinator.pyi +0 -1
- homeassistant-stubs/components/simplisafe/typing.pyi +0 -4
- homeassistant-stubs/components/siren/__init__.pyi +1 -0
- homeassistant-stubs/components/sleepiq/entity.pyi +0 -2
- homeassistant-stubs/components/smlight/__init__.pyi +0 -1
- homeassistant-stubs/components/solarlog/__init__.pyi +0 -1
- homeassistant-stubs/components/speedtestdotnet/__init__.pyi +0 -1
- homeassistant-stubs/components/squeezebox/__init__.pyi +0 -1
- homeassistant-stubs/components/ssdp/__init__.pyi +0 -1
- homeassistant-stubs/components/sun/entity.pyi +0 -1
- homeassistant-stubs/components/switch/__init__.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/coordinator.pyi +0 -2
- homeassistant-stubs/components/switcher_kis/__init__.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
- homeassistant-stubs/components/system_log/__init__.pyi +0 -1
- homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/tailwind/typing.pyi +0 -2
- homeassistant-stubs/components/tautulli/__init__.pyi +0 -1
- homeassistant-stubs/components/tedee/__init__.pyi +0 -1
- homeassistant-stubs/components/text/__init__.pyi +1 -0
- homeassistant-stubs/components/time/__init__.pyi +1 -0
- homeassistant-stubs/components/tod/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/tplink/__init__.pyi +0 -1
- homeassistant-stubs/components/tplink/entity.pyi +1 -1
- homeassistant-stubs/components/trace/__init__.pyi +0 -1
- homeassistant-stubs/components/tractive/__init__.pyi +0 -1
- homeassistant-stubs/components/transmission/__init__.pyi +0 -1
- homeassistant-stubs/components/tts/const.pyi +0 -1
- homeassistant-stubs/components/twentemilieu/__init__.pyi +0 -4
- homeassistant-stubs/components/unifi/__init__.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/data.pyi +0 -2
- homeassistant-stubs/components/update/__init__.pyi +1 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +1 -0
- homeassistant-stubs/components/velbus/entity.pyi +1 -1
- homeassistant-stubs/components/vlc_telnet/__init__.pyi +0 -1
- homeassistant-stubs/components/vlc_telnet/media_player.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +1 -0
- homeassistant-stubs/components/weather/__init__.pyi +1 -0
- homeassistant-stubs/components/webostv/media_player.pyi +1 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +0 -2
- homeassistant-stubs/components/websocket_api/const.pyi +1 -4
- homeassistant-stubs/components/wemo/__init__.pyi +1 -4
- homeassistant-stubs/components/wemo/coordinator.pyi +0 -2
- homeassistant-stubs/components/withings/__init__.pyi +0 -1
- homeassistant-stubs/components/wiz/__init__.pyi +0 -1
- homeassistant-stubs/components/wled/__init__.pyi +0 -1
- homeassistant-stubs/components/xiaomi_ble/types.pyi +0 -2
- homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +0 -2
- homeassistant-stubs/components/yalexs_ble/__init__.pyi +0 -1
- homeassistant-stubs/components/zwave_js/climate.pyi +1 -1
- homeassistant-stubs/components/zwave_js/services.pyi +0 -3
- homeassistant-stubs/config_entries.pyi +1 -1
- homeassistant-stubs/core.pyi +0 -3
- homeassistant-stubs/helpers/category_registry.pyi +0 -1
- homeassistant-stubs/helpers/collection.pyi +1 -3
- homeassistant-stubs/helpers/condition.pyi +0 -1
- homeassistant-stubs/helpers/config_entry_flow.pyi +1 -2
- homeassistant-stubs/helpers/device_registry.pyi +0 -1
- homeassistant-stubs/helpers/dispatcher.pyi +0 -1
- homeassistant-stubs/helpers/entity.pyi +2 -0
- homeassistant-stubs/helpers/entity_registry.pyi +1 -3
- homeassistant-stubs/helpers/event.pyi +0 -1
- homeassistant-stubs/helpers/floor_registry.pyi +0 -1
- homeassistant-stubs/helpers/http.pyi +0 -2
- homeassistant-stubs/helpers/intent.pyi +1 -3
- homeassistant-stubs/helpers/label_registry.pyi +0 -1
- homeassistant-stubs/helpers/registry.pyi +0 -2
- homeassistant-stubs/helpers/script.pyi +0 -3
- homeassistant-stubs/helpers/service_info/mqtt.pyi +0 -2
- homeassistant-stubs/helpers/significant_change.pyi +0 -3
- homeassistant-stubs/helpers/singleton.pyi +0 -2
- homeassistant-stubs/helpers/sun.pyi +0 -2
- homeassistant-stubs/helpers/typing.pyi +0 -13
- homeassistant-stubs/util/json.pyi +0 -3
- homeassistant-stubs/util/variance.pyi +1 -1
- homeassistant-stubs/util/yaml/loader.pyi +0 -1
- {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/RECORD +273 -273
- {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/licenses/LICENSE +0 -0
@@ -1,11 +1,8 @@
|
|
1
1
|
from .connection import ActiveConnection as ActiveConnection
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from collections.abc import Awaitable, Callable
|
4
3
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
|
-
from typing import
|
4
|
+
from typing import Final
|
6
5
|
|
7
|
-
WebSocketCommandHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], None]
|
8
|
-
AsyncWebSocketCommandHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], Awaitable[None]]
|
9
6
|
DOMAIN: Final[str]
|
10
7
|
URL: Final[str]
|
11
8
|
PENDING_MSG_PEAK: Final[int]
|
@@ -3,7 +3,7 @@ from .const import DOMAIN as DOMAIN
|
|
3
3
|
from .coordinator import DeviceCoordinator as DeviceCoordinator, async_register_device as async_register_device
|
4
4
|
from .models import WemoConfigEntryData as WemoConfigEntryData, WemoData as WemoData, async_wemo_data as async_wemo_data
|
5
5
|
from _typeshed import Incomplete
|
6
|
-
from collections.abc import
|
6
|
+
from collections.abc import Sequence
|
7
7
|
from datetime import datetime
|
8
8
|
from homeassistant import config_entries as config_entries
|
9
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -12,13 +12,10 @@ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, H
|
|
12
12
|
from homeassistant.helpers.event import async_call_later as async_call_later
|
13
13
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
14
14
|
from homeassistant.util.async_ import gather_with_limited_concurrency as gather_with_limited_concurrency
|
15
|
-
from typing import Any
|
16
15
|
|
17
16
|
MAX_CONCURRENCY: int
|
18
17
|
WEMO_MODEL_DISPATCH: Incomplete
|
19
18
|
_LOGGER: Incomplete
|
20
|
-
DispatchCallback = Callable[[DeviceCoordinator], Coroutine[Any, Any, None]]
|
21
|
-
HostPortTuple = tuple[str, int | None]
|
22
19
|
|
23
20
|
def coerce_host_port(value: str) -> HostPortTuple: ...
|
24
21
|
|
@@ -11,8 +11,6 @@ from pywemo import WeMoDevice as WeMoDevice
|
|
11
11
|
from pywemo.subscribe import SubscriptionRegistry as SubscriptionRegistry
|
12
12
|
|
13
13
|
_LOGGER: Incomplete
|
14
|
-
ErrorStringKey: Incomplete
|
15
|
-
OptionsFieldKey: Incomplete
|
16
14
|
|
17
15
|
class OptionsValidationError(Exception):
|
18
16
|
field_key: Incomplete
|
@@ -13,7 +13,6 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
13
13
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
14
14
|
from pywizlight import PilotParser as PilotParser
|
15
15
|
|
16
|
-
WizConfigEntry = ConfigEntry[WizData]
|
17
16
|
_LOGGER: Incomplete
|
18
17
|
PLATFORMS: Incomplete
|
19
18
|
REQUEST_REFRESH_DELAY: float
|
@@ -8,7 +8,6 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
8
8
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
9
9
|
|
10
10
|
PLATFORMS: Incomplete
|
11
|
-
WLEDConfigEntry = ConfigEntry[WLEDDataUpdateCoordinator]
|
12
11
|
WLED_KEY: HassKey[WLEDReleasesDataUpdateCoordinator]
|
13
12
|
CONFIG_SCHEMA: Incomplete
|
14
13
|
|
@@ -5,8 +5,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.const import CONF_CODE as CONF_CODE
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
|
8
|
-
YaleConfigEntry = ConfigEntry[YaleDataUpdateCoordinator]
|
9
|
-
|
10
8
|
async def async_setup_entry(hass: HomeAssistant, entry: YaleConfigEntry) -> bool: ...
|
11
9
|
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
12
10
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -8,7 +8,6 @@ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, CoreState as Core
|
|
8
8
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
9
9
|
from yalexs_ble import ConnectionInfo as ConnectionInfo, LockInfo as LockInfo, LockState as LockState
|
10
10
|
|
11
|
-
YALEXSBLEConfigEntry = ConfigEntry[YaleXSBLEData]
|
12
11
|
PLATFORMS: list[Platform]
|
13
12
|
|
14
13
|
async def async_setup_entry(hass: HomeAssistant, entry: YALEXSBLEConfigEntry) -> bool: ...
|
@@ -4,7 +4,7 @@ from .discovery_data_template import DynamicCurrentTempClimateDataTemplate as Dy
|
|
4
4
|
from .entity import ZWaveBaseEntity as ZWaveBaseEntity
|
5
5
|
from .helpers import get_value_of_zwave_value as get_value_of_zwave_value
|
6
6
|
from _typeshed import Incomplete
|
7
|
-
from homeassistant.components.climate import ATTR_HVAC_MODE as ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature,
|
7
|
+
from homeassistant.components.climate import ATTR_HVAC_MODE as ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACAction as HVACAction, HVACMode as HVACMode, PRESET_NONE as PRESET_NONE
|
8
8
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
9
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_TENTHS as PRECISION_TENTHS, UnitOfTemperature as UnitOfTemperature
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
@@ -11,11 +11,8 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send as async_disp
|
|
11
11
|
from homeassistant.helpers.group import expand_entity_ids as expand_entity_ids
|
12
12
|
from typing import Any
|
13
13
|
from zwave_js_server.const import CommandClass
|
14
|
-
from zwave_js_server.model.endpoint import Endpoint
|
15
|
-
from zwave_js_server.model.node import Node as ZwaveNode
|
16
14
|
|
17
15
|
_LOGGER: Incomplete
|
18
|
-
_NodeOrEndpointType = ZwaveNode | Endpoint
|
19
16
|
TARGET_VALIDATORS: Incomplete
|
20
17
|
|
21
18
|
def parameter_name_does_not_need_bitmask(val: dict[str, int | str | list[str]]) -> dict[str, int | str | list[str]]: ...
|
@@ -107,7 +107,7 @@ CONN_CLASS_UNKNOWN: str
|
|
107
107
|
class ConfigError(HomeAssistantError): ...
|
108
108
|
class UnknownEntry(ConfigError): ...
|
109
109
|
class OperationNotAllowed(ConfigError): ...
|
110
|
-
|
110
|
+
|
111
111
|
FROZEN_CONFIG_ENTRY_ATTRS: Incomplete
|
112
112
|
UPDATE_ENTRY_CONFIG_ENTRY_ATTRS: Incomplete
|
113
113
|
|
homeassistant-stubs/core.pyi
CHANGED
@@ -38,14 +38,11 @@ FINAL_WRITE_STAGE_SHUTDOWN_TIMEOUT: int
|
|
38
38
|
CLOSE_STAGE_SHUTDOWN_TIMEOUT: int
|
39
39
|
_SENTINEL: Incomplete
|
40
40
|
_DataT = TypeVar('_DataT', bound=Mapping[str, Any], default=Mapping[str, Any])
|
41
|
-
CALLBACK_TYPE = Callable[[], None]
|
42
41
|
CORE_STORAGE_KEY: str
|
43
42
|
CORE_STORAGE_VERSION: int
|
44
43
|
CORE_STORAGE_MINOR_VERSION: int
|
45
44
|
DOMAIN: str
|
46
45
|
BLOCK_LOG_TIMEOUT: int
|
47
|
-
ServiceResponse = JsonObjectType | None
|
48
|
-
EntityServiceResponse = dict[str, ServiceResponse]
|
49
46
|
|
50
47
|
class ConfigSource(enum.StrEnum):
|
51
48
|
DEFAULT = 'default'
|
@@ -33,7 +33,6 @@ class EventCategoryRegistryUpdatedData(TypedDict):
|
|
33
33
|
action: Literal['create', 'remove', 'update']
|
34
34
|
scope: str
|
35
35
|
category_id: str
|
36
|
-
EventCategoryRegistryUpdated = Event[EventCategoryRegistryUpdatedData]
|
37
36
|
|
38
37
|
@dataclass(slots=True, kw_only=True, frozen=True)
|
39
38
|
class CategoryEntry:
|
@@ -8,7 +8,7 @@ from .storage import Store as Store
|
|
8
8
|
from .typing import ConfigType as ConfigType, VolDictType as VolDictType
|
9
9
|
from _typeshed import Incomplete
|
10
10
|
from abc import ABC, abstractmethod
|
11
|
-
from collections.abc import
|
11
|
+
from collections.abc import Callable, Iterable
|
12
12
|
from dataclasses import dataclass
|
13
13
|
from homeassistant.components import websocket_api as websocket_api
|
14
14
|
from homeassistant.const import CONF_ID as CONF_ID
|
@@ -32,8 +32,6 @@ class CollectionChange:
|
|
32
32
|
item: Any
|
33
33
|
item_hash: str | None = ...
|
34
34
|
def __init__(self, change_type, item_id, item, item_hash=...) -> None: ...
|
35
|
-
ChangeListener = Callable[[str, str, dict], Awaitable[None]]
|
36
|
-
ChangeSetListener = Callable[[Iterable[CollectionChange]], Awaitable[None]]
|
37
35
|
|
38
36
|
class CollectionError(HomeAssistantError): ...
|
39
37
|
|
@@ -25,7 +25,6 @@ class ConditionProtocol(Protocol):
|
|
25
25
|
CONDITION_SCHEMA: vol.Schema
|
26
26
|
async def async_validate_condition_config(self, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
27
27
|
def async_condition_from_config(self, hass: HomeAssistant, config: ConfigType) -> ConditionCheckerType: ...
|
28
|
-
ConditionCheckerType = Callable[[HomeAssistant, TemplateVarsType], bool | None]
|
29
28
|
|
30
29
|
def condition_trace_append(variables: TemplateVarsType, path: str) -> TraceElement: ...
|
31
30
|
def condition_trace_set_result(result: bool, **kwargs: Any) -> None: ...
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from .service_info.mqtt import MqttServiceInfo as MqttServiceInfo
|
2
2
|
from .typing import DiscoveryInfoType as DiscoveryInfoType
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from collections.abc import Awaitable
|
4
|
+
from collections.abc import Awaitable
|
5
5
|
from homeassistant import config_entries as config_entries
|
6
6
|
from homeassistant.components import onboarding as onboarding
|
7
7
|
from homeassistant.components.bluetooth import BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
|
@@ -11,7 +11,6 @@ from homeassistant.components.zeroconf import ZeroconfServiceInfo as ZeroconfSer
|
|
11
11
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
12
12
|
from typing import Any
|
13
13
|
|
14
|
-
DiscoveryFunctionType = Callable[[HomeAssistant], _R]
|
15
14
|
_LOGGER: Incomplete
|
16
15
|
|
17
16
|
class DiscoveryFlowHandler(config_entries.ConfigFlow):
|
@@ -81,7 +81,6 @@ class _EventDeviceRegistryUpdatedData_Update(TypedDict):
|
|
81
81
|
action: Literal['update']
|
82
82
|
device_id: str
|
83
83
|
changes: dict[str, Any]
|
84
|
-
EventDeviceRegistryUpdatedData = _EventDeviceRegistryUpdatedData_CreateRemove | _EventDeviceRegistryUpdatedData_Update
|
85
84
|
|
86
85
|
class DeviceEntryType(StrEnum):
|
87
86
|
SERVICE = 'service'
|
@@ -9,7 +9,6 @@ from typing import Any, overload
|
|
9
9
|
|
10
10
|
_LOGGER: Incomplete
|
11
11
|
DATA_DISPATCHER: str
|
12
|
-
_DispatcherDataType: Incomplete
|
13
12
|
|
14
13
|
@overload
|
15
14
|
def dispatcher_connect(hass: HomeAssistant, signal: SignalType[Unpack[_Ts]], target: Callable[[Unpack[_Ts]], None]) -> Callable[[], None]: ...
|
@@ -70,6 +70,7 @@ class EntityDescription(frozen_or_thawed=True, metaclass=FrozenOrThawed):
|
|
70
70
|
translation_placeholders: Mapping[str, str] | None
|
71
71
|
unit_of_measurement: str | None
|
72
72
|
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
73
|
+
def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
73
74
|
|
74
75
|
@dataclasses.dataclass(frozen=True, slots=True)
|
75
76
|
class CalculatedState:
|
@@ -242,6 +243,7 @@ class Entity(cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCached
|
|
242
243
|
|
243
244
|
class ToggleEntityDescription(EntityDescription, frozen_or_thawed=True):
|
244
245
|
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
246
|
+
def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
245
247
|
|
246
248
|
TOGGLE_ENTITY_CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
247
249
|
|
@@ -54,9 +54,7 @@ class _EventEntityRegistryUpdatedData_Update(TypedDict):
|
|
54
54
|
entity_id: str
|
55
55
|
changes: dict[str, Any]
|
56
56
|
old_entity_id: NotRequired[str]
|
57
|
-
|
58
|
-
EntityOptionsType = Mapping[str, Mapping[str, Any]]
|
59
|
-
ReadOnlyEntityOptionsType = ReadOnlyDict[str, ReadOnlyDict[str, Any]]
|
57
|
+
|
60
58
|
DISPLAY_DICT_OPTIONAL: Incomplete
|
61
59
|
|
62
60
|
def _protect_entity_options(data: EntityOptionsType | None) -> ReadOnlyEntityOptionsType: ...
|
@@ -164,7 +164,6 @@ class TrackTemplateResultInfo:
|
|
164
164
|
def _super_template_as_boolean(result: bool | str | TemplateError) -> bool: ...
|
165
165
|
def _apply_update(self, updates: list[TrackTemplateResult], update: bool | TrackTemplateResult, template: Template) -> bool: ...
|
166
166
|
def _refresh(self, event: Event[EventStateChangedData] | None, track_templates: Iterable[TrackTemplate] | None = None, replayed: bool | None = False) -> None: ...
|
167
|
-
TrackTemplateResultListener = Callable[[Event[EventStateChangedData] | None, list[TrackTemplateResult]], Coroutine[Any, Any, None] | None]
|
168
167
|
|
169
168
|
def async_track_template_result(hass: HomeAssistant, track_templates: Sequence[TrackTemplate], action: TrackTemplateResultListener, strict: bool = False, log_fn: Callable[[int, str], None] | None = None, has_super_template: bool = False) -> TrackTemplateResultInfo: ...
|
170
169
|
def async_track_same_state(hass: HomeAssistant, period: timedelta, action: Callable[[], Coroutine[Any, Any, None] | None], async_check_same_func: Callable[[str, State | None, State | None], bool], entity_ids: str | Iterable[str] = ...) -> CALLBACK_TYPE: ...
|
@@ -34,7 +34,6 @@ class FloorRegistryStoreData(TypedDict):
|
|
34
34
|
class EventFloorRegistryUpdatedData(TypedDict):
|
35
35
|
action: Literal['create', 'remove', 'update']
|
36
36
|
floor_id: str
|
37
|
-
EventFloorRegistryUpdated = Event[EventFloorRegistryUpdatedData]
|
38
37
|
|
39
38
|
@dataclass(slots=True, kw_only=True, frozen=True)
|
40
39
|
class FloorEntry(NormalizedNameBaseRegistryEntry):
|
@@ -3,7 +3,6 @@ from _typeshed import Incomplete
|
|
3
3
|
from aiohttp import web
|
4
4
|
from aiohttp.typedefs import LooseHeaders as LooseHeaders
|
5
5
|
from aiohttp.web import AppKey, Request as Request
|
6
|
-
from aiohttp.web_urldispatcher import AbstractResource, AbstractRoute
|
7
6
|
from collections.abc import Awaitable, Callable
|
8
7
|
from contextvars import ContextVar
|
9
8
|
from homeassistant import exceptions as exceptions
|
@@ -14,7 +13,6 @@ from http import HTTPStatus
|
|
14
13
|
from typing import Any, Final
|
15
14
|
|
16
15
|
_LOGGER: Incomplete
|
17
|
-
AllowCorsType = Callable[[AbstractRoute | AbstractResource], None]
|
18
16
|
KEY_AUTHENTICATED: Final[str]
|
19
17
|
KEY_ALLOW_ALL_CORS: Incomplete
|
20
18
|
KEY_ALLOW_CONFIGURED_CORS: Incomplete
|
@@ -5,7 +5,7 @@ from . import area_registry as area_registry, device_registry as device_registry
|
|
5
5
|
from .typing import VolSchemaType as VolSchemaType
|
6
6
|
from _typeshed import Incomplete
|
7
7
|
from abc import abstractmethod
|
8
|
-
from collections.abc import
|
8
|
+
from collections.abc import Collection, Iterable
|
9
9
|
from dataclasses import dataclass
|
10
10
|
from enum import Enum, StrEnum
|
11
11
|
from functools import cached_property as cached_property
|
@@ -18,8 +18,6 @@ from homeassistant.util.hass_dict import HassKey as HassKey
|
|
18
18
|
from typing import Any
|
19
19
|
|
20
20
|
_LOGGER: Incomplete
|
21
|
-
_SlotsType = dict[str, Any]
|
22
|
-
_IntentSlotsType = dict[str | tuple[str, str], VolSchemaType | Callable[[Any], Any]]
|
23
21
|
INTENT_TURN_OFF: str
|
24
22
|
INTENT_TURN_ON: str
|
25
23
|
INTENT_TOGGLE: str
|
@@ -34,7 +34,6 @@ class LabelRegistryStoreData(TypedDict):
|
|
34
34
|
class EventLabelRegistryUpdatedData(TypedDict):
|
35
35
|
action: Literal['create', 'remove', 'update']
|
36
36
|
label_id: str
|
37
|
-
EventLabelRegistryUpdated = Event[EventLabelRegistryUpdatedData]
|
38
37
|
|
39
38
|
@dataclass(slots=True, frozen=True, kw_only=True)
|
40
39
|
class LabelEntry(NormalizedNameBaseRegistryEntry):
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import abc
|
2
2
|
from .storage import Store as Store
|
3
|
-
from _typeshed import Incomplete
|
4
3
|
from abc import ABC, abstractmethod
|
5
4
|
from collections import UserDict
|
6
5
|
from collections.abc import Mapping as Mapping, Sequence as Sequence, ValuesView
|
@@ -8,7 +7,6 @@ from homeassistant.core import CoreState as CoreState, HomeAssistant as HomeAssi
|
|
8
7
|
|
9
8
|
SAVE_DELAY: int
|
10
9
|
SAVE_DELAY_LONG: int
|
11
|
-
RegistryIndexType: Incomplete
|
12
10
|
|
13
11
|
class BaseRegistryItems(UserDict[str, _DataT], ABC, metaclass=abc.ABCMeta):
|
14
12
|
data: dict[str, _DataT]
|
@@ -26,7 +26,6 @@ from homeassistant.util.async_ import create_eager_task as create_eager_task
|
|
26
26
|
from homeassistant.util.dt import utcnow as utcnow
|
27
27
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
28
28
|
from homeassistant.util.signal_type import SignalType as SignalType, SignalTypeFormat as SignalTypeFormat
|
29
|
-
from types import MappingProxyType
|
30
29
|
from typing import Any, Literal, TypedDict, overload
|
31
30
|
|
32
31
|
SCRIPT_MODE_PARALLEL: str
|
@@ -143,8 +142,6 @@ class _QueuedScriptRun(_ScriptRun):
|
|
143
142
|
def _schedule_stop_scripts_after_shutdown(hass: HomeAssistant) -> None: ...
|
144
143
|
async def _async_stop_scripts_after_shutdown(hass: HomeAssistant, point_in_time: datetime) -> None: ...
|
145
144
|
async def _async_stop_scripts_at_shutdown(hass: HomeAssistant, event: Event) -> None: ...
|
146
|
-
_VarsType = dict[str, Any] | Mapping[str, Any] | MappingProxyType[str, Any]
|
147
|
-
|
148
145
|
def _referenced_extract_ids(data: Any, key: str, found: set[str]) -> None: ...
|
149
146
|
|
150
147
|
class _ChooseData(TypedDict):
|
@@ -4,13 +4,10 @@ from collections.abc import Callable, Mapping
|
|
4
4
|
from homeassistant.const import STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
6
6
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
7
|
-
from types import MappingProxyType
|
8
7
|
from typing import Any, Protocol
|
9
8
|
|
10
9
|
PLATFORM: str
|
11
10
|
DATA_FUNCTIONS: HassKey[dict[str, CheckTypeFunc]]
|
12
|
-
CheckTypeFunc = Callable[[HomeAssistant, str, dict | MappingProxyType, str, dict | MappingProxyType], bool | None]
|
13
|
-
ExtraCheckTypeFunc = Callable[[HomeAssistant, str, dict | MappingProxyType, Any, str, dict | MappingProxyType, Any], bool | None]
|
14
11
|
|
15
12
|
class SignificantChangeProtocol(Protocol):
|
16
13
|
def async_check_significant_change(self, hass: HomeAssistant, old_state: str, old_attrs: Mapping[str, Any], new_state: str, new_attrs: Mapping[str, Any]) -> bool | None: ...
|
@@ -4,8 +4,6 @@ from homeassistant.loader import bind_hass as bind_hass
|
|
4
4
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
5
5
|
from typing import overload
|
6
6
|
|
7
|
-
_FuncType = Callable[[HomeAssistant], _T]
|
8
|
-
|
9
7
|
@overload
|
10
8
|
def singleton(data_key: HassKey[_T]) -> Callable[[_FuncType[_T]], _FuncType[_T]]: ...
|
11
9
|
@overload
|
@@ -2,7 +2,6 @@ import astral
|
|
2
2
|
import astral.location
|
3
3
|
import datetime
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from collections.abc import Callable
|
6
5
|
from homeassistant.const import SUN_EVENT_SUNRISE as SUN_EVENT_SUNRISE, SUN_EVENT_SUNSET as SUN_EVENT_SUNSET
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
7
|
from homeassistant.loader import bind_hass as bind_hass
|
@@ -10,7 +9,6 @@ from homeassistant.util.hass_dict import HassKey as HassKey
|
|
10
9
|
|
11
10
|
DATA_LOCATION_CACHE: HassKey[dict[tuple[str, str, str, float, float], astral.location.Location]]
|
12
11
|
ELEVATION_AGNOSTIC_EVENTS: Incomplete
|
13
|
-
_AstralSunEventCallable = Callable[..., datetime.datetime]
|
14
12
|
|
15
13
|
def get_astral_location(hass: HomeAssistant) -> tuple[astral.location.Location, astral.Elevation]: ...
|
16
14
|
def get_astral_event_next(hass: HomeAssistant, event: str, utc_point_in_time: datetime.datetime | None = None, offset: datetime.timedelta | None = None) -> datetime.datetime: ...
|
@@ -1,19 +1,6 @@
|
|
1
1
|
from .deprecation import DeferredDeprecatedAlias as DeferredDeprecatedAlias, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from collections.abc import Mapping
|
4
3
|
from enum import Enum
|
5
|
-
from typing import Any, Never
|
6
|
-
|
7
|
-
GPSType = tuple[float, float]
|
8
|
-
ConfigType = dict[str, Any]
|
9
|
-
DiscoveryInfoType = dict[str, Any]
|
10
|
-
ServiceDataType = dict[str, Any]
|
11
|
-
StateType = str | int | float | None
|
12
|
-
TemplateVarsType = Mapping[str, Any] | None
|
13
|
-
NoEventData = Mapping[str, Never]
|
14
|
-
VolSchemaType: Incomplete
|
15
|
-
VolDictType: Incomplete
|
16
|
-
QueryType = Any
|
17
4
|
|
18
5
|
class UndefinedType(Enum):
|
19
6
|
_singleton = 0
|
@@ -5,9 +5,6 @@ from typing import Any
|
|
5
5
|
|
6
6
|
_SENTINEL: Incomplete
|
7
7
|
_LOGGER: Incomplete
|
8
|
-
JsonValueType = dict[str, JsonValueType] | list[JsonValueType] | str | int | float | bool | None
|
9
|
-
JsonArrayType = list[JsonValueType]
|
10
|
-
JsonObjectType = dict[str, JsonValueType]
|
11
8
|
JSON_ENCODE_EXCEPTIONS: Incomplete
|
12
9
|
JSON_DECODE_EXCEPTIONS: Incomplete
|
13
10
|
|
@@ -60,7 +60,6 @@ class SafeLineLoader(PythonSafeLoader):
|
|
60
60
|
def add_multi_constructor(cls, tag_prefix: str, multi_constructor: Callable) -> None: ...
|
61
61
|
@staticmethod
|
62
62
|
def __report_deprecated() -> None: ...
|
63
|
-
LoaderType = FastSafeLoader | PythonSafeLoader
|
64
63
|
|
65
64
|
def load_yaml(fname: str | os.PathLike[str], secrets: Secrets | None = None) -> JSON_TYPE | None: ...
|
66
65
|
def load_yaml_dict(fname: str | os.PathLike[str], secrets: Secrets | None = None) -> dict: ...
|
{homeassistant_stubs-2024.10.2.dist-info → homeassistant_stubs-2024.10.3.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: homeassistant-stubs
|
3
|
-
Version: 2024.10.
|
3
|
+
Version: 2024.10.3
|
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.14,>=3.12
|
21
|
-
Requires-Dist: homeassistant==2024.10.
|
21
|
+
Requires-Dist: homeassistant==2024.10.3
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|