homeassistant-stubs 2025.1.0b9__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/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/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/update.pyi +3 -3
- 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.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +641 -641
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -42,7 +42,7 @@ class ItemNotFound(CollectionError):
|
|
42
42
|
def __init__(self, item_id: str) -> None: ...
|
43
43
|
|
44
44
|
class IDManager:
|
45
|
-
collections:
|
45
|
+
collections: list[dict[str, Any]]
|
46
46
|
def __init__(self) -> None: ...
|
47
47
|
def add_collection(self, collection: dict[str, Any]) -> None: ...
|
48
48
|
def has_id(self, item_id: str) -> bool: ...
|
@@ -60,9 +60,9 @@ class CollectionEntity(Entity, metaclass=abc.ABCMeta):
|
|
60
60
|
|
61
61
|
class ObservableCollection[_ItemT](ABC):
|
62
62
|
id_manager: Incomplete
|
63
|
-
data:
|
64
|
-
listeners:
|
65
|
-
change_set_listeners:
|
63
|
+
data: dict[str, _ItemT]
|
64
|
+
listeners: list[ChangeListener]
|
65
|
+
change_set_listeners: list[ChangeSetListener]
|
66
66
|
def __init__(self, id_manager: IDManager | None) -> None: ...
|
67
67
|
def async_items(self) -> list[_ItemT]: ...
|
68
68
|
def async_add_listener(self, listener: ChangeListener) -> Callable[[], None]: ...
|
@@ -146,8 +146,8 @@ class StorageCollectionWebsocket[_StorageCollectionT: StorageCollection]:
|
|
146
146
|
model_name: Incomplete
|
147
147
|
create_schema: Incomplete
|
148
148
|
update_schema: Incomplete
|
149
|
-
_remove_subscription:
|
150
|
-
_subscribers:
|
149
|
+
_remove_subscription: CALLBACK_TYPE | None
|
150
|
+
_subscribers: set[tuple[websocket_api.ActiveConnection, int]]
|
151
151
|
def __init__(self, storage_collection: _StorageCollectionT, api_prefix: str, model_name: str, create_schema: VolDictType, update_schema: VolDictType) -> None: ...
|
152
152
|
@property
|
153
153
|
def item_id_key(self) -> str: ...
|
@@ -63,8 +63,8 @@ class LocalOAuth2Implementation(AbstractOAuth2Implementation):
|
|
63
63
|
class AbstractOAuth2FlowHandler(config_entries.ConfigFlow, metaclass=ABCMeta):
|
64
64
|
DOMAIN: str
|
65
65
|
VERSION: int
|
66
|
-
external_data:
|
67
|
-
flow_impl:
|
66
|
+
external_data: Any
|
67
|
+
flow_impl: AbstractOAuth2Implementation
|
68
68
|
def __init__(self) -> None: ...
|
69
69
|
@property
|
70
70
|
@abstractmethod
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from _typeshed import Incomplete
|
2
3
|
from collections.abc import Callable as Callable
|
3
4
|
from homeassistant.core import HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
|
@@ -9,11 +10,11 @@ class Debouncer[_R_co]:
|
|
9
10
|
_function: Incomplete
|
10
11
|
cooldown: Incomplete
|
11
12
|
immediate: Incomplete
|
12
|
-
_timer_task:
|
13
|
+
_timer_task: asyncio.TimerHandle | None
|
13
14
|
_execute_at_end_of_timer: bool
|
14
15
|
_execute_lock: Incomplete
|
15
16
|
_background: Incomplete
|
16
|
-
_job:
|
17
|
+
_job: HassJob[[], _R_co] | None
|
17
18
|
_shutdown_requested: bool
|
18
19
|
def __init__(self, hass: HomeAssistant, logger: Logger, *, cooldown: float, immediate: bool, function: Callable[[], _R_co] | None = None, background: bool = False) -> None: ...
|
19
20
|
@property
|
@@ -18,6 +18,7 @@ from homeassistant.util.dt import utc_from_timestamp as utc_from_timestamp, utcn
|
|
18
18
|
from homeassistant.util.event_type import EventType as EventType
|
19
19
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
20
20
|
from homeassistant.util.json import format_unserializable_data as format_unserializable_data
|
21
|
+
from propcache import cached_property as under_cached_property
|
21
22
|
from typing import Any, Literal, TypedDict
|
22
23
|
from yarl import URL
|
23
24
|
|
@@ -128,7 +129,9 @@ class DeviceEntry:
|
|
128
129
|
def disabled(self) -> bool: ...
|
129
130
|
@property
|
130
131
|
def dict_repr(self) -> dict[str, Any]: ...
|
132
|
+
@under_cached_property
|
131
133
|
def json_repr(self) -> bytes | None: ...
|
134
|
+
@under_cached_property
|
132
135
|
def as_storage_fragment(self) -> json_fragment: ...
|
133
136
|
def __init__(self, area_id, config_entries, configuration_url, connections, created_at, disabled_by, entry_type, hw_version, id, identifiers, labels, manufacturer, model, model_id, modified_at, name_by_user, name, primary_config_entry, serial_number, suggested_area, sw_version, via_device_id, is_new, cache) -> None: ...
|
134
137
|
def __lt__(self, other): ...
|
@@ -146,6 +149,7 @@ class DeletedDeviceEntry:
|
|
146
149
|
modified_at: datetime
|
147
150
|
_cache: dict[str, Any]
|
148
151
|
def to_device_entry(self, config_entry_id: str, connections: set[tuple[str, str]], identifiers: set[tuple[str, str]]) -> DeviceEntry: ...
|
152
|
+
@under_cached_property
|
149
153
|
def as_storage_fragment(self) -> json_fragment: ...
|
150
154
|
def __init__(self, config_entries, connections, identifiers, id, orphaned_timestamp, created_at, modified_at, cache) -> None: ...
|
151
155
|
def __lt__(self, other): ...
|
@@ -159,17 +163,17 @@ class DeviceRegistryStore(storage.Store[dict[str, list[dict[str, Any]]]]):
|
|
159
163
|
async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, list[dict[str, Any]]]) -> dict[str, Any]: ...
|
160
164
|
|
161
165
|
class DeviceRegistryItems[_EntryTypeT: (DeviceEntry, DeletedDeviceEntry)](BaseRegistryItems[_EntryTypeT]):
|
162
|
-
_connections:
|
163
|
-
_identifiers:
|
166
|
+
_connections: dict[tuple[str, str], _EntryTypeT]
|
167
|
+
_identifiers: dict[tuple[str, str], _EntryTypeT]
|
164
168
|
def __init__(self) -> None: ...
|
165
169
|
def _index_entry(self, key: str, entry: _EntryTypeT) -> None: ...
|
166
170
|
def _unindex_entry(self, key: str, replacement_entry: _EntryTypeT | None = None) -> None: ...
|
167
171
|
def get_entry(self, identifiers: set[tuple[str, str]] | None, connections: set[tuple[str, str]] | None) -> _EntryTypeT | None: ...
|
168
172
|
|
169
173
|
class ActiveDeviceRegistryItems(DeviceRegistryItems[DeviceEntry]):
|
170
|
-
_area_id_index:
|
171
|
-
_config_entry_id_index:
|
172
|
-
_labels_index:
|
174
|
+
_area_id_index: RegistryIndexType
|
175
|
+
_config_entry_id_index: RegistryIndexType
|
176
|
+
_labels_index: RegistryIndexType
|
173
177
|
def __init__(self) -> None: ...
|
174
178
|
def _index_entry(self, key: str, entry: DeviceEntry) -> None: ...
|
175
179
|
def _unindex_entry(self, key: str, replacement_entry: DeviceEntry | None = None) -> None: ...
|
@@ -35,7 +35,7 @@ class PendingFlowValue(NamedTuple):
|
|
35
35
|
class FlowDispatcher:
|
36
36
|
hass: Incomplete
|
37
37
|
started: bool
|
38
|
-
pending_flows:
|
38
|
+
pending_flows: dict[PendingFlowKey, list[PendingFlowValue]]
|
39
39
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
40
40
|
def async_setup(self) -> None: ...
|
41
41
|
async def _async_start(self, event: Event) -> None: ...
|
@@ -12,22 +12,22 @@ DATA_DISPATCHER: str
|
|
12
12
|
type _DispatcherDataType[*_Ts] = dict[SignalType[*_Ts] | str, dict[Callable[[*_Ts], Any] | Callable[..., Any], HassJob[..., None | Coroutine[Any, Any, None]] | None]]
|
13
13
|
|
14
14
|
@overload
|
15
|
-
def dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[
|
15
|
+
def dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], target: Callable[[*_Ts], None]) -> Callable[[], None]: ...
|
16
16
|
@overload
|
17
17
|
def dispatcher_connect(hass: HomeAssistant, signal: str, target: Callable[..., None]) -> Callable[[], None]: ...
|
18
|
-
def _async_remove_dispatcher[*_Ts](dispatchers: _DispatcherDataType[
|
18
|
+
def _async_remove_dispatcher[*_Ts](dispatchers: _DispatcherDataType[*_Ts], signal: SignalType[*_Ts] | str, target: Callable[[*_Ts], Any] | Callable[..., Any]) -> None: ...
|
19
19
|
@overload
|
20
|
-
def async_dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[
|
20
|
+
def async_dispatcher_connect[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], target: Callable[[*_Ts], Any]) -> Callable[[], None]: ...
|
21
21
|
@overload
|
22
22
|
def async_dispatcher_connect(hass: HomeAssistant, signal: str, target: Callable[..., Any]) -> Callable[[], None]: ...
|
23
23
|
@overload
|
24
|
-
def dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[
|
24
|
+
def dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], *args: *_Ts) -> None: ...
|
25
25
|
@overload
|
26
26
|
def dispatcher_send(hass: HomeAssistant, signal: str, *args: Any) -> None: ...
|
27
|
-
def _format_err[*_Ts](signal: SignalType[
|
28
|
-
def _generate_job[*_Ts](signal: SignalType[
|
27
|
+
def _format_err[*_Ts](signal: SignalType[*_Ts] | str, target: Callable[[*_Ts], Any] | Callable[..., Any], *args: Any) -> str: ...
|
28
|
+
def _generate_job[*_Ts](signal: SignalType[*_Ts] | str, target: Callable[[*_Ts], Any] | Callable[..., Any]) -> HassJob[..., Coroutine[Any, Any, None] | None]: ...
|
29
29
|
@overload
|
30
|
-
def async_dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[
|
30
|
+
def async_dispatcher_send[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts], *args: *_Ts) -> None: ...
|
31
31
|
@overload
|
32
32
|
def async_dispatcher_send(hass: HomeAssistant, signal: str, *args: Any) -> None: ...
|
33
|
-
def async_dispatcher_send_internal[*_Ts](hass: HomeAssistant, signal: SignalType[
|
33
|
+
def async_dispatcher_send_internal[*_Ts](hass: HomeAssistant, signal: SignalType[*_Ts] | str, *args: *_Ts) -> None: ...
|
@@ -11,7 +11,7 @@ from _typeshed import Incomplete
|
|
11
11
|
from abc import ABCMeta
|
12
12
|
from collections import deque
|
13
13
|
from collections.abc import Callable as Callable, Coroutine, Iterable, Mapping
|
14
|
-
from enum import Enum
|
14
|
+
from enum import Enum, IntFlag
|
15
15
|
from homeassistant.const import ATTR_ASSUMED_STATE as ATTR_ASSUMED_STATE, ATTR_ATTRIBUTION as ATTR_ATTRIBUTION, ATTR_DEVICE_CLASS as ATTR_DEVICE_CLASS, ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_ICON as ATTR_ICON, ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, DEVICE_DEFAULT_NAME as DEVICE_DEFAULT_NAME, EntityCategory as EntityCategory, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
16
16
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, Event as Event, HassJobType as HassJobType, HomeAssistant as HomeAssistant, ReleaseChannel as ReleaseChannel, callback as callback, get_hassjob_callable_job_type as get_hassjob_callable_job_type, get_release_channel as get_release_channel
|
17
17
|
from homeassistant.core_config import DATA_CUSTOMIZE as DATA_CUSTOMIZE
|
@@ -19,6 +19,7 @@ from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, I
|
|
19
19
|
from homeassistant.loader import async_suggest_report_issue as async_suggest_report_issue, bind_hass as bind_hass
|
20
20
|
from homeassistant.util import ensure_unique_string as ensure_unique_string, slugify as slugify
|
21
21
|
from homeassistant.util.frozen_dataclass_compat import FrozenOrThawed as FrozenOrThawed
|
22
|
+
from propcache import cached_property
|
22
23
|
from typing import Any, Final, Literal, NotRequired, TypedDict
|
23
24
|
|
24
25
|
timer = time.time
|
@@ -57,19 +58,18 @@ _SENTINEL: Incomplete
|
|
57
58
|
|
58
59
|
class EntityDescription(frozen_or_thawed=True, metaclass=FrozenOrThawed):
|
59
60
|
key: str
|
60
|
-
device_class: str | None
|
61
|
-
entity_category: EntityCategory | None
|
62
|
-
entity_registry_enabled_default: bool
|
63
|
-
entity_registry_visible_default: bool
|
64
|
-
force_update: bool
|
65
|
-
icon: str | None
|
66
|
-
has_entity_name: bool
|
67
|
-
name: str | UndefinedType | None
|
68
|
-
translation_key: str | None
|
69
|
-
translation_placeholders: Mapping[str, str] | None
|
70
|
-
unit_of_measurement: str | None
|
61
|
+
device_class: str | None = ...
|
62
|
+
entity_category: EntityCategory | None = ...
|
63
|
+
entity_registry_enabled_default: bool = ...
|
64
|
+
entity_registry_visible_default: bool = ...
|
65
|
+
force_update: bool = ...
|
66
|
+
icon: str | None = ...
|
67
|
+
has_entity_name: bool = ...
|
68
|
+
name: str | UndefinedType | None = ...
|
69
|
+
translation_key: str | None = ...
|
70
|
+
translation_placeholders: Mapping[str, str] | None = ...
|
71
|
+
unit_of_measurement: str | None = ...
|
71
72
|
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
72
|
-
def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
73
73
|
|
74
74
|
@dataclasses.dataclass(frozen=True, slots=True)
|
75
75
|
class CalculatedState:
|
@@ -140,40 +140,68 @@ class Entity(cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCached
|
|
140
140
|
_attr_unit_of_measurement: str | None
|
141
141
|
def __init_subclass__(cls, **kwargs: Any) -> None: ...
|
142
142
|
def get_hassjob_type(self, function_name: str) -> HassJobType: ...
|
143
|
+
@cached_property
|
143
144
|
def should_poll(self) -> bool: ...
|
145
|
+
@cached_property
|
144
146
|
def unique_id(self) -> str | None: ...
|
147
|
+
@cached_property
|
145
148
|
def use_device_name(self) -> bool: ...
|
149
|
+
@cached_property
|
146
150
|
def has_entity_name(self) -> bool: ...
|
147
151
|
def _device_class_name_helper(self, component_translations: dict[str, str]) -> str | None: ...
|
152
|
+
@cached_property
|
148
153
|
def _object_id_device_class_name(self) -> str | None: ...
|
154
|
+
@cached_property
|
149
155
|
def _device_class_name(self) -> str | None: ...
|
150
156
|
def _default_to_device_class_name(self) -> bool: ...
|
157
|
+
@cached_property
|
151
158
|
def _name_translation_key(self) -> str | None: ...
|
159
|
+
@cached_property
|
152
160
|
def _unit_of_measurement_translation_key(self) -> str | None: ...
|
153
161
|
def _substitute_name_placeholders(self, name: str) -> str: ...
|
154
162
|
def _name_internal(self, device_class_name: str | None, platform_translations: dict[str, str]) -> str | UndefinedType | None: ...
|
155
163
|
@property
|
156
164
|
def suggested_object_id(self) -> str | None: ...
|
165
|
+
@cached_property
|
157
166
|
def name(self) -> str | UndefinedType | None: ...
|
167
|
+
@cached_property
|
158
168
|
def state(self) -> StateType: ...
|
169
|
+
@cached_property
|
159
170
|
def capability_attributes(self) -> dict[str, Any] | None: ...
|
160
171
|
def get_initial_entity_options(self) -> er.EntityOptionsType | None: ...
|
172
|
+
@cached_property
|
161
173
|
def state_attributes(self) -> dict[str, Any] | None: ...
|
174
|
+
@cached_property
|
162
175
|
def extra_state_attributes(self) -> Mapping[str, Any] | None: ...
|
176
|
+
@cached_property
|
163
177
|
def device_info(self) -> DeviceInfo | None: ...
|
178
|
+
@cached_property
|
164
179
|
def device_class(self) -> str | None: ...
|
180
|
+
@cached_property
|
165
181
|
def unit_of_measurement(self) -> str | None: ...
|
182
|
+
@cached_property
|
166
183
|
def icon(self) -> str | None: ...
|
184
|
+
@cached_property
|
167
185
|
def entity_picture(self) -> str | None: ...
|
186
|
+
@cached_property
|
168
187
|
def available(self) -> bool: ...
|
188
|
+
@cached_property
|
169
189
|
def assumed_state(self) -> bool: ...
|
190
|
+
@cached_property
|
170
191
|
def force_update(self) -> bool: ...
|
192
|
+
@cached_property
|
171
193
|
def supported_features(self) -> int | None: ...
|
194
|
+
@cached_property
|
172
195
|
def entity_registry_enabled_default(self) -> bool: ...
|
196
|
+
@cached_property
|
173
197
|
def entity_registry_visible_default(self) -> bool: ...
|
198
|
+
@cached_property
|
174
199
|
def attribution(self) -> str | None: ...
|
200
|
+
@cached_property
|
175
201
|
def entity_category(self) -> EntityCategory | None: ...
|
202
|
+
@cached_property
|
176
203
|
def translation_key(self) -> str | None: ...
|
204
|
+
@cached_property
|
177
205
|
def translation_placeholders(self) -> Mapping[str, str]: ...
|
178
206
|
@property
|
179
207
|
def enabled(self) -> bool: ...
|
@@ -212,10 +240,10 @@ class Entity(cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCached
|
|
212
240
|
def __repr__(self) -> str: ...
|
213
241
|
async def async_request_call[_T](self, coro: Coroutine[Any, Any, _T]) -> _T: ...
|
214
242
|
def _suggest_report_issue(self) -> str: ...
|
243
|
+
def _report_deprecated_supported_features_values(self, replacement: IntFlag) -> None: ...
|
215
244
|
|
216
245
|
class ToggleEntityDescription(EntityDescription, frozen_or_thawed=True):
|
217
246
|
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: ...
|
218
|
-
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: ...
|
219
247
|
|
220
248
|
TOGGLE_ENTITY_CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
221
249
|
|
@@ -225,6 +253,7 @@ class ToggleEntity(Entity, cached_properties=TOGGLE_ENTITY_CACHED_PROPERTIES_WIT
|
|
225
253
|
_attr_state: None
|
226
254
|
@property
|
227
255
|
def state(self) -> Literal['on', 'off'] | None: ...
|
256
|
+
@cached_property
|
228
257
|
def is_on(self) -> bool | None: ...
|
229
258
|
def turn_on(self, **kwargs: Any) -> None: ...
|
230
259
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
@@ -26,11 +26,11 @@ class EntityComponent(Generic[_EntityT]):
|
|
26
26
|
hass: Incomplete
|
27
27
|
domain: Incomplete
|
28
28
|
scan_interval: Incomplete
|
29
|
-
config:
|
30
|
-
_platforms:
|
29
|
+
config: ConfigType | None
|
30
|
+
_platforms: dict[str | tuple[str, timedelta | None, str | None], EntityPlatform]
|
31
31
|
async_add_entities: Incomplete
|
32
32
|
add_entities: Incomplete
|
33
|
-
_entities:
|
33
|
+
_entities: dict[str, entity.Entity]
|
34
34
|
def __init__(self, logger: logging.Logger, domain: str, hass: HomeAssistant, scan_interval: timedelta = ...) -> None: ...
|
35
35
|
@property
|
36
36
|
def entities(self) -> Iterable[_EntityT]: ...
|
@@ -48,19 +48,19 @@ class EntityPlatform:
|
|
48
48
|
scan_interval: Incomplete
|
49
49
|
scan_interval_seconds: Incomplete
|
50
50
|
entity_namespace: Incomplete
|
51
|
-
config_entry:
|
52
|
-
entities:
|
53
|
-
component_translations:
|
54
|
-
platform_translations:
|
55
|
-
object_id_component_translations:
|
56
|
-
object_id_platform_translations:
|
57
|
-
default_language_platform_translations:
|
58
|
-
_tasks:
|
51
|
+
config_entry: config_entries.ConfigEntry | None
|
52
|
+
entities: dict[str, Entity]
|
53
|
+
component_translations: dict[str, str]
|
54
|
+
platform_translations: dict[str, str]
|
55
|
+
object_id_component_translations: dict[str, str]
|
56
|
+
object_id_platform_translations: dict[str, str]
|
57
|
+
default_language_platform_translations: dict[str, str]
|
58
|
+
_tasks: list[asyncio.Task[None]]
|
59
59
|
_setup_complete: bool
|
60
|
-
_async_polling_timer:
|
61
|
-
_async_cancel_retry_setup:
|
62
|
-
_process_updates:
|
63
|
-
parallel_updates:
|
60
|
+
_async_polling_timer: asyncio.TimerHandle | None
|
61
|
+
_async_cancel_retry_setup: CALLBACK_TYPE | None
|
62
|
+
_process_updates: asyncio.Lock | None
|
63
|
+
parallel_updates: asyncio.Semaphore | None
|
64
64
|
_update_in_sequence: bool
|
65
65
|
parallel_updates_created: Incomplete
|
66
66
|
domain_entities: Incomplete
|
@@ -19,6 +19,7 @@ from homeassistant.util.event_type import EventType as EventType
|
|
19
19
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
20
20
|
from homeassistant.util.json import format_unserializable_data as format_unserializable_data
|
21
21
|
from homeassistant.util.read_only_dict import ReadOnlyDict as ReadOnlyDict
|
22
|
+
from propcache import cached_property as under_cached_property
|
22
23
|
from typing import Any, Literal, NotRequired, TypedDict
|
23
24
|
|
24
25
|
DATA_REGISTRY: HassKey[EntityRegistry]
|
@@ -99,10 +100,15 @@ class RegistryEntry:
|
|
99
100
|
def hidden(self) -> bool: ...
|
100
101
|
@property
|
101
102
|
def _as_display_dict(self) -> dict[str, Any] | None: ...
|
103
|
+
@under_cached_property
|
102
104
|
def display_json_repr(self) -> bytes | None: ...
|
105
|
+
@under_cached_property
|
103
106
|
def as_partial_dict(self) -> dict[str, Any]: ...
|
107
|
+
@under_cached_property
|
104
108
|
def extended_dict(self) -> dict[str, Any]: ...
|
109
|
+
@under_cached_property
|
105
110
|
def partial_json_repr(self) -> bytes | None: ...
|
111
|
+
@under_cached_property
|
106
112
|
def as_storage_fragment(self) -> json_fragment: ...
|
107
113
|
def write_unavailable_state(self, hass: HomeAssistant) -> None: ...
|
108
114
|
def __init__(self, entity_id, unique_id, platform, previous_unique_id, aliases, area_id, categories, capabilities, config_entry_id, created_at, device_class, device_id, domain, disabled_by, entity_category, hidden_by, icon, id, has_entity_name, labels, modified_at, name, options, original_device_class, original_icon, original_name, supported_features, translation_key, unit_of_measurement, cache) -> None: ...
|
@@ -123,6 +129,7 @@ class DeletedRegistryEntry:
|
|
123
129
|
modified_at: datetime
|
124
130
|
_cache: dict[str, Any]
|
125
131
|
def _domain_default(self) -> str: ...
|
132
|
+
@under_cached_property
|
126
133
|
def as_storage_fragment(self) -> json_fragment: ...
|
127
134
|
def __init__(self, entity_id, unique_id, platform, config_entry_id, domain, id, orphaned_timestamp, created_at, modified_at, cache) -> None: ...
|
128
135
|
def __lt__(self, other): ...
|
@@ -134,12 +141,12 @@ class EntityRegistryStore(storage.Store[dict[str, list[dict[str, Any]]]]):
|
|
134
141
|
async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, list[dict[str, Any]]]) -> dict: ...
|
135
142
|
|
136
143
|
class EntityRegistryItems(BaseRegistryItems[RegistryEntry]):
|
137
|
-
_entry_ids:
|
138
|
-
_index:
|
139
|
-
_config_entry_id_index:
|
140
|
-
_device_id_index:
|
141
|
-
_area_id_index:
|
142
|
-
_labels_index:
|
144
|
+
_entry_ids: dict[str, RegistryEntry]
|
145
|
+
_index: dict[tuple[str, str, str], str]
|
146
|
+
_config_entry_id_index: RegistryIndexType
|
147
|
+
_device_id_index: RegistryIndexType
|
148
|
+
_area_id_index: RegistryIndexType
|
149
|
+
_labels_index: RegistryIndexType
|
143
150
|
def __init__(self) -> None: ...
|
144
151
|
def _index_entry(self, key: str, entry: RegistryEntry) -> None: ...
|
145
152
|
def _unindex_entry(self, key: str, replacement_entry: RegistryEntry | None = None) -> None: ...
|
@@ -120,8 +120,8 @@ class _TrackStateChangeFiltered:
|
|
120
120
|
hass: Incomplete
|
121
121
|
_action: Incomplete
|
122
122
|
_action_as_hassjob: Incomplete
|
123
|
-
_listeners:
|
124
|
-
_last_track_states:
|
123
|
+
_listeners: dict[str, Callable[[], None]]
|
124
|
+
_last_track_states: TrackStates
|
125
125
|
def __init__(self, hass: HomeAssistant, track_states: TrackStates, action: Callable[[Event[EventStateChangedData]], Any]) -> None: ...
|
126
126
|
def async_setup(self) -> None: ...
|
127
127
|
@property
|
@@ -144,11 +144,11 @@ class TrackTemplateResultInfo:
|
|
144
144
|
_job: Incomplete
|
145
145
|
_track_templates: Incomplete
|
146
146
|
_has_super_template: Incomplete
|
147
|
-
_last_result:
|
147
|
+
_last_result: dict[Template, bool | str | TemplateError]
|
148
148
|
_rate_limit: Incomplete
|
149
|
-
_info:
|
150
|
-
_track_state_changes:
|
151
|
-
_time_listeners:
|
149
|
+
_info: dict[Template, RenderInfo]
|
150
|
+
_track_state_changes: _TrackStateChangeFiltered | None
|
151
|
+
_time_listeners: dict[Template, Callable[[], None]]
|
152
152
|
def __init__(self, hass: HomeAssistant, track_templates: Sequence[TrackTemplate], action: TrackTemplateResultListener, has_super_template: bool = False) -> None: ...
|
153
153
|
def __repr__(self) -> str: ...
|
154
154
|
def async_setup(self, strict: bool = False, log_fn: Callable[[int, str], None] | None = None) -> None: ...
|
@@ -6,6 +6,7 @@ from dataclasses import dataclass
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant, async_get_hass_or_none as async_get_hass_or_none
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
8
|
from homeassistant.loader import Integration as Integration, async_get_issue_integration as async_get_issue_integration, async_suggest_report_issue as async_suggest_report_issue
|
9
|
+
from propcache import cached_property
|
9
10
|
from types import FrameType
|
10
11
|
|
11
12
|
_LOGGER: Incomplete
|
@@ -18,8 +19,11 @@ class IntegrationFrame:
|
|
18
19
|
module: str | None
|
19
20
|
relative_filename: str
|
20
21
|
frame: FrameType
|
22
|
+
@cached_property
|
21
23
|
def line_number(self) -> int: ...
|
24
|
+
@cached_property
|
22
25
|
def filename(self) -> str: ...
|
26
|
+
@cached_property
|
23
27
|
def line(self) -> str: ...
|
24
28
|
def __init__(self, *, custom_integration, integration, module, relative_filename, frame) -> None: ...
|
25
29
|
|
@@ -19,8 +19,8 @@ async def _async_get_component_icons(hass: HomeAssistant, components: set[str],
|
|
19
19
|
class _IconsCache:
|
20
20
|
__slots__: Incomplete
|
21
21
|
_hass: Incomplete
|
22
|
-
_loaded:
|
23
|
-
_cache:
|
22
|
+
_loaded: set[str]
|
23
|
+
_cache: dict[str, dict[str, Any]]
|
24
24
|
_lock: Incomplete
|
25
25
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
26
26
|
async def async_fetch(self, category: str, components: set[str]) -> dict[str, dict[str, Any]]: ...
|
@@ -14,6 +14,7 @@ from homeassistant.core import Context as Context, HomeAssistant as HomeAssistan
|
|
14
14
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
15
15
|
from homeassistant.loader import bind_hass as bind_hass
|
16
16
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
17
|
+
from propcache import cached_property
|
17
18
|
from typing import Any
|
18
19
|
|
19
20
|
_LOGGER: Incomplete
|
@@ -141,6 +142,7 @@ class IntentHandler:
|
|
141
142
|
def slot_schema(self) -> dict | None: ...
|
142
143
|
def async_can_handle(self, intent_obj: Intent) -> bool: ...
|
143
144
|
def async_validate_slots(self, slots: _SlotsType) -> _SlotsType: ...
|
145
|
+
@cached_property
|
144
146
|
def _slot_schema(self) -> vol.Schema: ...
|
145
147
|
async def async_handle(self, intent_obj: Intent) -> IntentResponse: ...
|
146
148
|
def __repr__(self) -> str: ...
|
@@ -157,9 +159,10 @@ class DynamicServiceIntentHandler(IntentHandler, metaclass=abc.ABCMeta):
|
|
157
159
|
description: Incomplete
|
158
160
|
platforms: Incomplete
|
159
161
|
device_classes: Incomplete
|
160
|
-
required_slots:
|
161
|
-
optional_slots:
|
162
|
+
required_slots: _IntentSlotsType
|
163
|
+
optional_slots: _IntentSlotsType
|
162
164
|
def __init__(self, intent_type: str, speech: str | None = None, required_slots: _IntentSlotsType | None = None, optional_slots: _IntentSlotsType | None = None, required_domains: set[str] | None = None, required_features: int | None = None, required_states: set[str] | None = None, description: str | None = None, platforms: set[str] | None = None, device_classes: set[type[StrEnum]] | None = None) -> None: ...
|
165
|
+
@cached_property
|
163
166
|
def slot_schema(self) -> dict: ...
|
164
167
|
@abstractmethod
|
165
168
|
def get_domain_and_service(self, intent_obj: Intent, state: State) -> tuple[str, str]: ...
|
@@ -225,16 +228,16 @@ class IntentResponseTarget:
|
|
225
228
|
class IntentResponse:
|
226
229
|
language: Incomplete
|
227
230
|
intent: Incomplete
|
228
|
-
speech:
|
229
|
-
reprompt:
|
230
|
-
card:
|
231
|
-
error_code:
|
232
|
-
intent_targets:
|
233
|
-
success_results:
|
234
|
-
failed_results:
|
235
|
-
matched_states:
|
236
|
-
unmatched_states:
|
237
|
-
speech_slots:
|
231
|
+
speech: dict[str, dict[str, Any]]
|
232
|
+
reprompt: dict[str, dict[str, Any]]
|
233
|
+
card: dict[str, dict[str, str]]
|
234
|
+
error_code: IntentResponseErrorCode | None
|
235
|
+
intent_targets: list[IntentResponseTarget]
|
236
|
+
success_results: list[IntentResponseTarget]
|
237
|
+
failed_results: list[IntentResponseTarget]
|
238
|
+
matched_states: list[State]
|
239
|
+
unmatched_states: list[State]
|
240
|
+
speech_slots: dict[str, Any]
|
238
241
|
response_type: Incomplete
|
239
242
|
def __init__(self, language: str, intent: Intent | None = None) -> None: ...
|
240
243
|
def async_set_speech(self, speech: str, speech_type: str = 'plain', extra_data: Any | None = None) -> None: ...
|
@@ -51,7 +51,7 @@ class IssueRegistryStore(Store[dict[str, list[dict[str, Any]]]]):
|
|
51
51
|
|
52
52
|
class IssueRegistry(BaseRegistry):
|
53
53
|
hass: Incomplete
|
54
|
-
issues:
|
54
|
+
issues: dict[tuple[str, str], IssueEntry]
|
55
55
|
_store: Incomplete
|
56
56
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
57
57
|
def async_get_issue(self, domain: str, issue_id: str) -> IssueEntry | None: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .registry import BaseRegistryItems as BaseRegistryItems
|
2
|
-
from _typeshed import Incomplete
|
3
2
|
from dataclasses import dataclass
|
4
3
|
from datetime import datetime
|
5
4
|
from homeassistant.util import slugify as slugify
|
@@ -16,7 +15,7 @@ class NormalizedNameBaseRegistryEntry:
|
|
16
15
|
def normalize_name(name: str) -> str: ...
|
17
16
|
|
18
17
|
class NormalizedNameBaseRegistryItems[_VT: NormalizedNameBaseRegistryEntry](BaseRegistryItems[_VT]):
|
19
|
-
_normalized_names:
|
18
|
+
_normalized_names: dict[str, _VT]
|
20
19
|
def __init__(self) -> None: ...
|
21
20
|
def _unindex_entry(self, key: str, replacement_entry: _VT | None = None) -> None: ...
|
22
21
|
def _index_entry(self, key: str, entry: _VT) -> None: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from _typeshed import Incomplete
|
2
3
|
from collections.abc import Callable as Callable, Hashable
|
3
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
@@ -6,11 +7,11 @@ _LOGGER: Incomplete
|
|
6
7
|
|
7
8
|
class KeyedRateLimit:
|
8
9
|
hass: Incomplete
|
9
|
-
_last_triggered:
|
10
|
-
_rate_limit_timers:
|
10
|
+
_last_triggered: dict[Hashable, float]
|
11
|
+
_rate_limit_timers: dict[Hashable, asyncio.TimerHandle]
|
11
12
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
12
13
|
def async_has_timer(self, key: Hashable) -> bool: ...
|
13
14
|
def async_triggered(self, key: Hashable, now: float | None = None) -> None: ...
|
14
15
|
def async_cancel_timer(self, key: Hashable) -> None: ...
|
15
16
|
def async_remove(self) -> None: ...
|
16
|
-
def async_schedule_action[*_Ts](self, key: Hashable, rate_limit: float | None, now: float, action: Callable[[
|
17
|
+
def async_schedule_action[*_Ts](self, key: Hashable, rate_limit: float | None, now: float, action: Callable[[*_Ts], None], *args: *_Ts) -> float | None: ...
|
@@ -46,10 +46,10 @@ def async_get(hass: HomeAssistant) -> RestoreStateData: ...
|
|
46
46
|
class RestoreStateData:
|
47
47
|
@classmethod
|
48
48
|
async def async_save_persistent_states(cls, hass: HomeAssistant) -> None: ...
|
49
|
-
hass:
|
49
|
+
hass: HomeAssistant
|
50
50
|
store: Incomplete
|
51
|
-
last_states:
|
52
|
-
entities:
|
51
|
+
last_states: dict[str, StoredState]
|
52
|
+
entities: dict[str, RestoreEntity]
|
53
53
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
54
54
|
async def async_setup(self) -> None: ...
|
55
55
|
async def async_load(self) -> None: ...
|
@@ -33,7 +33,7 @@ class SchemaCommonFlowHandler:
|
|
33
33
|
_flow: Incomplete
|
34
34
|
_handler: Incomplete
|
35
35
|
_options: Incomplete
|
36
|
-
_flow_state:
|
36
|
+
_flow_state: dict[str, Any]
|
37
37
|
def __init__(self, handler: SchemaConfigFlowHandler | SchemaOptionsFlowHandler, flow: Mapping[str, SchemaFlowStep], options: dict[str, Any] | None) -> None: ...
|
38
38
|
@property
|
39
39
|
def parent_handler(self) -> SchemaConfigFlowHandler | SchemaOptionsFlowHandler: ...
|