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
@@ -7,6 +7,7 @@ __all__ = ['DOMAIN', 'DateEntity', 'DateEntityDescription']
|
|
7
7
|
|
8
8
|
class DateEntityDescription(EntityDescription, frozen_or_thawed=True):
|
9
9
|
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: ...
|
10
|
+
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: ...
|
10
11
|
|
11
12
|
class DateEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
12
13
|
entity_description: DateEntityDescription
|
@@ -7,6 +7,7 @@ __all__ = ['ATTR_DATETIME', 'DOMAIN', 'DateTimeEntity', 'DateTimeEntityDescripti
|
|
7
7
|
|
8
8
|
class DateTimeEntityDescription(EntityDescription, frozen_or_thawed=True):
|
9
9
|
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: ...
|
10
|
+
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: ...
|
10
11
|
|
11
12
|
class DateTimeEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
12
13
|
entity_description: DateTimeEntityDescription
|
@@ -4,11 +4,9 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
4
|
from homeassistant.const import Platform as Platform
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
7
|
-
from pydeako.deako import Deako
|
8
7
|
|
9
8
|
_LOGGER: logging.Logger
|
10
9
|
PLATFORMS: list[Platform]
|
11
|
-
DeakoConfigEntry = ConfigEntry[Deako]
|
12
10
|
|
13
11
|
async def async_setup_entry(hass: HomeAssistant, entry: DeakoConfigEntry) -> bool: ...
|
14
12
|
async def async_unload_entry(hass: HomeAssistant, entry: DeakoConfigEntry) -> bool: ...
|
@@ -5,12 +5,7 @@ from homeassistant.core import callback as callback
|
|
5
5
|
from homeassistant.helpers.device_registry import CONNECTION_ZIGBEE as CONNECTION_ZIGBEE, DeviceInfo as DeviceInfo
|
6
6
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
7
7
|
from homeassistant.helpers.entity import Entity as Entity
|
8
|
-
from pydeconz.models.group import Group as PydeconzGroup
|
9
|
-
from pydeconz.models.light import LightBase as PydeconzLightBase
|
10
8
|
from pydeconz.models.scene import Scene as PydeconzScene
|
11
|
-
from pydeconz.models.sensor import SensorBase as PydeconzSensorBase
|
12
|
-
|
13
|
-
_DeviceType = PydeconzGroup | PydeconzLightBase | PydeconzSensorBase | PydeconzScene
|
14
9
|
|
15
10
|
class DeconzBase:
|
16
11
|
unique_id_suffix: str | None
|
@@ -16,10 +16,8 @@ from homeassistant.helpers import entity_registry as er
|
|
16
16
|
from homeassistant.helpers.typing import ConfigType as ConfigType, VolSchemaType as VolSchemaType
|
17
17
|
from homeassistant.loader import IntegrationNotFound as IntegrationNotFound
|
18
18
|
from homeassistant.requirements import RequirementsNotFound as RequirementsNotFound, async_get_integration_with_requirements as async_get_integration_with_requirements
|
19
|
-
from types import ModuleType
|
20
19
|
from typing import Any, Literal, overload
|
21
20
|
|
22
|
-
DeviceAutomationPlatformType = ModuleType | DeviceAutomationTriggerProtocol | DeviceAutomationConditionProtocol | DeviceAutomationActionProtocol
|
23
21
|
DOMAIN: str
|
24
22
|
CONFIG_SCHEMA: Incomplete
|
25
23
|
DEVICE_TRIGGER_BASE_SCHEMA: vol.Schema
|
@@ -36,6 +36,7 @@ class BaseTrackerEntity(Entity):
|
|
36
36
|
|
37
37
|
class TrackerEntityDescription(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_TRACKER_PROPERTIES_WITH_ATTR_: Incomplete
|
41
42
|
|
@@ -65,6 +66,7 @@ class TrackerEntity(BaseTrackerEntity, cached_properties=CACHED_TRACKER_PROPERTI
|
|
65
66
|
|
66
67
|
class ScannerEntityDescription(EntityDescription, frozen_or_thawed=True):
|
67
68
|
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: ...
|
69
|
+
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: ...
|
68
70
|
|
69
71
|
CACHED_SCANNER_PROPERTIES_WITH_ATTR_: Incomplete
|
70
72
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .const import CONF_MYDEVOLO as CONF_MYDEVOLO, DEFAULT_MYDEVOLO as DEFAULT_MYDEVOLO, GATEWAY_SERIAL_PATTERN as GATEWAY_SERIAL_PATTERN, PLATFORMS as PLATFORMS
|
2
|
-
from devolo_home_control_api.homecontrol import HomeControl
|
3
2
|
from devolo_home_control_api.mydevolo import Mydevolo
|
4
3
|
from homeassistant.components import zeroconf as zeroconf
|
5
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -10,8 +9,6 @@ from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
|
|
10
9
|
from types import MappingProxyType
|
11
10
|
from typing import Any
|
12
11
|
|
13
|
-
DevoloHomeControlConfigEntry = ConfigEntry[list[HomeControl]]
|
14
|
-
|
15
12
|
async def async_setup_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry) -> bool: ...
|
16
13
|
async def async_unload_entry(hass: HomeAssistant, entry: DevoloHomeControlConfigEntry) -> bool: ...
|
17
14
|
async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: ConfigEntry, device_entry: DeviceEntry) -> bool: ...
|
@@ -1,14 +1,10 @@
|
|
1
1
|
from . import DevoloHomeNetworkConfigEntry as DevoloHomeNetworkConfigEntry
|
2
2
|
from .const import DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from devolo_plc_api.device_api import ConnectedStationInfo, NeighborAPInfo, WifiGuestAccessGet
|
5
|
-
from devolo_plc_api.plcnet_api import DataRate, LogicalNetwork
|
6
4
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
7
5
|
from homeassistant.helpers.entity import Entity as Entity
|
8
6
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
|
9
7
|
|
10
|
-
_DataType = LogicalNetwork | DataRate | list[ConnectedStationInfo] | list[NeighborAPInfo] | WifiGuestAccessGet | bool | int
|
11
|
-
|
12
8
|
class DevoloEntity(Entity):
|
13
9
|
_attr_has_entity_name: bool
|
14
10
|
device: Incomplete
|
@@ -7,7 +7,6 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
|
|
7
7
|
from homeassistant.helpers.httpx_client import get_async_client as get_async_client
|
8
8
|
|
9
9
|
PLATFORMS: Incomplete
|
10
|
-
DiscovergyConfigEntry = ConfigEntry[list[DiscovergyUpdateCoordinator]]
|
11
10
|
|
12
11
|
async def async_setup_entry(hass: HomeAssistant, entry: DiscovergyConfigEntry) -> bool: ...
|
13
12
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -4,7 +4,7 @@ from .data import EventListenAddr as EventListenAddr, get_domain_data as get_dom
|
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from async_upnp_client.client import UpnpService as UpnpService, UpnpStateVariable as UpnpStateVariable
|
6
6
|
from async_upnp_client.profiles.dlna import DmrDevice
|
7
|
-
from collections.abc import Awaitable
|
7
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine, Sequence
|
8
8
|
from datetime import datetime
|
9
9
|
from homeassistant import config_entries as config_entries
|
10
10
|
from homeassistant.components import media_source as media_source, ssdp as ssdp
|
@@ -12,7 +12,6 @@ class DsmrState:
|
|
12
12
|
task: Task | None = ...
|
13
13
|
telegram: Telegram | None = ...
|
14
14
|
def __init__(self, task=..., telegram=...) -> None: ...
|
15
|
-
DsmrConfigEntry = ConfigEntry[DsmrState]
|
16
15
|
|
17
16
|
async def async_setup_entry(hass: HomeAssistant, entry: DsmrConfigEntry) -> bool: ...
|
18
17
|
async def async_unload_entry(hass: HomeAssistant, entry: DsmrConfigEntry) -> bool: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from collections.abc import Awaitable
|
3
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
4
4
|
from duotecno.unit import BaseUnit as BaseUnit
|
5
5
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
6
6
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
6
|
from sucks import VacBot as VacBot
|
7
7
|
|
8
8
|
PLATFORMS: Incomplete
|
9
|
-
EcovacsConfigEntry = ConfigEntry[EcovacsController]
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, entry: EcovacsConfigEntry) -> bool: ...
|
12
11
|
async def async_unload_entry(hass: HomeAssistant, entry: EcovacsConfigEntry) -> bool: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from aioecowitt import EcoWittListener
|
3
2
|
from aiohttp import web as web
|
4
3
|
from homeassistant.components import webhook as webhook
|
5
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -7,7 +6,6 @@ from homeassistant.const import CONF_WEBHOOK_ID as CONF_WEBHOOK_ID, EVENT_HOMEAS
|
|
7
6
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
8
7
|
|
9
8
|
PLATFORMS: list[Platform]
|
10
|
-
EcowittConfigEntry = ConfigEntry[EcoWittListener]
|
11
9
|
|
12
10
|
async def async_setup_entry(hass: HomeAssistant, entry: EcowittConfigEntry) -> bool: ...
|
13
11
|
async def async_unload_entry(hass: HomeAssistant, entry: EcowittConfigEntry) -> bool: ...
|
@@ -4,10 +4,8 @@ from homeassistant.const import CONF_API_KEY as CONF_API_KEY, Platform as Platfo
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
6
6
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
|
-
from pyefergy import Efergy
|
8
7
|
|
9
8
|
PLATFORMS: Incomplete
|
10
|
-
EfergyConfigEntry = ConfigEntry[Efergy]
|
11
9
|
|
12
10
|
async def async_setup_entry(hass: HomeAssistant, entry: EfergyConfigEntry) -> bool: ...
|
13
11
|
async def async_unload_entry(hass: HomeAssistant, entry: EfergyConfigEntry) -> bool: ...
|
@@ -17,7 +17,6 @@ class ElevenLabsData:
|
|
17
17
|
client: AsyncElevenLabs
|
18
18
|
model: Model
|
19
19
|
def __init__(self, *, client, model) -> None: ...
|
20
|
-
EleventLabsConfigEntry = ConfigEntry[ElevenLabsData]
|
21
20
|
|
22
21
|
async def async_setup_entry(hass: HomeAssistant, entry: EleventLabsConfigEntry) -> bool: ...
|
23
22
|
async def async_unload_entry(hass: HomeAssistant, entry: EleventLabsConfigEntry) -> bool: ...
|
@@ -5,7 +5,6 @@ from homeassistant.const import Platform as Platform
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
|
7
7
|
PLATFORMS: Incomplete
|
8
|
-
ElgatorConfigEntry = ConfigEntry[ElgatoDataUpdateCoordinator]
|
9
8
|
|
10
9
|
async def async_setup_entry(hass: HomeAssistant, entry: ElgatorConfigEntry) -> bool: ...
|
11
10
|
async def async_unload_entry(hass: HomeAssistant, entry: ElgatorConfigEntry) -> bool: ...
|
@@ -12,7 +12,6 @@ from homeassistant.helpers.event import async_track_time_interval as async_track
|
|
12
12
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
13
13
|
from homeassistant.util.network import is_ip_address as is_ip_address
|
14
14
|
|
15
|
-
ElkM1ConfigEntry = ConfigEntry[ELKM1Data]
|
16
15
|
SYNC_TIMEOUT: int
|
17
16
|
_LOGGER: Incomplete
|
18
17
|
PLATFORMS: Incomplete
|
@@ -51,7 +51,6 @@ class WaterSourceType(TypedDict):
|
|
51
51
|
stat_cost: str | None
|
52
52
|
entity_energy_price: str | None
|
53
53
|
number_energy_price: float | None
|
54
|
-
SourceType = GridSourceType | SolarSourceType | BatterySourceType | GasSourceType | WaterSourceType
|
55
54
|
|
56
55
|
class DeviceConsumption(TypedDict):
|
57
56
|
stat_consumption: str
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from collections.abc import Awaitable, Callable
|
2
1
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
3
2
|
from typing import Protocol, TypedDict
|
4
3
|
|
5
4
|
class SolarForecastType(TypedDict):
|
6
5
|
wh_hours: dict[str, float | int]
|
7
|
-
GetSolarForecastType = Callable[[HomeAssistant, str], Awaitable[SolarForecastType | None]]
|
8
6
|
|
9
7
|
class EnergyPlatform(Protocol):
|
10
8
|
@staticmethod
|
@@ -2,7 +2,6 @@ from .const import DOMAIN as DOMAIN
|
|
2
2
|
from .data import DEVICE_CONSUMPTION_SCHEMA as DEVICE_CONSUMPTION_SCHEMA, ENERGY_SOURCE_SCHEMA as ENERGY_SOURCE_SCHEMA, EnergyManager as EnergyManager, EnergyPreferencesUpdate as EnergyPreferencesUpdate, async_get_manager as async_get_manager
|
3
3
|
from .types import EnergyPlatform as EnergyPlatform, GetSolarForecastType as GetSolarForecastType, SolarForecastType as SolarForecastType
|
4
4
|
from .validate import async_validate as async_validate
|
5
|
-
from collections.abc import Callable, Coroutine
|
6
5
|
from homeassistant.components import recorder as recorder, websocket_api as websocket_api
|
7
6
|
from homeassistant.components.recorder.statistics import StatisticsRow as StatisticsRow
|
8
7
|
from homeassistant.const import UnitOfEnergy as UnitOfEnergy
|
@@ -11,9 +10,6 @@ from homeassistant.helpers.integration_platform import async_process_integration
|
|
11
10
|
from homeassistant.helpers.singleton import singleton as singleton
|
12
11
|
from typing import Any
|
13
12
|
|
14
|
-
EnergyWebSocketCommandHandler = Callable[[HomeAssistant, websocket_api.ActiveConnection, dict[str, Any], EnergyManager], None]
|
15
|
-
AsyncEnergyWebSocketCommandHandler = Callable[[HomeAssistant, websocket_api.ActiveConnection, dict[str, Any], EnergyManager], Coroutine[Any, Any, None]]
|
16
|
-
|
17
13
|
def async_setup(hass: HomeAssistant) -> None: ...
|
18
14
|
async def async_get_energy_platforms(hass: HomeAssistant) -> dict[str, GetSolarForecastType]: ...
|
19
15
|
def _ws_with_manager(func: AsyncEnergyWebSocketCommandHandler | EnergyWebSocketCommandHandler) -> websocket_api.AsyncWebSocketCommandHandler: ...
|
@@ -4,7 +4,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
4
|
from homeassistant.const import Platform as Platform
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
|
7
|
-
Enigma2ConfigEntry = ConfigEntry[Enigma2UpdateCoordinator]
|
8
7
|
PLATFORMS: Incomplete
|
9
8
|
|
10
9
|
async def async_setup_entry(hass: HomeAssistant, entry: Enigma2ConfigEntry) -> bool: ...
|
@@ -15,7 +15,6 @@ TOKEN_REFRESH_CHECK_INTERVAL: Incomplete
|
|
15
15
|
STALE_TOKEN_THRESHOLD: Incomplete
|
16
16
|
NOTIFICATION_ID: str
|
17
17
|
_LOGGER: Incomplete
|
18
|
-
EnphaseConfigEntry = ConfigEntry[EnphaseUpdateCoordinator]
|
19
18
|
|
20
19
|
class EnphaseUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
21
20
|
envoy_serial_number: str
|
@@ -2,7 +2,7 @@ from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry, RuntimeEntryDa
|
|
2
2
|
from .enum_mapper import EsphomeEnumMapper as EsphomeEnumMapper
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aioesphomeapi import EntityCategory as EsphomeEntityCategory, EntityInfo, EntityState
|
5
|
-
from collections.abc import Awaitable
|
5
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
6
6
|
from homeassistant.const import EntityCategory as EntityCategory
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
8
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
@@ -13,7 +13,6 @@ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as
|
|
13
13
|
from homeassistant.helpers.storage import Store as Store
|
14
14
|
from typing import Any, Final, TypedDict
|
15
15
|
|
16
|
-
ESPHomeConfigEntry = ConfigEntry[RuntimeEntryData]
|
17
16
|
INFO_TO_COMPONENT_TYPE: Final[Incomplete]
|
18
17
|
_SENTINEL: Incomplete
|
19
18
|
SAVE_DELAY: int
|
@@ -22,6 +22,7 @@ class EventEntityDescription(EntityDescription, frozen_or_thawed=True):
|
|
22
22
|
device_class: EventDeviceClass | None
|
23
23
|
event_types: list[str] | None
|
24
24
|
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=..., event_types=...) -> None: ...
|
25
|
+
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=..., event_types=...) -> None: ...
|
25
26
|
|
26
27
|
@dataclass
|
27
28
|
class EventExtraStoredData(ExtraStoredData):
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from .entity import EvilGeniusEntity as EvilGeniusEntity
|
2
|
-
from collections.abc import Awaitable
|
2
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
3
3
|
from typing import Any, Concatenate
|
4
4
|
|
5
5
|
def update_when_done(func: Callable[Concatenate[_EvilGeniusEntityT, _P], Awaitable[_R]]) -> Callable[Concatenate[_EvilGeniusEntityT, _P], Coroutine[Any, Any, _R]]: ...
|
@@ -61,6 +61,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
61
61
|
|
62
62
|
class FanEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
|
63
63
|
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: ...
|
64
|
+
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: ...
|
64
65
|
|
65
66
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
66
67
|
|
@@ -8,7 +8,6 @@ from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity,
|
|
8
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
9
9
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
10
10
|
|
11
|
-
FeedReaderConfigEntry = ConfigEntry[FeedReaderCoordinator]
|
12
11
|
CONF_URLS: str
|
13
12
|
MY_KEY: HassKey[StoredData]
|
14
13
|
CONFIG_SCHEMA: Incomplete
|
@@ -4,7 +4,5 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
4
|
from homeassistant.const import CONF_FILE_PATH as CONF_FILE_PATH
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
|
7
|
-
FileSizeConfigEntry = ConfigEntry[FileSizeCoordinator]
|
8
|
-
|
9
7
|
async def async_setup_entry(hass: HomeAssistant, entry: FileSizeConfigEntry) -> bool: ...
|
10
8
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -6,7 +6,6 @@ from homeassistant.const import Platform as Platform
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
|
8
8
|
PLATFORMS: Incomplete
|
9
|
-
ForecastSolarConfigEntry = ConfigEntry[ForecastSolarDataUpdateCoordinator]
|
10
9
|
|
11
10
|
async def async_migrate_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
12
11
|
async def async_setup_entry(hass: HomeAssistant, entry: ForecastSolarConfigEntry) -> bool: ...
|
@@ -9,8 +9,6 @@ from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as Da
|
|
9
9
|
from pyfritzhome import Fritzhome, FritzhomeDevice as FritzhomeDevice
|
10
10
|
from pyfritzhome.devicetypes import FritzhomeTemplate as FritzhomeTemplate
|
11
11
|
|
12
|
-
FritzboxConfigEntry = ConfigEntry[FritzboxDataUpdateCoordinator]
|
13
|
-
|
14
12
|
@dataclass
|
15
13
|
class FritzboxCoordinatorData:
|
16
14
|
devices: dict[str, FritzhomeDevice]
|
@@ -7,7 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
7
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
8
8
|
|
9
9
|
_LOGGER: Incomplete
|
10
|
-
FritzBoxCallMonitorConfigEntry = ConfigEntry[FritzBoxPhonebook]
|
11
10
|
|
12
11
|
async def async_setup_entry(hass: HomeAssistant, config_entry: FritzBoxCallMonitorConfigEntry) -> bool: ...
|
13
12
|
async def async_unload_entry(hass: HomeAssistant, config_entry: FritzBoxCallMonitorConfigEntry) -> bool: ...
|
@@ -16,7 +16,6 @@ from typing import Final
|
|
16
16
|
|
17
17
|
_LOGGER: Final[Incomplete]
|
18
18
|
PLATFORMS: Final[Incomplete]
|
19
|
-
FroniusConfigEntry = ConfigEntry[FroniusSolarNet]
|
20
19
|
|
21
20
|
async def async_setup_entry(hass: HomeAssistant, entry: FroniusConfigEntry) -> bool: ...
|
22
21
|
async def async_unload_entry(hass: HomeAssistant, entry: FroniusConfigEntry) -> bool: ...
|
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
6
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
7
7
|
|
8
8
|
PLATFORMS: list[Platform]
|
9
|
-
FGLairConfigEntry = ConfigEntry[FGLairCoordinator]
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, entry: FGLairConfigEntry) -> bool: ...
|
12
11
|
async def async_unload_entry(hass: HomeAssistant, entry: FGLairConfigEntry) -> bool: ...
|
@@ -8,7 +8,6 @@ from homeassistant.util.dt import async_get_time_zone as async_get_time_zone
|
|
8
8
|
|
9
9
|
_LOGGER: Incomplete
|
10
10
|
PLATFORMS: Incomplete
|
11
|
-
FytaConfigEntry = ConfigEntry[FytaCoordinator]
|
12
11
|
|
13
12
|
async def async_setup_entry(hass: HomeAssistant, entry: FytaConfigEntry) -> bool: ...
|
14
13
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
@@ -12,7 +12,6 @@ from typing import Any
|
|
12
12
|
|
13
13
|
PLATFORMS: Incomplete
|
14
14
|
_LOGGER: Incomplete
|
15
|
-
GlancesConfigEntry = ConfigEntry[GlancesDataUpdateCoordinator]
|
16
15
|
|
17
16
|
async def async_setup_entry(hass: HomeAssistant, config_entry: GlancesConfigEntry) -> bool: ...
|
18
17
|
async def async_unload_entry(hass: HomeAssistant, entry: GlancesConfigEntry) -> bool: ...
|
@@ -5,8 +5,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
6
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
7
7
|
|
8
|
-
GoalZeroConfigEntry = ConfigEntry[GoalZeroDataUpdateCoordinator]
|
9
|
-
|
10
8
|
class GoalZeroDataUpdateCoordinator(DataUpdateCoordinator[None]):
|
11
9
|
config_entry: GoalZeroConfigEntry
|
12
10
|
api: Incomplete
|
@@ -7,7 +7,6 @@ from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFai
|
|
7
7
|
from homeassistant.helpers.config_entry_oauth2_flow import OAuth2Session as OAuth2Session, async_get_config_entry_implementation as async_get_config_entry_implementation
|
8
8
|
from homeassistant.helpers.selector import ConfigEntrySelector as ConfigEntrySelector
|
9
9
|
|
10
|
-
GoogleSheetsConfigEntry = ConfigEntry[OAuth2Session]
|
11
10
|
DATA: str
|
12
11
|
DATA_CONFIG_ENTRY: str
|
13
12
|
WORKSHEET: str
|
@@ -1,10 +1,8 @@
|
|
1
|
-
from gps3.agps3threaded import AGPS3mechanism
|
2
1
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
3
2
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PORT as CONF_PORT, Platform as Platform
|
4
3
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
4
|
|
6
5
|
PLATFORMS: list[Platform]
|
7
|
-
GPSDConfigEntry = ConfigEntry[AGPS3mechanism]
|
8
6
|
|
9
7
|
async def async_setup_entry(hass: HomeAssistant, entry: GPSDConfigEntry) -> bool: ...
|
10
8
|
async def async_unload_entry(hass: HomeAssistant, entry: GPSDConfigEntry) -> bool: ...
|
@@ -14,8 +14,6 @@ COUNTER_ICON: str
|
|
14
14
|
|
15
15
|
async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
16
16
|
|
17
|
-
UnderlyingSensorType: Incomplete
|
18
|
-
|
19
17
|
class GEMSensor(SensorEntity):
|
20
18
|
_attr_should_poll: bool
|
21
19
|
_monitor: Incomplete
|
@@ -7,8 +7,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
7
|
from homeassistant.helpers.device import async_remove_stale_devices_links_keep_entity_device as async_remove_stale_devices_links_keep_entity_device
|
8
8
|
from homeassistant.helpers.template import Template as Template
|
9
9
|
|
10
|
-
HistoryStatsConfigEntry = ConfigEntry[HistoryStatsUpdateCoordinator]
|
11
|
-
|
12
10
|
async def async_setup_entry(hass: HomeAssistant, entry: HistoryStatsConfigEntry) -> bool: ...
|
13
11
|
async def async_unload_entry(hass: HomeAssistant, entry: HistoryStatsConfigEntry) -> bool: ...
|
14
12
|
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
@@ -5,8 +5,6 @@ from homeassistant.components import bluetooth as bluetooth, zeroconf as zerocon
|
|
5
5
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
|
6
6
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant
|
7
7
|
|
8
|
-
IidTuple = tuple[int, int | None, int | None]
|
9
|
-
|
10
8
|
def unique_id_to_iids(unique_id: str) -> IidTuple | None: ...
|
11
9
|
def folded_name(name: str) -> str: ...
|
12
10
|
async def async_get_controller(hass: HomeAssistant) -> Controller: ...
|
@@ -4,7 +4,5 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry, SOURCE_REAU
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
6
6
|
|
7
|
-
HomeWizardConfigEntry = ConfigEntry[HWEnergyDeviceUpdateCoordinator]
|
8
|
-
|
9
7
|
async def async_setup_entry(hass: HomeAssistant, entry: HomeWizardConfigEntry) -> bool: ...
|
10
8
|
async def async_unload_entry(hass: HomeAssistant, entry: HomeWizardConfigEntry) -> bool: ...
|
@@ -2,7 +2,7 @@ import voluptuous as vol
|
|
2
2
|
from .view import HomeAssistantView as HomeAssistantView
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from aiohttp import web as web
|
5
|
-
from collections.abc import Awaitable
|
5
|
+
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
6
6
|
from homeassistant.helpers.typing import VolDictType as VolDictType
|
7
7
|
from typing import Any, Concatenate
|
8
8
|
|
@@ -1,14 +1,9 @@
|
|
1
1
|
from .view import HomeAssistantView as HomeAssistantView
|
2
|
-
from _typeshed import Incomplete
|
3
|
-
from aiohttp.web import Response, StreamResponse
|
4
2
|
from collections.abc import Callable
|
5
3
|
from homeassistant.auth.models import User as User
|
6
4
|
from homeassistant.exceptions import Unauthorized as Unauthorized
|
7
5
|
from typing import overload
|
8
6
|
|
9
|
-
_ResponseType = Response | StreamResponse
|
10
|
-
_FuncType: Incomplete
|
11
|
-
|
12
7
|
@overload
|
13
8
|
def require_admin(_func: None = None, *, error: Unauthorized | None = None) -> Callable[[_FuncType[_HomeAssistantViewT, _P, _ResponseT]], _FuncType[_HomeAssistantViewT, _P, _ResponseT]]: ...
|
14
9
|
@overload
|
@@ -12,7 +12,6 @@ from typing import Any
|
|
12
12
|
|
13
13
|
_LOGGER: Incomplete
|
14
14
|
_DEVICE_SCAN: Incomplete
|
15
|
-
_HostType = dict[str, Any]
|
16
15
|
|
17
16
|
def _get_hosts(router: Router, ignore_subscriptions: bool = False) -> list[_HostType] | None: ...
|
18
17
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
@@ -36,6 +36,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
36
36
|
class HumidifierEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
|
37
37
|
device_class: HumidifierDeviceClass | None
|
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
|
|
@@ -10,7 +10,6 @@ from homeassistant.helpers import aiohttp_client as aiohttp_client, config_entry
|
|
10
10
|
|
11
11
|
_LOGGER: Incomplete
|
12
12
|
PLATFORMS: list[Platform]
|
13
|
-
AutomowerConfigEntry = ConfigEntry[AutomowerDataUpdateCoordinator]
|
14
13
|
|
15
14
|
async def async_setup_entry(hass: HomeAssistant, entry: AutomowerConfigEntry) -> bool: ...
|
16
15
|
async def async_unload_entry(hass: HomeAssistant, entry: AutomowerConfigEntry) -> bool: ...
|
@@ -4,8 +4,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
5
5
|
from homeassistant.helpers.device_registry import DeviceEntry as DeviceEntry
|
6
6
|
|
7
|
-
IBeaconConfigEntry = ConfigEntry[IBeaconCoordinator]
|
8
|
-
|
9
7
|
async def async_setup_entry(hass: HomeAssistant, entry: IBeaconConfigEntry) -> bool: ...
|
10
8
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
11
9
|
async def async_remove_config_entry_device(hass: HomeAssistant, config_entry: IBeaconConfigEntry, device_entry: DeviceEntry) -> bool: ...
|
@@ -33,6 +33,7 @@ LAST_FRAME_MARKER: Incomplete
|
|
33
33
|
|
34
34
|
class ImageEntityDescription(EntityDescription, frozen_or_thawed=True):
|
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
|
@dataclass
|
38
39
|
class Image:
|
@@ -51,6 +51,7 @@ class ImageProcessingEntityDescription(EntityDescription, frozen_or_thawed=True)
|
|
51
51
|
camera_entity: str | None
|
52
52
|
confidence: float | None
|
53
53
|
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=..., camera_entity=..., confidence=...) -> None: ...
|
54
|
+
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=..., camera_entity=..., confidence=...) -> None: ...
|
54
55
|
|
55
56
|
class ImageProcessingEntity(Entity):
|
56
57
|
entity_description: ImageProcessingEntityDescription
|