homeassistant-stubs 2025.1.0b8__py3-none-any.whl → 2025.1.1__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 +2 -2
- homeassistant-stubs/auth/auth_store.pyi +4 -4
- homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
- homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
- homeassistant-stubs/auth/models.pyi +3 -0
- homeassistant-stubs/auth/providers/__init__.pyi +4 -4
- homeassistant-stubs/auth/providers/command_line.pyi +1 -1
- homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
- homeassistant-stubs/bootstrap.pyi +2 -1
- homeassistant-stubs/components/abode/camera.pyi +2 -1
- homeassistant-stubs/components/abode/config_flow.pyi +3 -3
- homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
- homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
- homeassistant-stubs/components/acmeda/hub.pyi +4 -3
- homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
- homeassistant-stubs/components/aftership/sensor.pyi +2 -2
- homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
- homeassistant-stubs/components/airgradient/update.pyi +2 -0
- homeassistant-stubs/components/airq/sensor.pyi +1 -1
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
- homeassistant-stubs/components/alert/entity.pyi +1 -1
- homeassistant-stubs/components/alexa/auth.pyi +3 -2
- homeassistant-stubs/components/alexa/config.pyi +3 -3
- homeassistant-stubs/components/alexa/intent.pyi +5 -5
- homeassistant-stubs/components/alexa/resources.pyi +5 -5
- homeassistant-stubs/components/alexa/state_report.pyi +6 -6
- homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
- homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
- homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
- homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/amcrest/camera.pyi +9 -8
- homeassistant-stubs/components/analytics/analytics.pyi +1 -1
- homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
- homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
- homeassistant-stubs/components/anova/coordinator.pyi +1 -1
- homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
- homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
- homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
- homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
- homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
- homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
- homeassistant-stubs/components/asuswrt/router.pyi +8 -8
- homeassistant-stubs/components/auth/indieauth.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +15 -1
- homeassistant-stubs/components/automation/trace.pyi +1 -2
- homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
- homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
- homeassistant-stubs/components/backup/agent.pyi +2 -0
- homeassistant-stubs/components/backup/backup.pyi +1 -1
- homeassistant-stubs/components/backup/manager.pyi +11 -11
- homeassistant-stubs/components/backup/store.pyi +1 -1
- homeassistant-stubs/components/baf/config_flow.pyi +1 -1
- homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
- homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
- homeassistant-stubs/components/blueprint/models.pyi +1 -1
- homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
- homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
- homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
- homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
- homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
- homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
- homeassistant-stubs/components/bluetooth/match.pyi +13 -11
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
- homeassistant-stubs/components/bond/config_flow.pyi +1 -1
- homeassistant-stubs/components/bond/entity.pyi +1 -1
- homeassistant-stubs/components/bond/fan.pyi +3 -3
- homeassistant-stubs/components/bond/utils.pyi +5 -5
- homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
- homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
- homeassistant-stubs/components/brother/config_flow.pyi +3 -2
- homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
- homeassistant-stubs/components/button/__init__.pyi +4 -2
- homeassistant-stubs/components/calendar/__init__.pyi +0 -1
- homeassistant-stubs/components/calendar/trigger.pyi +3 -3
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +24 -9
- homeassistant-stubs/components/camera/prefs.pyi +1 -1
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
- homeassistant-stubs/components/canary/camera.pyi +3 -3
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
- homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
- homeassistant-stubs/components/clickatell/notify.pyi +2 -2
- homeassistant-stubs/components/clicksend/notify.pyi +4 -4
- homeassistant-stubs/components/climate/__init__.pyi +26 -1
- homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
- homeassistant-stubs/components/cloud/backup.pyi +1 -0
- homeassistant-stubs/components/cloud/client.pyi +4 -4
- homeassistant-stubs/components/cloud/prefs.pyi +2 -2
- homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/command_line/cover.pyi +3 -2
- homeassistant-stubs/components/command_line/sensor.pyi +4 -3
- homeassistant-stubs/components/command_line/switch.pyi +2 -1
- homeassistant-stubs/components/configurator/__init__.pyi +1 -1
- homeassistant-stubs/components/counter/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +8 -2
- homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
- homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
- homeassistant-stubs/components/date/__init__.pyi +4 -1
- homeassistant-stubs/components/datetime/__init__.pyi +4 -1
- homeassistant-stubs/components/deconz/button.pyi +1 -1
- homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
- homeassistant-stubs/components/deconz/entity.pyi +1 -1
- homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
- homeassistant-stubs/components/deconz/light.pyi +2 -2
- homeassistant-stubs/components/demo/cover.pyi +4 -4
- homeassistant-stubs/components/demo/fan.pyi +4 -4
- homeassistant-stubs/components/demo/geo_location.pyi +1 -1
- homeassistant-stubs/components/demo/media_player.pyi +2 -2
- homeassistant-stubs/components/demo/remote.pyi +1 -1
- homeassistant-stubs/components/demo/vacuum.pyi +1 -1
- homeassistant-stubs/components/derivative/sensor.pyi +3 -2
- homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
- homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
- homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
- homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
- homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
- homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
- homeassistant-stubs/components/doorbird/camera.pyi +1 -1
- homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
- homeassistant-stubs/components/doorbird/device.pyi +9 -3
- homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
- homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
- homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
- homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
- homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
- homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
- homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
- homeassistant-stubs/components/elkm1/entity.pyi +1 -1
- homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
- homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
- homeassistant-stubs/components/energy/data.pyi +2 -2
- homeassistant-stubs/components/energy/sensor.pyi +3 -3
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
- homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
- homeassistant-stubs/components/esphome/camera.pyi +2 -1
- homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
- homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
- homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
- homeassistant-stubs/components/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
- homeassistant-stubs/components/esphome/manager.pyi +3 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +5 -3
- homeassistant-stubs/components/evohome/__init__.pyi +7 -5
- homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
- homeassistant-stubs/components/evohome/entity.pyi +3 -3
- homeassistant-stubs/components/fan/__init__.pyi +8 -1
- homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
- homeassistant-stubs/components/filter/sensor.pyi +7 -6
- homeassistant-stubs/components/fitbit/api.pyi +1 -1
- homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
- homeassistant-stubs/components/flux_led/entity.pyi +2 -2
- homeassistant-stubs/components/flux_led/number.pyi +4 -2
- homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
- homeassistant-stubs/components/fritz/entity.pyi +3 -4
- homeassistant-stubs/components/fritz/image.pyi +1 -1
- homeassistant-stubs/components/fritz/switch.pyi +1 -1
- homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
- homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
- homeassistant-stubs/components/fritzbox/light.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
- homeassistant-stubs/components/fronius/__init__.pyi +8 -8
- homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
- homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
- homeassistant-stubs/components/frontend/__init__.pyi +4 -1
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
- homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
- homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
- homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
- homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
- homeassistant-stubs/components/glances/coordinator.pyi +1 -1
- homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
- homeassistant-stubs/components/go2rtc/server.pyi +5 -4
- homeassistant-stubs/components/google/api.pyi +5 -5
- homeassistant-stubs/components/google/calendar.pyi +1 -1
- homeassistant-stubs/components/google/config_flow.pyi +1 -1
- homeassistant-stubs/components/google/coordinator.pyi +1 -1
- homeassistant-stubs/components/google/store.pyi +1 -1
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
- homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
- homeassistant-stubs/components/group/cover.pyi +2 -2
- homeassistant-stubs/components/group/entity.pyi +5 -5
- homeassistant-stubs/components/group/fan.pyi +2 -2
- homeassistant-stubs/components/group/media_player.pyi +1 -1
- homeassistant-stubs/components/group/registry.pyi +4 -4
- homeassistant-stubs/components/group/sensor.pyi +4 -4
- homeassistant-stubs/components/guardian/__init__.pyi +2 -2
- homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
- homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
- homeassistant-stubs/components/history_stats/data.pyi +2 -2
- homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
- homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
- homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
- homeassistant-stubs/components/homekit/__init__.pyi +7 -6
- homeassistant-stubs/components/homekit/accessories.pyi +2 -2
- homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
- homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
- homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
- homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
- homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
- homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
- homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
- homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
- homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
- homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
- homeassistant-stubs/components/http/__init__.pyi +3 -3
- homeassistant-stubs/components/http/ban.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
- homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
- homeassistant-stubs/components/hyperion/camera.pyi +1 -1
- homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
- homeassistant-stubs/components/hyperion/light.pyi +6 -6
- homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
- homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
- homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
- homeassistant-stubs/components/image/__init__.pyi +6 -2
- homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
- homeassistant-stubs/components/imap/coordinator.pyi +8 -7
- homeassistant-stubs/components/integration/sensor.pyi +7 -7
- homeassistant-stubs/components/intent/timers.pyi +6 -3
- homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
- homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
- homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
- homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/isy994/button.pyi +1 -1
- homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
- homeassistant-stubs/components/isy994/entity.pyi +5 -5
- homeassistant-stubs/components/isy994/light.pyi +1 -1
- homeassistant-stubs/components/isy994/number.pyi +2 -2
- homeassistant-stubs/components/isy994/select.pyi +1 -1
- homeassistant-stubs/components/isy994/sensor.pyi +2 -2
- homeassistant-stubs/components/isy994/switch.pyi +1 -1
- homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
- homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
- homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
- homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
- homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
- homeassistant-stubs/components/knx/__init__.pyi +7 -6
- homeassistant-stubs/components/knx/climate.pyi +3 -3
- homeassistant-stubs/components/knx/config_flow.pyi +10 -9
- homeassistant-stubs/components/knx/cover.pyi +1 -1
- homeassistant-stubs/components/knx/device.pyi +1 -1
- homeassistant-stubs/components/knx/expose.pyi +7 -6
- homeassistant-stubs/components/knx/fan.pyi +1 -1
- homeassistant-stubs/components/knx/light.pyi +6 -4
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
- homeassistant-stubs/components/knx/telegrams.pyi +3 -2
- homeassistant-stubs/components/kraken/__init__.pyi +2 -2
- homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
- homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
- homeassistant-stubs/components/lcn/entity.pyi +3 -3
- homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
- homeassistant-stubs/components/lifx/__init__.pyi +1 -1
- homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
- homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
- homeassistant-stubs/components/lifx/light.pyi +3 -2
- homeassistant-stubs/components/lifx/manager.pyi +1 -1
- homeassistant-stubs/components/light/__init__.pyi +19 -2
- homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
- homeassistant-stubs/components/lock/__init__.pyi +10 -1
- homeassistant-stubs/components/logbook/models.pyi +7 -0
- homeassistant-stubs/components/logbook/processor.pyi +3 -3
- homeassistant-stubs/components/logger/helpers.pyi +1 -1
- homeassistant-stubs/components/lookin/__init__.pyi +2 -2
- homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
- homeassistant-stubs/components/lookin/entity.pyi +2 -2
- homeassistant-stubs/components/lookin/media_player.pyi +1 -1
- homeassistant-stubs/components/madvr/sensor.pyi +1 -1
- homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
- homeassistant-stubs/components/matrix/__init__.pyi +4 -4
- homeassistant-stubs/components/matter/adapter.pyi +2 -2
- homeassistant-stubs/components/matter/climate.pyi +1 -1
- homeassistant-stubs/components/matter/config_flow.pyi +4 -3
- homeassistant-stubs/components/matter/entity.pyi +4 -2
- homeassistant-stubs/components/media_player/__init__.pyi +37 -3
- homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
- homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
- homeassistant-stubs/components/mikrotik/device.pyi +3 -3
- homeassistant-stubs/components/min_max/sensor.pyi +11 -11
- homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/climate.pyi +4 -4
- homeassistant-stubs/components/modbus/entity.pyi +5 -5
- homeassistant-stubs/components/modbus/modbus.pyi +4 -3
- homeassistant-stubs/components/modbus/sensor.pyi +1 -1
- homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
- homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
- homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
- homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
- homeassistant-stubs/components/motionmount/select.pyi +1 -1
- homeassistant-stubs/components/mqtt/client.pyi +13 -12
- homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
- homeassistant-stubs/components/mqtt/entity.pyi +10 -10
- homeassistant-stubs/components/mqtt/models.pyi +3 -3
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/util.pyi +2 -2
- homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
- homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
- homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
- homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
- homeassistant-stubs/components/mysensors/entity.pyi +7 -7
- homeassistant-stubs/components/mysensors/light.pyi +1 -1
- homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
- homeassistant-stubs/components/neato/camera.pyi +4 -4
- homeassistant-stubs/components/neato/entity.pyi +1 -1
- homeassistant-stubs/components/neato/hub.pyi +1 -1
- homeassistant-stubs/components/neato/sensor.pyi +3 -2
- homeassistant-stubs/components/neato/switch.pyi +2 -2
- homeassistant-stubs/components/neato/vacuum.pyi +18 -18
- homeassistant-stubs/components/nest/camera.pyi +4 -4
- homeassistant-stubs/components/nest/config_flow.pyi +5 -5
- homeassistant-stubs/components/nest/media_source.pyi +2 -2
- homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
- homeassistant-stubs/components/netatmo/entity.pyi +2 -1
- homeassistant-stubs/components/network/network.pyi +2 -2
- homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
- homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
- homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
- homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
- homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
- homeassistant-stubs/components/notify/__init__.pyi +2 -1
- homeassistant-stubs/components/number/__init__.pyi +18 -11
- homeassistant-stubs/components/nut/__init__.pyi +3 -3
- homeassistant-stubs/components/nut/config_flow.pyi +4 -4
- homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
- homeassistant-stubs/components/onewire/entity.pyi +2 -2
- homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
- homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
- homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
- homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
- homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
- homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
- homeassistant-stubs/components/overkiz/light.pyi +1 -1
- homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
- homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
- homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
- homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
- homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
- homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
- homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
- homeassistant-stubs/components/pushbullet/api.pyi +1 -1
- homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
- homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
- homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
- homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
- homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
- homeassistant-stubs/components/recorder/core.pyi +26 -22
- homeassistant-stubs/components/recorder/executor.pyi +1 -1
- homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
- homeassistant-stubs/components/recorder/models/state.pyi +12 -2
- homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
- homeassistant-stubs/components/remote/__init__.pyi +4 -1
- homeassistant-stubs/components/renault/config_flow.pyi +1 -1
- homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
- homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
- homeassistant-stubs/components/reolink/__init__.pyi +1 -0
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/media_source.pyi +2 -3
- homeassistant-stubs/components/reolink/update.pyi +3 -3
- homeassistant-stubs/components/reolink/util.pyi +2 -0
- homeassistant-stubs/components/reolink/views.pyi +21 -0
- homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rest/data.pyi +4 -4
- homeassistant-stubs/components/rest/switch.pyi +10 -10
- homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
- homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
- homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
- homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
- homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
- homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/ring/camera.pyi +4 -4
- homeassistant-stubs/components/ring/coordinator.pyi +5 -5
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
- homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
- homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
- homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
- homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
- homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
- homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
- homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
- homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
- homeassistant-stubs/components/script/__init__.pyi +16 -0
- homeassistant-stubs/components/search/__init__.pyi +2 -1
- homeassistant-stubs/components/select/__init__.pyi +4 -2
- homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/sensor/__init__.pyi +17 -9
- homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
- homeassistant-stubs/components/shelly/climate.pyi +8 -7
- homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
- homeassistant-stubs/components/shelly/cover.pyi +1 -1
- homeassistant-stubs/components/shelly/entity.pyi +6 -6
- homeassistant-stubs/components/shelly/light.pyi +1 -1
- homeassistant-stubs/components/shelly/number.pyi +1 -1
- homeassistant-stubs/components/shelly/sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/switch.pyi +2 -2
- homeassistant-stubs/components/shelly/update.pyi +2 -2
- homeassistant-stubs/components/shelly/valve.pyi +1 -1
- homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
- homeassistant-stubs/components/simplepush/notify.pyi +4 -4
- homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
- homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
- homeassistant-stubs/components/siren/__init__.pyi +4 -2
- homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
- homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
- homeassistant-stubs/components/smlight/sensor.pyi +1 -1
- homeassistant-stubs/components/smlight/update.pyi +2 -2
- homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
- homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
- homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
- homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
- homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
- homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
- homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
- homeassistant-stubs/components/statistics/sensor.pyi +15 -15
- homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
- homeassistant-stubs/components/stream/__init__.pyi +5 -4
- homeassistant-stubs/components/stream/core.pyi +7 -6
- homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
- homeassistant-stubs/components/stream/recorder.pyi +1 -1
- homeassistant-stubs/components/stream/worker.pyi +6 -4
- homeassistant-stubs/components/sun/entity.pyi +4 -4
- homeassistant-stubs/components/switch/__init__.pyi +3 -2
- homeassistant-stubs/components/switchbee/climate.pyi +1 -1
- homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
- homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
- homeassistant-stubs/components/system_log/__init__.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
- homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
- homeassistant-stubs/components/tag/__init__.pyi +1 -1
- homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
- homeassistant-stubs/components/tcp/entity.pyi +4 -3
- homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
- homeassistant-stubs/components/text/__init__.pyi +10 -5
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tibber/sensor.pyi +5 -4
- homeassistant-stubs/components/tile/config_flow.pyi +2 -2
- homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/time/__init__.pyi +4 -1
- homeassistant-stubs/components/timer/__init__.pyi +7 -7
- homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/todo/__init__.pyi +2 -0
- homeassistant-stubs/components/tplink/camera.pyi +2 -2
- homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink/siren.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
- homeassistant-stubs/components/trace/models.pyi +10 -9
- homeassistant-stubs/components/tractive/__init__.pyi +2 -1
- homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
- homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
- homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
- homeassistant-stubs/components/tradfri/entity.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
- homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
- homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/tts/__init__.pyi +10 -5
- homeassistant-stubs/components/tts/notify.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/unifi/__init__.pyi +3 -3
- homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
- homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
- homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
- homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
- homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
- homeassistant-stubs/components/update/__init__.pyi +15 -4
- homeassistant-stubs/components/usb/__init__.pyi +7 -4
- homeassistant-stubs/components/uvc/camera.pyi +2 -2
- homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
- homeassistant-stubs/components/velbus/sensor.pyi +1 -1
- homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
- homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
- homeassistant-stubs/components/weather/__init__.pyi +20 -2
- homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
- homeassistant-stubs/components/webostv/media_player.pyi +1 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
- homeassistant-stubs/components/websocket_api/http.pyi +9 -7
- homeassistant-stubs/components/wemo/__init__.pyi +6 -6
- homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
- homeassistant-stubs/components/withings/coordinator.pyi +2 -2
- homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
- homeassistant-stubs/components/wled/coordinator.pyi +1 -1
- homeassistant-stubs/components/workday/repairs.pyi +3 -3
- homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
- homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
- homeassistant-stubs/components/zone/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
- homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
- homeassistant-stubs/components/zwave_js/event.pyi +1 -1
- homeassistant-stubs/components/zwave_js/light.pyi +8 -8
- homeassistant-stubs/components/zwave_js/number.pyi +1 -1
- homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
- homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +8 -8
- homeassistant-stubs/config_entries.pyi +11 -8
- homeassistant-stubs/core.pyi +50 -28
- homeassistant-stubs/core_config.pyi +18 -18
- homeassistant-stubs/data_entry_flow.pyi +6 -5
- homeassistant-stubs/helpers/area_registry.pyi +4 -2
- homeassistant-stubs/helpers/category_registry.pyi +1 -1
- homeassistant-stubs/helpers/check_config.pyi +2 -3
- homeassistant-stubs/helpers/collection.pyi +6 -6
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
- homeassistant-stubs/helpers/debounce.pyi +3 -2
- homeassistant-stubs/helpers/device_registry.pyi +9 -5
- homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
- homeassistant-stubs/helpers/dispatcher.pyi +8 -8
- homeassistant-stubs/helpers/entity.pyi +43 -14
- homeassistant-stubs/helpers/entity_component.pyi +3 -3
- homeassistant-stubs/helpers/entity_platform.pyi +12 -12
- homeassistant-stubs/helpers/entity_registry.pyi +13 -6
- homeassistant-stubs/helpers/entityfilter.pyi +1 -1
- homeassistant-stubs/helpers/event.pyi +6 -6
- homeassistant-stubs/helpers/frame.pyi +4 -0
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/intent.pyi +15 -12
- homeassistant-stubs/helpers/issue_registry.pyi +1 -1
- homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
- homeassistant-stubs/helpers/ratelimit.pyi +4 -3
- homeassistant-stubs/helpers/restore_state.pyi +3 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
- homeassistant-stubs/helpers/script.pyi +16 -10
- homeassistant-stubs/helpers/script_variables.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +1 -1
- homeassistant-stubs/helpers/significant_change.pyi +1 -1
- homeassistant-stubs/helpers/storage.pyi +12 -9
- homeassistant-stubs/helpers/template.pyi +22 -18
- homeassistant-stubs/helpers/trace.pyi +6 -6
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
- homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
- homeassistant-stubs/loader.pyi +23 -4
- homeassistant-stubs/requirements.pyi +4 -3
- homeassistant-stubs/util/aiohttp.pyi +2 -2
- homeassistant-stubs/util/async_.pyi +1 -1
- homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
- homeassistant-stubs/util/logging.pyi +7 -7
- homeassistant-stubs/util/signal_type.pyi +1 -1
- homeassistant-stubs/util/timeout.pyi +29 -30
- homeassistant-stubs/util/yaml/loader.pyi +4 -1
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +646 -645
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -18,7 +18,7 @@ from homeassistant.setup import async_when_setup_or_start as async_when_setup_or
|
|
18
18
|
from ipaddress import IPv4Address, IPv6Address
|
19
19
|
from typing import Any, Final
|
20
20
|
from zeroconf import ServiceStateChange
|
21
|
-
from zeroconf.asyncio import AsyncServiceInfo
|
21
|
+
from zeroconf.asyncio import AsyncServiceBrowser, AsyncServiceInfo
|
22
22
|
|
23
23
|
_LOGGER: Incomplete
|
24
24
|
DOMAIN: str
|
@@ -72,7 +72,7 @@ class ZeroconfDiscovery:
|
|
72
72
|
zeroconf_types: Incomplete
|
73
73
|
homekit_model_lookups: Incomplete
|
74
74
|
homekit_model_matchers: Incomplete
|
75
|
-
async_service_browser:
|
75
|
+
async_service_browser: AsyncServiceBrowser | None
|
76
76
|
def __init__(self, hass: HomeAssistant, zeroconf: HaZeroconf, zeroconf_types: dict[str, list[ZeroconfMatcher]], homekit_model_lookups: dict[str, HomeKitDiscoveredIntegration], homekit_model_matchers: dict[re.Pattern, HomeKitDiscoveredIntegration]) -> None: ...
|
77
77
|
async def async_setup(self) -> None: ...
|
78
78
|
async def async_stop(self) -> None: ...
|
@@ -49,9 +49,9 @@ class Zone(collection.CollectionEntity):
|
|
49
49
|
editable: bool
|
50
50
|
_attr_should_poll: bool
|
51
51
|
_config: Incomplete
|
52
|
-
_attrs:
|
53
|
-
_remove_listener:
|
54
|
-
_persons_in_zone:
|
52
|
+
_attrs: dict | None
|
53
|
+
_remove_listener: Callable[[], None] | None
|
54
|
+
_persons_in_zone: set[str]
|
55
55
|
def __init__(self, config: ConfigType) -> None: ...
|
56
56
|
_attr_name: Incomplete
|
57
57
|
_case_folded_name: Incomplete
|
@@ -39,7 +39,7 @@ class DriverEvents:
|
|
39
39
|
config_entry: Incomplete
|
40
40
|
dev_reg: Incomplete
|
41
41
|
hass: Incomplete
|
42
|
-
platform_setup_tasks:
|
42
|
+
platform_setup_tasks: dict[str, asyncio.Task]
|
43
43
|
ready: Incomplete
|
44
44
|
controller_events: Incomplete
|
45
45
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
@@ -49,10 +49,10 @@ class DriverEvents:
|
|
49
49
|
class ControllerEvents:
|
50
50
|
hass: Incomplete
|
51
51
|
config_entry: Incomplete
|
52
|
-
discovered_value_ids:
|
52
|
+
discovered_value_ids: dict[str, set[str]]
|
53
53
|
driver_events: Incomplete
|
54
54
|
dev_reg: Incomplete
|
55
|
-
registered_unique_ids:
|
55
|
+
registered_unique_ids: dict[str, dict[Platform, set[str]]]
|
56
56
|
node_events: Incomplete
|
57
57
|
def __init__(self, hass: HomeAssistant, driver_events: DriverEvents) -> None: ...
|
58
58
|
def remove_device(self, device: dr.DeviceEntry) -> None: ...
|
@@ -26,13 +26,13 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
26
26
|
|
27
27
|
class ZWaveClimate(ZWaveBaseEntity, ClimateEntity):
|
28
28
|
_attr_precision = PRECISION_TENTHS
|
29
|
-
_hvac_modes:
|
30
|
-
_hvac_presets:
|
31
|
-
_unit_value:
|
32
|
-
_last_hvac_mode_id_before_off:
|
29
|
+
_hvac_modes: dict[HVACMode, int | None]
|
30
|
+
_hvac_presets: dict[str, int | None]
|
31
|
+
_unit_value: ZwaveValue | None
|
32
|
+
_last_hvac_mode_id_before_off: int | None
|
33
33
|
_current_mode: Incomplete
|
34
|
-
_supports_resume:
|
35
|
-
_setpoint_values:
|
34
|
+
_supports_resume: bool
|
35
|
+
_setpoint_values: dict[ThermostatSetpointType, ZwaveValue | None]
|
36
36
|
_operating_state: Incomplete
|
37
37
|
_current_temp: Incomplete
|
38
38
|
_current_humidity: Incomplete
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import abc
|
2
|
+
import asyncio
|
2
3
|
import voluptuous as vol
|
3
4
|
from . import disconnect_client as disconnect_client
|
4
5
|
from .addon import get_addon_manager as get_addon_manager
|
@@ -40,19 +41,19 @@ def get_usb_ports() -> dict[str, str]: ...
|
|
40
41
|
async def async_get_usb_ports(hass: HomeAssistant) -> dict[str, str]: ...
|
41
42
|
|
42
43
|
class BaseZwaveJSFlow(ConfigEntryBaseFlow, ABC, metaclass=abc.ABCMeta):
|
43
|
-
s0_legacy_key:
|
44
|
-
s2_access_control_key:
|
45
|
-
s2_authenticated_key:
|
46
|
-
s2_unauthenticated_key:
|
47
|
-
lr_s2_access_control_key:
|
48
|
-
lr_s2_authenticated_key:
|
49
|
-
usb_path:
|
50
|
-
ws_address:
|
44
|
+
s0_legacy_key: str | None
|
45
|
+
s2_access_control_key: str | None
|
46
|
+
s2_authenticated_key: str | None
|
47
|
+
s2_unauthenticated_key: str | None
|
48
|
+
lr_s2_access_control_key: str | None
|
49
|
+
lr_s2_authenticated_key: str | None
|
50
|
+
usb_path: str | None
|
51
|
+
ws_address: str | None
|
51
52
|
restart_addon: bool
|
52
53
|
integration_created_addon: bool
|
53
|
-
install_task:
|
54
|
-
start_task:
|
55
|
-
version_info:
|
54
|
+
install_task: asyncio.Task | None
|
55
|
+
start_task: asyncio.Task | None
|
56
|
+
version_info: VersionInfo | None
|
56
57
|
def __init__(self) -> None: ...
|
57
58
|
@property
|
58
59
|
@abstractmethod
|
@@ -104,8 +105,8 @@ class ZWaveJSConfigFlow(BaseZwaveJSFlow, ConfigFlow, domain=DOMAIN):
|
|
104
105
|
def _async_create_entry_from_vars(self) -> ConfigFlowResult: ...
|
105
106
|
|
106
107
|
class OptionsFlowHandler(BaseZwaveJSFlow, OptionsFlow):
|
107
|
-
original_addon_config:
|
108
|
-
revert_reason:
|
108
|
+
original_addon_config: dict[str, Any] | None
|
109
|
+
revert_reason: str | None
|
109
110
|
def __init__(self) -> None: ...
|
110
111
|
@property
|
111
112
|
def flow_manager(self) -> OptionsFlowManager: ...
|
@@ -16,7 +16,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn
|
|
16
16
|
def _cc_and_label(value: Value) -> str: ...
|
17
17
|
|
18
18
|
class ZwaveEventEntity(ZWaveBaseEntity, EventEntity):
|
19
|
-
states:
|
19
|
+
states: dict[int, str]
|
20
20
|
_attr_event_types: Incomplete
|
21
21
|
_attr_name: Incomplete
|
22
22
|
def __init__(self, config_entry: ConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
@@ -27,14 +27,14 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
27
27
|
_supports_rgbw: bool
|
28
28
|
_supports_color_temp: bool
|
29
29
|
_supports_dimming: bool
|
30
|
-
_color_mode:
|
31
|
-
_hs_color:
|
32
|
-
_rgbw_color:
|
33
|
-
_color_temp:
|
30
|
+
_color_mode: str | None
|
31
|
+
_hs_color: tuple[float, float] | None
|
32
|
+
_rgbw_color: tuple[int, int, int, int] | None
|
33
|
+
_color_temp: int | None
|
34
34
|
_warm_white: Incomplete
|
35
35
|
_cold_white: Incomplete
|
36
|
-
_supported_color_modes:
|
37
|
-
_target_brightness:
|
36
|
+
_supported_color_modes: set[ColorMode]
|
37
|
+
_target_brightness: Value | None
|
38
38
|
_attr_name: Incomplete
|
39
39
|
_current_color: Incomplete
|
40
40
|
_target_color: Incomplete
|
@@ -67,8 +67,8 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
|
67
67
|
def _calculate_color_values(self) -> None: ...
|
68
68
|
|
69
69
|
class ZwaveColorOnOffLight(ZwaveLight):
|
70
|
-
_last_on_color:
|
71
|
-
_last_brightness:
|
70
|
+
_last_on_color: dict[ColorComponent, int] | None
|
71
|
+
_last_brightness: int | None
|
72
72
|
def __init__(self, config_entry: ConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
73
73
|
@property
|
74
74
|
def brightness(self) -> int | None: ...
|
@@ -19,7 +19,7 @@ PARALLEL_UPDATES: int
|
|
19
19
|
async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
20
20
|
|
21
21
|
class ZwaveNumberEntity(ZWaveBaseEntity, NumberEntity):
|
22
|
-
_target_value:
|
22
|
+
_target_value: Value | None
|
23
23
|
_attr_name: Incomplete
|
24
24
|
def __init__(self, config_entry: ConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
25
25
|
@property
|
@@ -1,13 +1,12 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .helpers import async_get_node_from_device_id as async_get_node_from_device_id
|
3
|
-
from _typeshed import Incomplete
|
4
3
|
from homeassistant import data_entry_flow as data_entry_flow
|
5
4
|
from homeassistant.components.repairs import ConfirmRepairFlow as ConfirmRepairFlow, RepairsFlow as RepairsFlow
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
6
|
|
8
7
|
class DeviceConfigFileChangedFlow(RepairsFlow):
|
9
|
-
description_placeholders:
|
10
|
-
device_id:
|
8
|
+
description_placeholders: dict[str, str]
|
9
|
+
device_id: str
|
11
10
|
def __init__(self, data: dict[str, str]) -> None: ...
|
12
11
|
async def async_step_init(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
|
13
12
|
async def async_step_confirm(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
|
@@ -29,7 +29,7 @@ class ZWaveIndicatorSwitch(ZWaveSwitch):
|
|
29
29
|
def __init__(self, config_entry: ConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
30
30
|
|
31
31
|
class ZWaveBarrierEventSignalingSwitch(ZWaveBaseEntity, SwitchEntity):
|
32
|
-
_state:
|
32
|
+
_state: bool | None
|
33
33
|
_attr_name: Incomplete
|
34
34
|
def __init__(self, config_entry: ConfigEntry, driver: Driver, info: ZwaveDiscoveryInfo) -> None: ...
|
35
35
|
def on_value_update(self) -> None: ...
|
@@ -13,7 +13,7 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_d
|
|
13
13
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
14
14
|
from homeassistant.helpers.event import async_call_later as async_call_later
|
15
15
|
from homeassistant.helpers.restore_state import ExtraStoredData as ExtraStoredData
|
16
|
-
from typing import Any
|
16
|
+
from typing import Any, Final
|
17
17
|
from zwave_js_server.model.driver import Driver as Driver
|
18
18
|
from zwave_js_server.model.node import Node as ZwaveNode
|
19
19
|
from zwave_js_server.model.node.firmware import NodeFirmwareUpdateInfo, NodeFirmwareUpdateProgress as NodeFirmwareUpdateProgress, NodeFirmwareUpdateResult as NodeFirmwareUpdateResult
|
@@ -41,14 +41,14 @@ class ZWaveNodeFirmwareUpdate(UpdateEntity):
|
|
41
41
|
_attr_should_poll: bool
|
42
42
|
driver: Incomplete
|
43
43
|
node: Incomplete
|
44
|
-
_latest_version_firmware:
|
45
|
-
_status_unsub:
|
46
|
-
_poll_unsub:
|
47
|
-
_progress_unsub:
|
48
|
-
_finished_unsub:
|
44
|
+
_latest_version_firmware: NodeFirmwareUpdateInfo | None
|
45
|
+
_status_unsub: Callable[[], None] | None
|
46
|
+
_poll_unsub: Callable[[], None] | None
|
47
|
+
_progress_unsub: Callable[[], None] | None
|
48
|
+
_finished_unsub: Callable[[], None] | None
|
49
49
|
_finished_event: Incomplete
|
50
|
-
_result:
|
51
|
-
_delay:
|
50
|
+
_result: NodeFirmwareUpdateResult | None
|
51
|
+
_delay: Final[timedelta]
|
52
52
|
_attr_name: str
|
53
53
|
_base_unique_id: Incomplete
|
54
54
|
_attr_unique_id: Incomplete
|
@@ -28,11 +28,12 @@ from .util.decorator import Registry as Registry
|
|
28
28
|
from .util.dt import utc_from_timestamp as utc_from_timestamp, utcnow as utcnow
|
29
29
|
from .util.enum import try_parse_enum as try_parse_enum
|
30
30
|
from _typeshed import Incomplete
|
31
|
-
from collections import UserDict
|
31
|
+
from collections import UserDict, defaultdict
|
32
32
|
from collections.abc import Callable, Coroutine, Generator, Iterable, Mapping, ValuesView
|
33
33
|
from contextvars import ContextVar
|
34
34
|
from datetime import datetime
|
35
35
|
from enum import Enum, StrEnum
|
36
|
+
from propcache import cached_property
|
36
37
|
from types import MappingProxyType
|
37
38
|
from typing import Any, Generic, Self
|
38
39
|
from typing_extensions import TypeVar
|
@@ -173,8 +174,10 @@ class ConfigEntry(Generic[_DataT]):
|
|
173
174
|
@property
|
174
175
|
def supports_reconfigure(self) -> bool: ...
|
175
176
|
def clear_state_cache(self) -> None: ...
|
177
|
+
@cached_property
|
176
178
|
def as_json_fragment(self) -> json_fragment: ...
|
177
179
|
def clear_storage_cache(self) -> None: ...
|
180
|
+
@cached_property
|
178
181
|
def as_storage_fragment(self) -> json_fragment: ...
|
179
182
|
async def async_setup(self, hass: HomeAssistant, *, integration: loader.Integration | None = None) -> None: ...
|
180
183
|
async def __async_setup_with_context(self, hass: HomeAssistant, integration: loader.Integration | None) -> None: ...
|
@@ -206,8 +209,8 @@ class ConfigEntriesFlowManager(data_entry_flow.FlowManager[ConfigFlowContext, Co
|
|
206
209
|
_flow_result = ConfigFlowResult
|
207
210
|
config_entries: Incomplete
|
208
211
|
_hass_config: Incomplete
|
209
|
-
_pending_import_flows:
|
210
|
-
_initialize_futures:
|
212
|
+
_pending_import_flows: defaultdict[str, dict[str, asyncio.Future[None]]]
|
213
|
+
_initialize_futures: defaultdict[str, set[asyncio.Future[None]]]
|
211
214
|
_discovery_debouncer: Incomplete
|
212
215
|
def __init__(self, hass: HomeAssistant, config_entries: ConfigEntries, hass_config: ConfigType) -> None: ...
|
213
216
|
async def async_wait_import_flow_initialized(self, handler: str) -> None: ...
|
@@ -225,8 +228,8 @@ class ConfigEntriesFlowManager(data_entry_flow.FlowManager[ConfigFlowContext, Co
|
|
225
228
|
|
226
229
|
class ConfigEntryItems(UserDict[str, ConfigEntry]):
|
227
230
|
_hass: Incomplete
|
228
|
-
_domain_index:
|
229
|
-
_domain_unique_id_index:
|
231
|
+
_domain_index: dict[str, list[ConfigEntry]]
|
232
|
+
_domain_unique_id_index: dict[str, dict[str, list[ConfigEntry]]]
|
230
233
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
231
234
|
def values(self) -> ValuesView[ConfigEntry]: ...
|
232
235
|
def __setitem__(self, entry_id: str, entry: ConfigEntry) -> None: ...
|
@@ -356,9 +359,9 @@ class OptionsFlowWithConfigEntry(OptionsFlow):
|
|
356
359
|
|
357
360
|
class EntityRegistryDisabledHandler:
|
358
361
|
hass: Incomplete
|
359
|
-
registry:
|
360
|
-
changed:
|
361
|
-
_remove_call_later:
|
362
|
+
registry: er.EntityRegistry | None
|
363
|
+
changed: set[str]
|
364
|
+
_remove_call_later: Callable[[], None] | None
|
362
365
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
363
366
|
def async_setup(self) -> None: ...
|
364
367
|
def _handle_entry_updated(self, event: Event[er.EventEntityRegistryUpdatedData]) -> None: ...
|
homeassistant-stubs/core.pyi
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import asyncio
|
2
|
+
import concurrent.futures
|
2
3
|
import datetime
|
3
4
|
import enum
|
4
5
|
import threading
|
@@ -22,10 +23,11 @@ from .util.read_only_dict import ReadOnlyDict as ReadOnlyDict
|
|
22
23
|
from .util.timeout import TimeoutManager as TimeoutManager
|
23
24
|
from .util.ulid import ulid_at_time as ulid_at_time, ulid_now as ulid_now
|
24
25
|
from _typeshed import Incomplete
|
25
|
-
from collections import UserDict
|
26
|
+
from collections import UserDict, defaultdict
|
26
27
|
from collections.abc import Callable, Collection, Coroutine, Iterable, KeysView, Mapping, ValuesView
|
27
28
|
from dataclasses import dataclass
|
28
|
-
from
|
29
|
+
from propcache import cached_property, under_cached_property
|
30
|
+
from typing import Any, Final, Generic, NotRequired, Self, TypedDict, overload
|
29
31
|
from typing_extensions import TypeVar
|
30
32
|
|
31
33
|
STOPPING_STAGE_SHUTDOWN_TIMEOUT: int
|
@@ -100,11 +102,12 @@ class HassJobType(enum.Enum):
|
|
100
102
|
|
101
103
|
class HassJob[**_P, _R_co]:
|
102
104
|
__slots__: Incomplete
|
103
|
-
target: Incomplete
|
105
|
+
target: Final[Incomplete]
|
104
106
|
name: Incomplete
|
105
107
|
_cancel_on_shutdown: Incomplete
|
106
|
-
_cache:
|
108
|
+
_cache: dict[str, Any]
|
107
109
|
def __init__(self, target: Callable[_P, _R_co], name: str | None = None, *, cancel_on_shutdown: bool | None = None, job_type: HassJobType | None = None) -> None: ...
|
110
|
+
@under_cached_property
|
108
111
|
def job_type(self) -> HassJobType: ...
|
109
112
|
@property
|
110
113
|
def cancel_on_shutdown(self) -> bool | None: ...
|
@@ -135,37 +138,39 @@ class HomeAssistant:
|
|
135
138
|
def __repr__(self) -> str: ...
|
136
139
|
data: Incomplete
|
137
140
|
loop: Incomplete
|
138
|
-
_tasks:
|
139
|
-
_background_tasks:
|
141
|
+
_tasks: set[asyncio.Future[Any]]
|
142
|
+
_background_tasks: set[asyncio.Future[Any]]
|
140
143
|
bus: Incomplete
|
141
144
|
services: Incomplete
|
142
145
|
states: Incomplete
|
143
146
|
config: Incomplete
|
144
147
|
components: Incomplete
|
145
148
|
helpers: Incomplete
|
146
|
-
state:
|
149
|
+
state: CoreState
|
147
150
|
exit_code: int
|
148
|
-
_stopped:
|
149
|
-
timeout:
|
150
|
-
_stop_future:
|
151
|
-
_shutdown_jobs:
|
151
|
+
_stopped: asyncio.Event | None
|
152
|
+
timeout: TimeoutManager
|
153
|
+
_stop_future: concurrent.futures.Future[None] | None
|
154
|
+
_shutdown_jobs: list[HassJobWithArgs]
|
152
155
|
import_executor: Incomplete
|
153
156
|
loop_thread_id: Incomplete
|
154
157
|
def __init__(self, config_dir: str) -> None: ...
|
155
158
|
def verify_event_loop_thread(self, what: str) -> None: ...
|
156
159
|
@property
|
157
160
|
def _active_tasks(self) -> set[asyncio.Future[Any]]: ...
|
161
|
+
@cached_property
|
158
162
|
def is_running(self) -> bool: ...
|
163
|
+
@cached_property
|
159
164
|
def is_stopping(self) -> bool: ...
|
160
165
|
def set_state(self, state: CoreState) -> None: ...
|
161
166
|
def start(self) -> int: ...
|
162
167
|
async def async_run(self, *, attach_signals: bool = True) -> int: ...
|
163
168
|
async def async_start(self) -> None: ...
|
164
|
-
def add_job[*_Ts](self, target: Callable[[
|
169
|
+
def add_job[*_Ts](self, target: Callable[[*_Ts], Any] | Coroutine[Any, Any, Any], *args: *_Ts) -> None: ...
|
165
170
|
@overload
|
166
|
-
def async_add_job[_R, *_Ts](self, target: Callable[[
|
171
|
+
def async_add_job[_R, *_Ts](self, target: Callable[[*_Ts], Coroutine[Any, Any, _R]], *args: *_Ts, eager_start: bool = False) -> asyncio.Future[_R] | None: ...
|
167
172
|
@overload
|
168
|
-
def async_add_job[_R, *_Ts](self, target: Callable[[
|
173
|
+
def async_add_job[_R, *_Ts](self, target: Callable[[*_Ts], Coroutine[Any, Any, _R] | _R], *args: *_Ts, eager_start: bool = False) -> asyncio.Future[_R] | None: ...
|
169
174
|
@overload
|
170
175
|
def async_add_job[_R](self, target: Coroutine[Any, Any, _R], *args: Any, eager_start: bool = False) -> asyncio.Future[_R] | None: ...
|
171
176
|
@overload
|
@@ -180,16 +185,16 @@ class HomeAssistant:
|
|
180
185
|
def async_create_task[_R](self, target: Coroutine[Any, Any, _R], name: str | None = None, eager_start: bool = True) -> asyncio.Task[_R]: ...
|
181
186
|
def async_create_task_internal[_R](self, target: Coroutine[Any, Any, _R], name: str | None = None, eager_start: bool = True) -> asyncio.Task[_R]: ...
|
182
187
|
def async_create_background_task[_R](self, target: Coroutine[Any, Any, _R], name: str, eager_start: bool = True) -> asyncio.Task[_R]: ...
|
183
|
-
def async_add_executor_job[*_Ts, _T](self, target: Callable[[
|
184
|
-
def async_add_import_executor_job[*_Ts, _T](self, target: Callable[[
|
188
|
+
def async_add_executor_job[*_Ts, _T](self, target: Callable[[*_Ts], _T], *args: *_Ts) -> asyncio.Future[_T]: ...
|
189
|
+
def async_add_import_executor_job[*_Ts, _T](self, target: Callable[[*_Ts], _T], *args: *_Ts) -> asyncio.Future[_T]: ...
|
185
190
|
@overload
|
186
191
|
def async_run_hass_job[_R](self, hassjob: HassJob[..., Coroutine[Any, Any, _R]], *args: Any, background: bool = False) -> asyncio.Future[_R] | None: ...
|
187
192
|
@overload
|
188
193
|
def async_run_hass_job[_R](self, hassjob: HassJob[..., Coroutine[Any, Any, _R] | _R], *args: Any, background: bool = False) -> asyncio.Future[_R] | None: ...
|
189
194
|
@overload
|
190
|
-
def async_run_job[_R, *_Ts](self, target: Callable[[
|
195
|
+
def async_run_job[_R, *_Ts](self, target: Callable[[*_Ts], Coroutine[Any, Any, _R]], *args: *_Ts) -> asyncio.Future[_R] | None: ...
|
191
196
|
@overload
|
192
|
-
def async_run_job[_R, *_Ts](self, target: Callable[[
|
197
|
+
def async_run_job[_R, *_Ts](self, target: Callable[[*_Ts], Coroutine[Any, Any, _R] | _R], *args: *_Ts) -> asyncio.Future[_R] | None: ...
|
193
198
|
@overload
|
194
199
|
def async_run_job[_R](self, target: Coroutine[Any, Any, _R], *args: Any) -> asyncio.Future[_R] | None: ...
|
195
200
|
def block_till_done(self, wait_background_tasks: bool = False) -> None: ...
|
@@ -209,36 +214,44 @@ class Context:
|
|
209
214
|
id: Incomplete
|
210
215
|
user_id: Incomplete
|
211
216
|
parent_id: Incomplete
|
212
|
-
origin_event:
|
213
|
-
_cache:
|
217
|
+
origin_event: Event[Any] | None
|
218
|
+
_cache: dict[str, Any]
|
214
219
|
def __init__(self, user_id: str | None = None, parent_id: str | None = None, id: str | None = None) -> None: ...
|
215
220
|
def __eq__(self, other: object) -> bool: ...
|
216
221
|
def __copy__(self) -> Context: ...
|
217
222
|
def __deepcopy__(self, memo: dict[int, Any]) -> Context: ...
|
223
|
+
@under_cached_property
|
218
224
|
def _as_dict(self) -> dict[str, str | None]: ...
|
219
225
|
def as_dict(self) -> ReadOnlyDict[str, str | None]: ...
|
226
|
+
@under_cached_property
|
220
227
|
def _as_read_only_dict(self) -> ReadOnlyDict[str, str | None]: ...
|
228
|
+
@under_cached_property
|
221
229
|
def json_fragment(self) -> json_fragment: ...
|
222
230
|
|
223
231
|
class EventOrigin(enum.Enum):
|
224
232
|
local = 'LOCAL'
|
225
233
|
remote = 'REMOTE'
|
226
234
|
def __str__(self) -> str: ...
|
235
|
+
@cached_property
|
227
236
|
def idx(self) -> int: ...
|
228
237
|
|
229
238
|
class Event(Generic[_DataT]):
|
230
239
|
__slots__: Incomplete
|
231
240
|
event_type: Incomplete
|
232
|
-
data:
|
241
|
+
data: _DataT
|
233
242
|
origin: Incomplete
|
234
243
|
time_fired_timestamp: Incomplete
|
235
244
|
context: Incomplete
|
236
|
-
_cache:
|
245
|
+
_cache: dict[str, Any]
|
237
246
|
def __init__(self, event_type: EventType[_DataT] | str, data: _DataT | None = None, origin: EventOrigin = ..., time_fired_timestamp: float | None = None, context: Context | None = None) -> None: ...
|
247
|
+
@under_cached_property
|
238
248
|
def time_fired(self) -> datetime.datetime: ...
|
249
|
+
@under_cached_property
|
239
250
|
def _as_dict(self) -> dict[str, Any]: ...
|
240
251
|
def as_dict(self) -> ReadOnlyDict[str, Any]: ...
|
252
|
+
@under_cached_property
|
241
253
|
def _as_read_only_dict(self) -> ReadOnlyDict[str, Any]: ...
|
254
|
+
@under_cached_property
|
242
255
|
def json_fragment(self) -> json_fragment: ...
|
243
256
|
def __repr__(self) -> str: ...
|
244
257
|
|
@@ -261,8 +274,8 @@ def _verify_event_type_length_or_raise(event_type: EventType[_DataT] | str) -> N
|
|
261
274
|
|
262
275
|
class EventBus:
|
263
276
|
__slots__: Incomplete
|
264
|
-
_listeners:
|
265
|
-
_match_all_listeners:
|
277
|
+
_listeners: defaultdict[EventType[Any] | str, list[_FilterableJobType[Any]]]
|
278
|
+
_match_all_listeners: list[_FilterableJobType[Any]]
|
266
279
|
_hass: Incomplete
|
267
280
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
268
281
|
_debug: Incomplete
|
@@ -289,7 +302,7 @@ class CompressedState(TypedDict):
|
|
289
302
|
|
290
303
|
class State:
|
291
304
|
__slots__: Incomplete
|
292
|
-
_cache:
|
305
|
+
_cache: dict[str, Any]
|
293
306
|
entity_id: Incomplete
|
294
307
|
state: Incomplete
|
295
308
|
attributes: Incomplete
|
@@ -300,15 +313,24 @@ class State:
|
|
300
313
|
state_info: Incomplete
|
301
314
|
last_updated_timestamp: Incomplete
|
302
315
|
def __init__(self, entity_id: str, state: str, attributes: Mapping[str, Any] | None = None, last_changed: datetime.datetime | None = None, last_reported: datetime.datetime | None = None, last_updated: datetime.datetime | None = None, context: Context | None = None, validate_entity_id: bool | None = True, state_info: StateInfo | None = None, last_updated_timestamp: float | None = None) -> None: ...
|
316
|
+
@under_cached_property
|
303
317
|
def name(self) -> str: ...
|
318
|
+
@under_cached_property
|
304
319
|
def last_changed_timestamp(self) -> float: ...
|
320
|
+
@under_cached_property
|
305
321
|
def last_reported_timestamp(self) -> float: ...
|
322
|
+
@under_cached_property
|
306
323
|
def _as_dict(self) -> dict[str, Any]: ...
|
307
324
|
def as_dict(self) -> ReadOnlyDict[str, datetime.datetime | Collection[Any]]: ...
|
325
|
+
@under_cached_property
|
308
326
|
def _as_read_only_dict(self) -> ReadOnlyDict[str, datetime.datetime | Collection[Any]]: ...
|
327
|
+
@under_cached_property
|
309
328
|
def as_dict_json(self) -> bytes: ...
|
329
|
+
@under_cached_property
|
310
330
|
def json_fragment(self) -> json_fragment: ...
|
331
|
+
@under_cached_property
|
311
332
|
def as_compressed_state(self) -> CompressedState: ...
|
333
|
+
@under_cached_property
|
312
334
|
def as_compressed_state_json(self) -> bytes: ...
|
313
335
|
@classmethod
|
314
336
|
def from_dict(cls, json_dict: dict[str, Any]) -> Self | None: ...
|
@@ -316,7 +338,7 @@ class State:
|
|
316
338
|
def __repr__(self) -> str: ...
|
317
339
|
|
318
340
|
class States(UserDict[str, State]):
|
319
|
-
_domain_index:
|
341
|
+
_domain_index: defaultdict[str, dict[str, State]]
|
320
342
|
def __init__(self) -> None: ...
|
321
343
|
def values(self) -> ValuesView[State]: ...
|
322
344
|
def __setitem__(self, key: str, entry: State) -> None: ...
|
@@ -328,7 +350,7 @@ class StateMachine:
|
|
328
350
|
__slots__: Incomplete
|
329
351
|
_states: Incomplete
|
330
352
|
_states_data: Incomplete
|
331
|
-
_reservations:
|
353
|
+
_reservations: set[str]
|
332
354
|
_bus: Incomplete
|
333
355
|
_loop: Incomplete
|
334
356
|
def __init__(self, bus: EventBus, loop: asyncio.events.AbstractEventLoop) -> None: ...
|
@@ -372,7 +394,7 @@ class ServiceCall:
|
|
372
394
|
|
373
395
|
class ServiceRegistry:
|
374
396
|
__slots__: Incomplete
|
375
|
-
_services:
|
397
|
+
_services: dict[str, dict[str, Service]]
|
376
398
|
_hass: Incomplete
|
377
399
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
378
400
|
@property
|
@@ -61,30 +61,30 @@ class _ComponentSet(set[str]):
|
|
61
61
|
class Config:
|
62
62
|
_store: Config._ConfigStore
|
63
63
|
hass: Incomplete
|
64
|
-
latitude:
|
65
|
-
longitude:
|
64
|
+
latitude: float
|
65
|
+
longitude: float
|
66
66
|
elevation: int
|
67
|
-
radius:
|
67
|
+
radius: int
|
68
68
|
debug: bool
|
69
69
|
location_name: str
|
70
70
|
time_zone: str
|
71
|
-
units:
|
72
|
-
internal_url:
|
73
|
-
external_url:
|
71
|
+
units: UnitSystem
|
72
|
+
internal_url: str | None
|
73
|
+
external_url: str | None
|
74
74
|
currency: str
|
75
|
-
country:
|
75
|
+
country: str | None
|
76
76
|
language: str
|
77
|
-
config_source:
|
77
|
+
config_source: ConfigSource
|
78
78
|
skip_pip: bool
|
79
|
-
skip_pip_packages:
|
80
|
-
top_level_components:
|
81
|
-
all_components:
|
82
|
-
components:
|
83
|
-
api:
|
84
|
-
config_dir:
|
85
|
-
allowlist_external_dirs:
|
86
|
-
allowlist_external_urls:
|
87
|
-
media_dirs:
|
79
|
+
skip_pip_packages: list[str]
|
80
|
+
top_level_components: set[str]
|
81
|
+
all_components: set[str]
|
82
|
+
components: _ComponentSet
|
83
|
+
api: ApiConfig | None
|
84
|
+
config_dir: str
|
85
|
+
allowlist_external_dirs: set[str]
|
86
|
+
allowlist_external_urls: set[str]
|
87
|
+
media_dirs: dict[str, str]
|
88
88
|
recovery_mode: bool
|
89
89
|
legacy_templates: bool
|
90
90
|
safe_mode: bool
|
@@ -103,7 +103,7 @@ class Config:
|
|
103
103
|
async def async_load(self) -> None: ...
|
104
104
|
async def _async_store(self) -> None: ...
|
105
105
|
class _ConfigStore(Store[dict[str, Any]]):
|
106
|
-
_original_unit_system:
|
106
|
+
_original_unit_system: str | None
|
107
107
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
108
108
|
async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, Any]) -> dict[str, Any]: ...
|
109
109
|
async def async_save(self, data: dict[str, Any]) -> None: ...
|
@@ -6,6 +6,7 @@ from .exceptions import HomeAssistantError as HomeAssistantError
|
|
6
6
|
from .helpers.frame import ReportBehavior as ReportBehavior, report_usage as report_usage
|
7
7
|
from .loader import async_suggest_report_issue as async_suggest_report_issue
|
8
8
|
from _typeshed import Incomplete
|
9
|
+
from collections import defaultdict
|
9
10
|
from collections.abc import Callable as Callable, Container, Hashable, Iterable, Mapping
|
10
11
|
from dataclasses import dataclass
|
11
12
|
from enum import StrEnum
|
@@ -80,10 +81,10 @@ def _map_error_to_schema_errors(schema_errors: dict[str, Any], error: vol.Invali
|
|
80
81
|
class FlowManager(abc.ABC, Generic[_FlowContextT, _FlowResultT, _HandlerT], metaclass=abc.ABCMeta):
|
81
82
|
_flow_result: type[_FlowResultT]
|
82
83
|
hass: Incomplete
|
83
|
-
_preview:
|
84
|
-
_progress:
|
85
|
-
_handler_progress_index:
|
86
|
-
_init_data_process_index:
|
84
|
+
_preview: set[_HandlerT]
|
85
|
+
_progress: dict[str, FlowHandler[_FlowContextT, _FlowResultT, _HandlerT]]
|
86
|
+
_handler_progress_index: defaultdict[_HandlerT, set[FlowHandler[_FlowContextT, _FlowResultT, _HandlerT]]]
|
87
|
+
_init_data_process_index: defaultdict[type, set[FlowHandler[_FlowContextT, _FlowResultT, _HandlerT]]]
|
87
88
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
88
89
|
@abc.abstractmethod
|
89
90
|
async def async_create_flow(self, handler_key: _HandlerT, *, context: _FlowContextT | None = None, data: dict[str, Any] | None = None) -> FlowHandler[_FlowContextT, _FlowResultT, _HandlerT]: ...
|
@@ -147,6 +148,6 @@ class SectionConfig(TypedDict, total=False):
|
|
147
148
|
class section:
|
148
149
|
CONFIG_SCHEMA: Incomplete
|
149
150
|
schema: Incomplete
|
150
|
-
options:
|
151
|
+
options: SectionConfig
|
151
152
|
def __init__(self, schema: vol.Schema, options: SectionConfig | None = None) -> None: ...
|
152
153
|
def __call__(self, value: Any) -> Any: ...
|
@@ -11,6 +11,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
|
|
11
11
|
from homeassistant.util.dt import utc_from_timestamp as utc_from_timestamp, utcnow as utcnow
|
12
12
|
from homeassistant.util.event_type import EventType as EventType
|
13
13
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
14
|
+
from propcache import cached_property as under_cached_property
|
14
15
|
from typing import Any, Literal, TypedDict
|
15
16
|
|
16
17
|
DATA_REGISTRY: HassKey[AreaRegistry]
|
@@ -46,6 +47,7 @@ class AreaEntry(NormalizedNameBaseRegistryEntry):
|
|
46
47
|
labels: set[str] = ...
|
47
48
|
picture: str | None
|
48
49
|
_cache: dict[str, Any] = ...
|
50
|
+
@under_cached_property
|
49
51
|
def json_fragment(self) -> json_fragment: ...
|
50
52
|
def __init__(self, *, name, created_at=..., modified_at=..., aliases, floor_id, icon, id, labels=..., picture) -> None: ...
|
51
53
|
|
@@ -53,8 +55,8 @@ class AreaRegistryStore(Store[AreasRegistryStoreData]):
|
|
53
55
|
async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, list[dict[str, Any]]]) -> AreasRegistryStoreData: ...
|
54
56
|
|
55
57
|
class AreaRegistryItems(NormalizedNameBaseRegistryItems[AreaEntry]):
|
56
|
-
_labels_index:
|
57
|
-
_floors_index:
|
58
|
+
_labels_index: RegistryIndexType
|
59
|
+
_floors_index: RegistryIndexType
|
58
60
|
def __init__(self) -> None: ...
|
59
61
|
def _index_entry(self, key: str, entry: AreaEntry) -> None: ...
|
60
62
|
def _unindex_entry(self, key: str, replacement_entry: AreaEntry | None = None) -> None: ...
|
@@ -49,7 +49,7 @@ class CategoryRegistryStore(Store[CategoryRegistryStoreData]):
|
|
49
49
|
|
50
50
|
class CategoryRegistry(BaseRegistry[CategoryRegistryStoreData]):
|
51
51
|
hass: Incomplete
|
52
|
-
categories:
|
52
|
+
categories: dict[str, dict[str, CategoryEntry]]
|
53
53
|
_store: Incomplete
|
54
54
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
55
55
|
def async_get_category(self, *, scope: str, category_id: str) -> CategoryEntry | None: ...
|