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
@@ -14,9 +14,6 @@ from typing import Any
|
|
14
14
|
EVENT_USER_ADDED: str
|
15
15
|
EVENT_USER_UPDATED: str
|
16
16
|
EVENT_USER_REMOVED: str
|
17
|
-
_MfaModuleDict = dict[str, MultiFactorAuthModule]
|
18
|
-
_ProviderKey = tuple[str, str | None]
|
19
|
-
_ProviderDict = dict[_ProviderKey, AuthProvider]
|
20
17
|
|
21
18
|
class InvalidAuthError(Exception): ...
|
22
19
|
class InvalidProvider(Exception): ...
|
@@ -1,7 +0,0 @@
|
|
1
|
-
from collections.abc import Mapping
|
2
|
-
|
3
|
-
ValueType = Mapping[str, bool] | bool | None
|
4
|
-
SubCategoryDict = Mapping[str, ValueType]
|
5
|
-
SubCategoryType = SubCategoryDict | bool | None
|
6
|
-
CategoryType = Mapping[str, SubCategoryType] | Mapping[str, ValueType] | bool | None
|
7
|
-
PolicyType = Mapping[str, CategoryType]
|
@@ -3,9 +3,6 @@ from .models import PermissionLookup as PermissionLookup
|
|
3
3
|
from .types import CategoryType as CategoryType, SubCategoryDict as SubCategoryDict, ValueType as ValueType
|
4
4
|
from collections.abc import Callable
|
5
5
|
|
6
|
-
LookupFunc = Callable[[PermissionLookup, SubCategoryDict, str], ValueType | None]
|
7
|
-
SubCatLookupType = dict[str, LookupFunc]
|
8
|
-
|
9
6
|
def lookup_all(perm_lookup: PermissionLookup, lookup_dict: SubCategoryDict, object_id: str) -> ValueType: ...
|
10
7
|
def compile_policy(policy: CategoryType, subcategories: SubCatLookupType, perm_lookup: PermissionLookup) -> Callable[[str, str], bool]: ...
|
11
8
|
def _gen_dict_test_func(perm_lookup: PermissionLookup, lookup_func: LookupFunc, lookup_dict: SubCategoryDict) -> Callable[[str, str], bool | None]: ...
|
@@ -6,11 +6,8 @@ from collections.abc import Mapping
|
|
6
6
|
from homeassistant.core import callback as callback
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
8
|
from homeassistant.helpers.network import is_cloud_connection as is_cloud_connection
|
9
|
-
from ipaddress import IPv4Address, IPv4Network, IPv6Address, IPv6Network
|
10
9
|
from typing import Any
|
11
10
|
|
12
|
-
IPAddress = IPv4Address | IPv6Address
|
13
|
-
IPNetwork = IPv4Network | IPv6Network
|
14
11
|
CONF_TRUSTED_NETWORKS: str
|
15
12
|
CONF_TRUSTED_USERS: str
|
16
13
|
CONF_GROUP: str
|
@@ -15,7 +15,6 @@ class AccuWeatherData:
|
|
15
15
|
coordinator_observation: AccuWeatherObservationDataUpdateCoordinator
|
16
16
|
coordinator_daily_forecast: AccuWeatherDailyForecastDataUpdateCoordinator
|
17
17
|
def __init__(self, coordinator_observation, coordinator_daily_forecast) -> None: ...
|
18
|
-
AccuWeatherConfigEntry = ConfigEntry[AccuWeatherData]
|
19
18
|
|
20
19
|
async def async_setup_entry(hass: HomeAssistant, entry: AccuWeatherConfigEntry) -> bool: ...
|
21
20
|
async def async_unload_entry(hass: HomeAssistant, entry: AccuWeatherConfigEntry) -> bool: ...
|
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
6
|
|
7
7
|
CONF_HUBS: str
|
8
8
|
PLATFORMS: Incomplete
|
9
|
-
AcmedaConfigEntry = ConfigEntry[PulseHub]
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, config_entry: AcmedaConfigEntry) -> bool: ...
|
12
11
|
async def _migrate_unique_ids(hass: HomeAssistant, entry: AcmedaConfigEntry) -> None: ...
|
@@ -3,10 +3,8 @@ from homeassistant.const import CONF_API_KEY as CONF_API_KEY, Platform as Platfo
|
|
3
3
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
4
4
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
5
5
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
6
|
-
from pyaftership import AfterShip
|
7
6
|
|
8
7
|
PLATFORMS: list[Platform]
|
9
|
-
AfterShipConfigEntry = ConfigEntry[AfterShip]
|
10
8
|
|
11
9
|
async def async_setup_entry(hass: HomeAssistant, entry: AfterShipConfigEntry) -> bool: ...
|
12
10
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -5,7 +5,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
5
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
6
6
|
|
7
7
|
PLATFORMS: list[Platform]
|
8
|
-
AirGradientConfigEntry = ConfigEntry[AirGradientCoordinator]
|
9
8
|
|
10
9
|
async def async_setup_entry(hass: HomeAssistant, entry: AirGradientConfigEntry) -> bool: ...
|
11
10
|
async def async_unload_entry(hass: HomeAssistant, entry: AirGradientConfigEntry) -> bool: ...
|
@@ -8,7 +8,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
|
|
8
8
|
|
9
9
|
PLATFORMS: Incomplete
|
10
10
|
_LOGGER: Incomplete
|
11
|
-
AirlyConfigEntry = ConfigEntry[AirlyDataUpdateCoordinator]
|
12
11
|
|
13
12
|
async def async_setup_entry(hass: HomeAssistant, entry: AirlyConfigEntry) -> bool: ...
|
14
13
|
async def async_unload_entry(hass: HomeAssistant, entry: AirlyConfigEntry) -> bool: ...
|
@@ -7,7 +7,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession as asyn
|
|
7
7
|
|
8
8
|
_LOGGER: Incomplete
|
9
9
|
PLATFORMS: Incomplete
|
10
|
-
AirNowConfigEntry = ConfigEntry[AirNowDataUpdateCoordinator]
|
11
10
|
|
12
11
|
async def async_setup_entry(hass: HomeAssistant, entry: AirNowConfigEntry) -> bool: ...
|
13
12
|
async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -1,6 +1,5 @@
|
|
1
1
|
from .const import CONF_SECRET as CONF_SECRET, DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from airthings import AirthingsDevice
|
4
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
4
|
from homeassistant.const import CONF_ID as CONF_ID, Platform as Platform
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -10,8 +9,6 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
|
|
10
9
|
_LOGGER: Incomplete
|
11
10
|
PLATFORMS: list[Platform]
|
12
11
|
SCAN_INTERVAL: Incomplete
|
13
|
-
AirthingsDataCoordinatorType = DataUpdateCoordinator[dict[str, AirthingsDevice]]
|
14
|
-
AirthingsConfigEntry = ConfigEntry[AirthingsDataCoordinatorType]
|
15
12
|
|
16
13
|
async def async_setup_entry(hass: HomeAssistant, entry: AirthingsConfigEntry) -> bool: ...
|
17
14
|
async def async_unload_entry(hass: HomeAssistant, entry: AirthingsConfigEntry) -> bool: ...
|
@@ -1,12 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from airtouch5py.airtouch5_simple_client import Airtouch5SimpleClient
|
3
2
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
3
|
from homeassistant.const import CONF_HOST as CONF_HOST, Platform as Platform
|
5
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
5
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
7
6
|
|
8
7
|
PLATFORMS: list[Platform]
|
9
|
-
Airtouch5ConfigEntry = ConfigEntry[Airtouch5SimpleClient]
|
10
8
|
|
11
9
|
async def async_setup_entry(hass: HomeAssistant, entry: Airtouch5ConfigEntry) -> bool: ...
|
12
10
|
async def async_unload_entry(hass: HomeAssistant, entry: Airtouch5ConfigEntry) -> bool: ...
|
@@ -12,7 +12,6 @@ from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity,
|
|
12
12
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
13
13
|
from typing import Any
|
14
14
|
|
15
|
-
AirVisualConfigEntry = ConfigEntry[DataUpdateCoordinator]
|
16
15
|
DOMAIN_AIRVISUAL_PRO: str
|
17
16
|
PLATFORMS: Incomplete
|
18
17
|
DEFAULT_ATTRIBUTION: str
|
@@ -7,7 +7,6 @@ from homeassistant.helpers import aiohttp_client as aiohttp_client
|
|
7
7
|
|
8
8
|
PLATFORMS: list[Platform]
|
9
9
|
_LOGGER: Incomplete
|
10
|
-
AirzoneConfigEntry = ConfigEntry[AirzoneUpdateCoordinator]
|
11
10
|
|
12
11
|
async def _async_migrate_unique_ids(hass: HomeAssistant, entry: AirzoneConfigEntry, coordinator: AirzoneUpdateCoordinator) -> None: ...
|
13
12
|
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneConfigEntry) -> bool: ...
|
@@ -5,7 +5,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
5
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
6
6
|
|
7
7
|
PLATFORMS: list[Platform]
|
8
|
-
AirzoneCloudConfigEntry = ConfigEntry[AirzoneUpdateCoordinator]
|
9
8
|
|
10
9
|
async def async_setup_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry) -> bool: ...
|
11
10
|
async def async_unload_entry(hass: HomeAssistant, entry: AirzoneCloudConfigEntry) -> bool: ...
|
@@ -28,6 +28,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
28
28
|
|
29
29
|
class AlarmControlPanelEntityDescription(EntityDescription, frozen_or_thawed=True):
|
30
30
|
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: ...
|
31
|
+
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: ...
|
31
32
|
|
32
33
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
33
34
|
|
@@ -4,7 +4,5 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
4
|
from homeassistant.const import CONF_API_TOKEN as CONF_API_TOKEN
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
|
7
|
-
AmberConfigEntry = ConfigEntry[AmberUpdateCoordinator]
|
8
|
-
|
9
7
|
async def async_setup_entry(hass: HomeAssistant, entry: AmberConfigEntry) -> bool: ...
|
10
8
|
async def async_unload_entry(hass: HomeAssistant, entry: AmberConfigEntry) -> bool: ...
|
@@ -3,7 +3,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
3
3
|
from homeassistant.const import Platform as Platform
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
|
6
|
-
AmbientNetworkConfigEntry = ConfigEntry[AmbientNetworkDataUpdateCoordinator]
|
7
6
|
PLATFORMS: list[Platform]
|
8
7
|
|
9
8
|
async def async_setup_entry(hass: HomeAssistant, entry: AmbientNetworkConfigEntry) -> bool: ...
|
@@ -11,7 +11,6 @@ from typing import Any
|
|
11
11
|
PLATFORMS: Incomplete
|
12
12
|
DATA_CONFIG: str
|
13
13
|
DEFAULT_SOCKET_MIN_RETRY: int
|
14
|
-
AmbientStationConfigEntry = ConfigEntry[AmbientStation]
|
15
14
|
|
16
15
|
def async_wm2_to_lx(value: float) -> int: ...
|
17
16
|
def async_hydrate_station_data(data: dict[str, Any]) -> dict[str, Any]: ...
|
@@ -8,7 +8,6 @@ from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
|
8
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
9
9
|
|
10
10
|
PLATFORMS: list[Platform]
|
11
|
-
AnalyticsInsightsConfigEntry = ConfigEntry[AnalyticsInsightsData]
|
12
11
|
|
13
12
|
@dataclass(frozen=True)
|
14
13
|
class AnalyticsInsightsData:
|
@@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity as Entity
|
|
10
10
|
PREFIX_ANDROIDTV: str
|
11
11
|
PREFIX_FIRETV: str
|
12
12
|
_LOGGER: Incomplete
|
13
|
-
_FuncType: Incomplete
|
14
|
-
_ReturnFuncType: Incomplete
|
15
13
|
|
16
14
|
def adb_decorator(override_available: bool = False) -> Callable[[_FuncType[_ADBDeviceT, _P, _R]], _ReturnFuncType[_ADBDeviceT, _P, _R]]: ...
|
17
15
|
|
@@ -6,7 +6,6 @@ from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, c
|
|
6
6
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
7
7
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
8
8
|
|
9
|
-
AnthemavConfigEntry: Incomplete
|
10
9
|
PLATFORMS: Incomplete
|
11
10
|
_LOGGER: Incomplete
|
12
11
|
|
@@ -5,7 +5,6 @@ from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT,
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from typing import Final
|
7
7
|
|
8
|
-
APCUPSdConfigEntry = ConfigEntry[APCUPSdCoordinator]
|
9
8
|
PLATFORMS: Final[Incomplete]
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, config_entry: APCUPSdConfigEntry) -> bool: ...
|
@@ -21,7 +21,6 @@ PLATFORMS: Incomplete
|
|
21
21
|
AUTH_EXCEPTIONS: Incomplete
|
22
22
|
CONNECTION_TIMEOUT_EXCEPTIONS: Incomplete
|
23
23
|
DEVICE_EXCEPTIONS: Incomplete
|
24
|
-
AppleTvConfigEntry = ConfigEntry[AppleTVManager]
|
25
24
|
|
26
25
|
async def async_setup_entry(hass: HomeAssistant, entry: AppleTvConfigEntry) -> bool: ...
|
27
26
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -12,7 +12,6 @@ class ApSystemsData:
|
|
12
12
|
coordinator: ApSystemsDataCoordinator
|
13
13
|
device_id: str
|
14
14
|
def __init__(self, coordinator, device_id) -> None: ...
|
15
|
-
ApSystemsConfigEntry = ConfigEntry[ApSystemsData]
|
16
15
|
|
17
16
|
async def async_setup_entry(hass: HomeAssistant, entry: ApSystemsConfigEntry) -> bool: ...
|
18
17
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -6,7 +6,6 @@ from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT,
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
8
8
|
|
9
|
-
ArcamFmjConfigEntry = ConfigEntry[Client]
|
10
9
|
_LOGGER: Incomplete
|
11
10
|
PLATFORMS: Incomplete
|
12
11
|
|
@@ -5,7 +5,7 @@ from .error import DuplicateWakeUpDetectedError as DuplicateWakeUpDetectedError,
|
|
5
5
|
from .vad import AudioBuffer as AudioBuffer, VoiceActivityTimeout as VoiceActivityTimeout, VoiceCommandSegmenter as VoiceCommandSegmenter, chunk_samples as chunk_samples
|
6
6
|
from _typeshed import Incomplete
|
7
7
|
from collections import deque
|
8
|
-
from collections.abc import AsyncGenerator, AsyncIterable
|
8
|
+
from collections.abc import AsyncGenerator, AsyncIterable
|
9
9
|
from dataclasses import dataclass
|
10
10
|
from enum import StrEnum
|
11
11
|
from homeassistant.components import conversation as conversation, media_source as media_source, stt as stt, tts as tts, wake_word as wake_word, websocket_api as websocket_api
|
@@ -62,7 +62,6 @@ class PipelineEvent:
|
|
62
62
|
data: dict[str, Any] | None = ...
|
63
63
|
timestamp: str = ...
|
64
64
|
def __init__(self, type, data=..., timestamp=...) -> None: ...
|
65
|
-
PipelineEventCallback = Callable[[PipelineEvent], None]
|
66
65
|
|
67
66
|
@dataclass(frozen=True)
|
68
67
|
class Pipeline:
|
@@ -26,6 +26,7 @@ class AssistSatelliteState(StrEnum):
|
|
26
26
|
|
27
27
|
class AssistSatelliteEntityDescription(EntityDescription, frozen_or_thawed=True):
|
28
28
|
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: ...
|
29
|
+
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: ...
|
29
30
|
|
30
31
|
@dataclass(frozen=True)
|
31
32
|
class AssistSatelliteWakeWord:
|
@@ -5,7 +5,6 @@ from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_
|
|
5
5
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
|
6
6
|
|
7
7
|
PLATFORMS: Incomplete
|
8
|
-
AsusWrtConfigEntry = ConfigEntry[AsusWrtRouter]
|
9
8
|
|
10
9
|
async def async_setup_entry(hass: HomeAssistant, entry: AsusWrtConfigEntry) -> bool: ...
|
11
10
|
async def async_unload_entry(hass: HomeAssistant, entry: AsusWrtConfigEntry) -> bool: ...
|
@@ -4,7 +4,7 @@ from _typeshed import Incomplete
|
|
4
4
|
from abc import ABC, abstractmethod
|
5
5
|
from aioasuswrt.asuswrt import AsusWrt as AsusWrtLegacy
|
6
6
|
from aiohttp import ClientSession as ClientSession
|
7
|
-
from collections.abc import
|
7
|
+
from collections.abc import Callable
|
8
8
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_MODE as CONF_MODE, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_PROTOCOL as CONF_PROTOCOL, CONF_USERNAME as CONF_USERNAME
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
10
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
@@ -28,8 +28,6 @@ class WrtDevice(NamedTuple):
|
|
28
28
|
connected_to: Incomplete
|
29
29
|
|
30
30
|
_LOGGER: Incomplete
|
31
|
-
_FuncType = Callable[[_T], Awaitable[list[Any] | tuple[Any] | dict[str, Any]]]
|
32
|
-
_ReturnFuncType = Callable[[_T], Coroutine[Any, Any, dict[str, Any]]]
|
33
31
|
|
34
32
|
def handle_errors_and_zip(exceptions: type[Exception] | tuple[type[Exception], ...], keys: list[str] | None) -> Callable[[_FuncType[_AsusWrtBridgeT]], _ReturnFuncType[_AsusWrtBridgeT]]: ...
|
35
33
|
|
@@ -5,7 +5,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
5
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
6
6
|
|
7
7
|
PLATFORMS: list[Platform]
|
8
|
-
AutarcoConfigEntry = ConfigEntry[list[AutarcoDataUpdateCoordinator]]
|
9
8
|
|
10
9
|
async def async_setup_entry(hass: HomeAssistant, entry: AutarcoConfigEntry) -> bool: ...
|
11
10
|
async def async_unload_entry(hass: HomeAssistant, entry: AutarcoConfigEntry) -> bool: ...
|
@@ -1,7 +1,6 @@
|
|
1
1
|
from . import indieauth as indieauth, login_flow as login_flow, mfa_setup_flow as mfa_setup_flow
|
2
2
|
from _typeshed import Incomplete
|
3
3
|
from aiohttp import web
|
4
|
-
from collections.abc import Callable
|
5
4
|
from homeassistant.auth import InvalidAuthError as InvalidAuthError
|
6
5
|
from homeassistant.auth.models import Credentials as Credentials, RefreshToken as RefreshToken, TOKEN_TYPE_LONG_LIVED_ACCESS_TOKEN as TOKEN_TYPE_LONG_LIVED_ACCESS_TOKEN, User as User
|
7
6
|
from homeassistant.components import websocket_api as websocket_api
|
@@ -18,8 +17,6 @@ from multidict import MultiDictProxy
|
|
18
17
|
from typing import Any
|
19
18
|
|
20
19
|
DOMAIN: str
|
21
|
-
StoreResultType = Callable[[str, Credentials], str]
|
22
|
-
RetrieveResultType = Callable[[str, str], Credentials | None]
|
23
20
|
CONFIG_SCHEMA: Incomplete
|
24
21
|
DELETE_CURRENT_TOKEN_DELAY: int
|
25
22
|
|
@@ -8,7 +8,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
8
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
9
9
|
|
10
10
|
_LOGGER: Incomplete
|
11
|
-
AxisConfigEntry = ConfigEntry[AxisHub]
|
12
11
|
|
13
12
|
async def async_setup_entry(hass: HomeAssistant, config_entry: AxisConfigEntry) -> bool: ...
|
14
13
|
async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
|
@@ -1,11 +1,9 @@
|
|
1
1
|
from .const import QUERY_INTERVAL as QUERY_INTERVAL, RUN_TIMEOUT as RUN_TIMEOUT
|
2
|
-
from aiobafi6 import Device
|
3
2
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
4
3
|
from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, Platform as Platform
|
5
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
6
5
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
7
6
|
|
8
|
-
BAFConfigEntry = ConfigEntry[Device]
|
9
7
|
PLATFORMS: list[Platform]
|
10
8
|
|
11
9
|
async def async_setup_entry(hass: HomeAssistant, entry: BAFConfigEntry) -> bool: ...
|
@@ -88,6 +88,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
88
88
|
class BinarySensorEntityDescription(EntityDescription, frozen_or_thawed=True):
|
89
89
|
device_class: BinarySensorDeviceClass | None
|
90
90
|
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: ...
|
91
|
+
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: ...
|
91
92
|
|
92
93
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
93
94
|
|
@@ -18,7 +18,6 @@ class BluesoundRuntimeData:
|
|
18
18
|
player: Player
|
19
19
|
sync_status: SyncStatus
|
20
20
|
def __init__(self, player, sync_status) -> None: ...
|
21
|
-
BluesoundConfigEntry = ConfigEntry[BluesoundRuntimeData]
|
22
21
|
|
23
22
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
24
23
|
async def async_setup_entry(hass: HomeAssistant, config_entry: BluesoundConfigEntry) -> bool: ...
|
@@ -1,7 +1,3 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
|
-
from collections.abc import Callable
|
3
|
-
from home_assistant_bluetooth import BluetoothServiceInfoBleak
|
4
2
|
|
5
3
|
BluetoothChange: Incomplete
|
6
|
-
BluetoothCallback = Callable[[BluetoothServiceInfoBleak, BluetoothChange], None]
|
7
|
-
ProcessAdvertisementCallback = Callable[[BluetoothServiceInfoBleak], bool]
|
@@ -13,7 +13,6 @@ from homeassistant.helpers.entity import SLOW_UPDATE_WARNING as SLOW_UPDATE_WARN
|
|
13
13
|
PLATFORMS: Incomplete
|
14
14
|
_API_TIMEOUT: Incomplete
|
15
15
|
_LOGGER: Incomplete
|
16
|
-
BondConfigEntry = ConfigEntry[BondData]
|
17
16
|
|
18
17
|
async def async_setup_entry(hass: HomeAssistant, entry: BondConfigEntry) -> bool: ...
|
19
18
|
async def async_unload_entry(hass: HomeAssistant, entry: BondConfigEntry) -> bool: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from .const import CONF_NICKNAME as CONF_NICKNAME, CONF_USE_PSK as CONF_USE_PSK, DOMAIN as DOMAIN, LEGACY_CLIENT_ID as LEGACY_CLIENT_ID, NICKNAME_PREFIX as NICKNAME_PREFIX, SourceType as SourceType
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from collections.abc import Awaitable
|
3
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine, Iterable
|
4
4
|
from homeassistant.components.media_player import MediaType as MediaType
|
5
5
|
from homeassistant.const import CONF_CLIENT_ID as CONF_CLIENT_ID, CONF_PIN as CONF_PIN
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
@@ -7,7 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
8
8
|
|
9
9
|
PLATFORMS: Incomplete
|
10
|
-
BrotherConfigEntry = ConfigEntry[BrotherDataUpdateCoordinator]
|
11
10
|
|
12
11
|
async def async_setup_entry(hass: HomeAssistant, entry: BrotherConfigEntry) -> bool: ...
|
13
12
|
async def async_unload_entry(hass: HomeAssistant, entry: BrotherConfigEntry) -> bool: ...
|
@@ -8,8 +8,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
8
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
9
9
|
|
10
10
|
PLATFORMS: list[Platform]
|
11
|
-
BryantEvolutionLocalClients = dict[tuple[int, int], BryantEvolutionLocalClient]
|
12
|
-
BryantEvolutionConfigEntry = ConfigEntry[BryantEvolutionLocalClients]
|
13
11
|
_LOGGER: Incomplete
|
14
12
|
|
15
13
|
async def _can_reach_device(client: BryantEvolutionLocalClient) -> bool: ...
|
@@ -33,6 +33,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
33
33
|
class ButtonEntityDescription(EntityDescription, frozen_or_thawed=True):
|
34
34
|
device_class: ButtonDeviceClass | None
|
35
35
|
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: ...
|
36
|
+
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: ...
|
36
37
|
|
37
38
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
38
39
|
|
@@ -77,6 +77,7 @@ def is_offset_reached(start: datetime.datetime, offset_time: datetime.timedelta)
|
|
77
77
|
|
78
78
|
class CalendarEntityDescription(EntityDescription, frozen_or_thawed=True):
|
79
79
|
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: ...
|
80
|
+
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: ...
|
80
81
|
|
81
82
|
class CalendarEntity(Entity):
|
82
83
|
entity_description: CalendarEntityDescription
|
@@ -2,7 +2,7 @@ import datetime
|
|
2
2
|
from . import CalendarEntity as CalendarEntity, CalendarEvent as CalendarEvent
|
3
3
|
from .const import DATA_COMPONENT as DATA_COMPONENT, DOMAIN as DOMAIN
|
4
4
|
from _typeshed import Incomplete
|
5
|
-
from collections.abc import
|
5
|
+
from collections.abc import Coroutine
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from homeassistant.const import CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_EVENT as CONF_EVENT, CONF_OFFSET as CONF_OFFSET, CONF_PLATFORM as CONF_PLATFORM
|
8
8
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
|
@@ -34,8 +34,6 @@ class Timespan:
|
|
34
34
|
def next_upcoming(self, now: datetime.datetime, interval: datetime.timedelta) -> Timespan: ...
|
35
35
|
def __str__(self) -> str: ...
|
36
36
|
def __init__(self, start, end) -> None: ...
|
37
|
-
EventFetcher = Callable[[Timespan], Awaitable[list[CalendarEvent]]]
|
38
|
-
QueuedEventFetcher = Callable[[Timespan], Awaitable[list[QueuedCalendarEvent]]]
|
39
37
|
|
40
38
|
def get_entity(hass: HomeAssistant, entity_id: str) -> CalendarEntity: ...
|
41
39
|
def event_fetcher(hass: HomeAssistant, entity_id: str) -> EventFetcher: ...
|
@@ -59,6 +59,7 @@ CAMERA_SERVICE_RECORD: VolDictType
|
|
59
59
|
|
60
60
|
class CameraEntityDescription(EntityDescription, frozen_or_thawed=True):
|
61
61
|
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: ...
|
62
|
+
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: ...
|
62
63
|
|
63
64
|
class Image:
|
64
65
|
content_type: str
|
@@ -77,8 +78,6 @@ async def async_get_stream_source(hass: HomeAssistant, entity_id: str) -> str |
|
|
77
78
|
async def async_get_mjpeg_stream(hass: HomeAssistant, request: web.Request, entity_id: str) -> web.StreamResponse | None: ...
|
78
79
|
async def async_get_still_stream(request: web.Request, image_cb: Callable[[], Awaitable[bytes | None]], content_type: str, interval: float) -> web.StreamResponse: ...
|
79
80
|
def _get_camera_from_entity_id(hass: HomeAssistant, entity_id: str) -> Camera: ...
|
80
|
-
RtspToWebRtcProviderType = Callable[[str, str, str], Awaitable[str | None]]
|
81
|
-
|
82
81
|
def async_register_rtsp_to_web_rtc_provider(hass: HomeAssistant, domain: str, provider: RtspToWebRtcProviderType) -> Callable[[], None]: ...
|
83
82
|
async def _async_refresh_providers(hass: HomeAssistant) -> None: ...
|
84
83
|
def _async_get_rtsp_to_web_rtc_providers(hass: HomeAssistant) -> Iterable[RtspToWebRtcProviderType]: ...
|
@@ -11,7 +11,6 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
11
11
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
12
12
|
from typing import Final
|
13
13
|
|
14
|
-
SensorTypeItem = tuple[str, str | None, str | None, SensorDeviceClass | None, list[str]]
|
15
14
|
SENSOR_VALUE_PRECISION: Final[int]
|
16
15
|
ATTR_AIR_QUALITY: Final[str]
|
17
16
|
CANARY_PRO: Final[str]
|
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
6
|
from homeassistant.helpers.start import async_at_started as async_at_started
|
7
7
|
|
8
8
|
PLATFORMS: Incomplete
|
9
|
-
CertExpiryConfigEntry = ConfigEntry[CertExpiryDataUpdateCoordinator]
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, entry: CertExpiryConfigEntry) -> bool: ...
|
12
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -36,6 +36,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
36
36
|
|
37
37
|
class ClimateEntityDescription(EntityDescription, frozen_or_thawed=True):
|
38
38
|
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: ...
|
39
|
+
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: ...
|
39
40
|
|
40
41
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
41
42
|
|
@@ -6,7 +6,7 @@ from .repairs import async_manage_legacy_subscription_issue as async_manage_lega
|
|
6
6
|
from .subscription import async_subscription_info as async_subscription_info
|
7
7
|
from _typeshed import Incomplete
|
8
8
|
from aiohttp import web as web
|
9
|
-
from collections.abc import Awaitable
|
9
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
10
10
|
from hass_nabucasa import Cloud as Cloud
|
11
11
|
from homeassistant.components import websocket_api as websocket_api
|
12
12
|
from homeassistant.components.homeassistant import exposed_entities as exposed_entities
|
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
6
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
7
|
|
8
8
|
PLATFORMS: Incomplete
|
9
|
-
CO2SignalConfigEntry = ConfigEntry[CO2SignalCoordinator]
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, entry: CO2SignalConfigEntry) -> bool: ...
|
12
11
|
async def async_unload_entry(hass: HomeAssistant, entry: CO2SignalConfigEntry) -> bool: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from _typeshed import Incomplete
|
2
|
-
from collections.abc import Callable
|
3
2
|
from homeassistant.const import ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME
|
4
3
|
from homeassistant.core import HassJob as HassJob, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall
|
5
4
|
from homeassistant.helpers.entity import async_generate_entity_id as async_generate_entity_id
|
@@ -24,7 +23,6 @@ ENTITY_ID_FORMAT: Incomplete
|
|
24
23
|
SERVICE_CONFIGURE: str
|
25
24
|
STATE_CONFIGURE: str
|
26
25
|
STATE_CONFIGURED: str
|
27
|
-
ConfiguratorCallback = Callable[[list[dict[str, str]]], None]
|
28
26
|
CONFIG_SCHEMA: Incomplete
|
29
27
|
|
30
28
|
def async_request_config(hass: HomeAssistant, name: str, callback: ConfiguratorCallback | None = None, description: str | None = None, description_image: str | None = None, submit_caption: str | None = None, fields: list[dict[str, str]] | None = None, link_name: str | None = None, link_url: str | None = None, entity_picture: str | None = None) -> str: ...
|
@@ -77,6 +77,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
77
77
|
class CoverEntityDescription(EntityDescription, frozen_or_thawed=True):
|
78
78
|
device_class: CoverDeviceClass | None
|
79
79
|
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: ...
|
80
|
+
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: ...
|
80
81
|
|
81
82
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
82
83
|
|