homeassistant-stubs 2025.1.0b9__py3-none-any.whl → 2025.1.2__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/backup_restore.pyi +0 -1
- homeassistant-stubs/block_async_io.pyi +0 -2
- homeassistant-stubs/bootstrap.pyi +2 -1
- homeassistant-stubs/components/abode/__init__.pyi +2 -3
- homeassistant-stubs/components/abode/camera.pyi +2 -1
- homeassistant-stubs/components/abode/config_flow.pyi +3 -3
- homeassistant-stubs/components/abode/sensor.pyi +0 -1
- homeassistant-stubs/components/acaia/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/acaia/button.pyi +0 -1
- homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
- homeassistant-stubs/components/acaia/sensor.pyi +0 -2
- homeassistant-stubs/components/accuweather/coordinator.pyi +0 -1
- homeassistant-stubs/components/accuweather/sensor.pyi +0 -1
- 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/actiontec/model.pyi +0 -1
- homeassistant-stubs/components/adguard/__init__.pyi +0 -1
- homeassistant-stubs/components/adguard/sensor.pyi +0 -1
- homeassistant-stubs/components/adguard/switch.pyi +0 -1
- homeassistant-stubs/components/aftership/sensor.pyi +2 -2
- homeassistant-stubs/components/airgradient/button.pyi +0 -1
- homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
- homeassistant-stubs/components/airgradient/coordinator.pyi +0 -1
- homeassistant-stubs/components/airgradient/number.pyi +0 -1
- homeassistant-stubs/components/airgradient/select.pyi +0 -1
- homeassistant-stubs/components/airgradient/sensor.pyi +0 -2
- homeassistant-stubs/components/airgradient/switch.pyi +0 -1
- homeassistant-stubs/components/airgradient/update.pyi +2 -0
- homeassistant-stubs/components/airly/sensor.pyi +0 -1
- homeassistant-stubs/components/airnow/sensor.pyi +0 -1
- homeassistant-stubs/components/airq/sensor.pyi +1 -2
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -3
- homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
- homeassistant-stubs/components/airvisual_pro/__init__.pyi +0 -1
- homeassistant-stubs/components/airvisual_pro/config_flow.pyi +2 -3
- homeassistant-stubs/components/airvisual_pro/sensor.pyi +0 -1
- homeassistant-stubs/components/airzone/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/airzone/select.pyi +0 -1
- homeassistant-stubs/components/airzone/switch.pyi +0 -1
- homeassistant-stubs/components/airzone_cloud/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/airzone_cloud/select.pyi +0 -1
- homeassistant-stubs/components/airzone_cloud/switch.pyi +0 -1
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +7 -3
- 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/ambient_station/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/amcrest/__init__.pyi +1 -2
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/amcrest/camera.pyi +9 -8
- homeassistant-stubs/components/analytics/analytics.pyi +1 -2
- homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
- homeassistant-stubs/components/analytics_insights/coordinator.pyi +0 -1
- homeassistant-stubs/components/analytics_insights/sensor.pyi +0 -1
- homeassistant-stubs/components/android_ip_webcam/sensor.pyi +0 -1
- homeassistant-stubs/components/android_ip_webcam/switch.pyi +0 -1
- homeassistant-stubs/components/androidtv/__init__.pyi +0 -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/anova/models.pyi +0 -1
- homeassistant-stubs/components/anova/sensor.pyi +0 -1
- homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
- homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
- homeassistant-stubs/components/apsystems/__init__.pyi +0 -1
- homeassistant-stubs/components/apsystems/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/apsystems/coordinator.pyi +0 -1
- homeassistant-stubs/components/apsystems/sensor.pyi +0 -1
- homeassistant-stubs/components/aqualogic/sensor.pyi +0 -1
- homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
- homeassistant-stubs/components/aranet/sensor.pyi +0 -1
- homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
- homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
- homeassistant-stubs/components/aseko_pool_live/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/aseko_pool_live/sensor.pyi +0 -1
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -3
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +20 -28
- homeassistant-stubs/components/assist_pipeline/vad.pyi +0 -2
- homeassistant-stubs/components/assist_satellite/entity.pyi +1 -6
- 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/asuswrt/sensor.pyi +0 -1
- homeassistant-stubs/components/autarco/sensor.pyi +0 -3
- homeassistant-stubs/components/auth/indieauth.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +15 -2
- homeassistant-stubs/components/automation/trace.pyi +1 -2
- homeassistant-stubs/components/awair/coordinator.pyi +0 -1
- homeassistant-stubs/components/awair/sensor.pyi +0 -1
- homeassistant-stubs/components/axis/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/axis/entity.pyi +0 -1
- homeassistant-stubs/components/axis/hub/config.pyi +0 -1
- homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
- homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
- homeassistant-stubs/components/axis/light.pyi +1 -2
- homeassistant-stubs/components/axis/switch.pyi +1 -2
- homeassistant-stubs/components/backup/agent.pyi +2 -0
- homeassistant-stubs/components/backup/backup.pyi +1 -1
- homeassistant-stubs/components/backup/config.pyi +4 -7
- homeassistant-stubs/components/backup/manager.pyi +11 -20
- homeassistant-stubs/components/backup/models.pyi +0 -2
- homeassistant-stubs/components/backup/store.pyi +1 -1
- homeassistant-stubs/components/baf/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/baf/config_flow.pyi +1 -1
- homeassistant-stubs/components/baf/models.pyi +0 -1
- homeassistant-stubs/components/baf/number.pyi +0 -1
- homeassistant-stubs/components/baf/sensor.pyi +0 -1
- homeassistant-stubs/components/baf/switch.pyi +0 -1
- homeassistant-stubs/components/bang_olufsen/__init__.pyi +0 -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/bayesian/helpers.pyi +2 -3
- homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -3
- homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
- homeassistant-stubs/components/blueprint/importer.pyi +0 -1
- homeassistant-stubs/components/blueprint/models.pyi +1 -1
- homeassistant-stubs/components/bluesound/__init__.pyi +0 -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 -12
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +8 -11
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/bmw_connected_drive/button.pyi +0 -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/bmw_connected_drive/number.pyi +0 -1
- homeassistant-stubs/components/bmw_connected_drive/select.pyi +0 -1
- homeassistant-stubs/components/bmw_connected_drive/sensor.pyi +0 -1
- homeassistant-stubs/components/bmw_connected_drive/switch.pyi +0 -1
- homeassistant-stubs/components/bond/button.pyi +0 -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/models.pyi +0 -1
- homeassistant-stubs/components/bond/utils.pyi +5 -5
- homeassistant-stubs/components/braviatv/button.pyi +0 -1
- 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/brother/sensor.pyi +0 -1
- homeassistant-stubs/components/bthome/config_flow.pyi +3 -5
- homeassistant-stubs/components/button/__init__.pyi +4 -3
- homeassistant-stubs/components/calendar/__init__.pyi +1 -4
- homeassistant-stubs/components/calendar/trigger.pyi +3 -5
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
- homeassistant-stubs/components/cambridge_audio/select.pyi +3 -4
- homeassistant-stubs/components/cambridge_audio/switch.pyi +0 -1
- homeassistant-stubs/components/camera/__init__.pyi +25 -12
- homeassistant-stubs/components/camera/prefs.pyi +1 -2
- homeassistant-stubs/components/camera/webrtc.pyi +2 -7
- 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 +27 -3
- homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
- homeassistant-stubs/components/cloud/backup.pyi +4 -0
- homeassistant-stubs/components/cloud/client.pyi +4 -4
- homeassistant-stubs/components/cloud/prefs.pyi +2 -2
- homeassistant-stubs/components/co2signal/sensor.pyi +0 -1
- 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/cookidoo/coordinator.pyi +0 -1
- homeassistant-stubs/components/counter/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +8 -3
- homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
- homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
- homeassistant-stubs/components/date/__init__.pyi +5 -3
- homeassistant-stubs/components/datetime/__init__.pyi +5 -3
- homeassistant-stubs/components/deconz/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/deconz/button.pyi +1 -2
- homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
- homeassistant-stubs/components/deconz/entity.pyi +1 -1
- homeassistant-stubs/components/deconz/hub/config.pyi +0 -1
- homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
- homeassistant-stubs/components/deconz/light.pyi +2 -2
- homeassistant-stubs/components/deconz/number.pyi +0 -1
- homeassistant-stubs/components/deconz/sensor.pyi +0 -1
- 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_automation/__init__.pyi +0 -1
- homeassistant-stubs/components/device_tracker/config_entry.pyi +12 -6
- 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/__init__.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/devolo_home_network/button.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/image.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/sensor.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/switch.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/update.pyi +1 -2
- homeassistant-stubs/components/dhcp/__init__.pyi +5 -5
- homeassistant-stubs/components/diagnostics/__init__.pyi +2 -4
- homeassistant-stubs/components/discovergy/sensor.pyi +4 -5
- 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 -1
- homeassistant-stubs/components/doorbird/button.pyi +0 -1
- homeassistant-stubs/components/doorbird/camera.pyi +1 -1
- homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
- homeassistant-stubs/components/doorbird/device.pyi +9 -5
- homeassistant-stubs/components/doorbird/models.pyi +0 -1
- homeassistant-stubs/components/dormakaba_dkey/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
- homeassistant-stubs/components/dormakaba_dkey/models.pyi +0 -1
- homeassistant-stubs/components/dsmr/__init__.pyi +0 -1
- homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -2
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/easyenergy/sensor.pyi +0 -1
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/ecovacs/button.pyi +1 -4
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +3 -4
- homeassistant-stubs/components/ecovacs/number.pyi +0 -1
- homeassistant-stubs/components/ecovacs/select.pyi +0 -1
- homeassistant-stubs/components/ecovacs/sensor.pyi +0 -3
- homeassistant-stubs/components/ecovacs/switch.pyi +1 -2
- 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/electric_kiwi/sensor.pyi +0 -2
- homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
- homeassistant-stubs/components/elgato/button.pyi +0 -1
- homeassistant-stubs/components/elgato/coordinator.pyi +0 -1
- homeassistant-stubs/components/elgato/sensor.pyi +0 -1
- homeassistant-stubs/components/elgato/switch.pyi +0 -1
- 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/elkm1/models.pyi +0 -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 -4
- homeassistant-stubs/components/energy/validate.pyi +4 -6
- homeassistant-stubs/components/energyzero/sensor.pyi +0 -1
- homeassistant-stubs/components/enphase_envoy/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
- homeassistant-stubs/components/enphase_envoy/number.pyi +0 -2
- homeassistant-stubs/components/enphase_envoy/select.pyi +0 -2
- homeassistant-stubs/components/enphase_envoy/sensor.pyi +0 -10
- homeassistant-stubs/components/enphase_envoy/switch.pyi +0 -3
- homeassistant-stubs/components/eq3btsmart/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/eq3btsmart/models.pyi +0 -2
- homeassistant-stubs/components/eq3btsmart/number.pyi +0 -1
- homeassistant-stubs/components/eq3btsmart/sensor.pyi +0 -1
- homeassistant-stubs/components/eq3btsmart/switch.pyi +0 -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 +2 -5
- homeassistant-stubs/components/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/esphome/entry_data.pyi +20 -21
- homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
- homeassistant-stubs/components/esphome/ffmpeg_proxy.pyi +2 -4
- homeassistant-stubs/components/esphome/manager.pyi +3 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +5 -5
- 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/faa_delays/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/fan/__init__.pyi +9 -3
- homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
- homeassistant-stubs/components/file_upload/__init__.pyi +0 -1
- homeassistant-stubs/components/filter/sensor.pyi +7 -7
- homeassistant-stubs/components/fitbit/api.pyi +1 -1
- homeassistant-stubs/components/fitbit/coordinator.pyi +0 -1
- homeassistant-stubs/components/fitbit/model.pyi +0 -3
- homeassistant-stubs/components/fitbit/sensor.pyi +0 -1
- homeassistant-stubs/components/flexit_bacnet/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/flexit_bacnet/number.pyi +0 -1
- homeassistant-stubs/components/flexit_bacnet/sensor.pyi +0 -1
- homeassistant-stubs/components/flexit_bacnet/switch.pyi +0 -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/forecast_solar/sensor.pyi +0 -1
- homeassistant-stubs/components/fritz/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/fritz/button.pyi +0 -1
- homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritz/coordinator.pyi +26 -26
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
- homeassistant-stubs/components/fritz/entity.pyi +3 -5
- homeassistant-stubs/components/fritz/image.pyi +1 -1
- homeassistant-stubs/components/fritz/sensor.pyi +0 -1
- homeassistant-stubs/components/fritz/switch.pyi +1 -1
- homeassistant-stubs/components/fritz/update.pyi +1 -2
- homeassistant-stubs/components/fritzbox/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
- homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -3
- homeassistant-stubs/components/fritzbox/light.pyi +1 -1
- homeassistant-stubs/components/fritzbox/model.pyi +0 -1
- homeassistant-stubs/components/fritzbox/sensor.pyi +0 -2
- 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/fronius/sensor.pyi +0 -1
- homeassistant-stubs/components/frontend/__init__.pyi +4 -1
- homeassistant-stubs/components/fully_kiosk/button.pyi +0 -1
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
- homeassistant-stubs/components/fully_kiosk/image.pyi +0 -1
- homeassistant-stubs/components/fully_kiosk/notify.pyi +0 -1
- homeassistant-stubs/components/fully_kiosk/sensor.pyi +0 -1
- homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -3
- homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
- homeassistant-stubs/components/fyta/sensor.pyi +0 -1
- 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/geocaching/sensor.pyi +0 -1
- homeassistant-stubs/components/gios/__init__.pyi +0 -1
- homeassistant-stubs/components/gios/sensor.pyi +0 -1
- homeassistant-stubs/components/glances/coordinator.pyi +1 -1
- homeassistant-stubs/components/glances/sensor.pyi +0 -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 -2
- 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 -4
- homeassistant-stubs/components/google_photos/media_source.pyi +0 -1
- homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/gpsd/sensor.pyi +0 -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 -5
- homeassistant-stubs/components/group/sensor.pyi +4 -4
- homeassistant-stubs/components/guardian/__init__.pyi +2 -3
- homeassistant-stubs/components/guardian/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/guardian/button.pyi +0 -1
- homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
- homeassistant-stubs/components/guardian/entity.pyi +0 -1
- homeassistant-stubs/components/guardian/sensor.pyi +0 -2
- homeassistant-stubs/components/guardian/switch.pyi +0 -1
- homeassistant-stubs/components/guardian/util.pyi +0 -1
- homeassistant-stubs/components/guardian/valve.pyi +0 -1
- homeassistant-stubs/components/hardware/models.pyi +0 -3
- homeassistant-stubs/components/hardware/websocket_api.pyi +0 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
- homeassistant-stubs/components/here_travel_time/model.pyi +0 -1
- homeassistant-stubs/components/history/websocket_api.pyi +0 -1
- homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
- homeassistant-stubs/components/history_stats/data.pyi +2 -4
- homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
- homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -4
- homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
- homeassistant-stubs/components/homeassistant_alerts/coordinator.pyi +0 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -10
- homeassistant-stubs/components/homeassistant_hardware/util.pyi +0 -1
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
- homeassistant-stubs/components/homeassistant_sky_connect/const.pyi +0 -1
- 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/models.pyi +0 -1
- 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/button.pyi +0 -1
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
- homeassistant-stubs/components/homekit_controller/select.pyi +0 -1
- homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
- homeassistant-stubs/components/homewizard/const.pyi +0 -1
- homeassistant-stubs/components/homewizard/sensor.pyi +0 -2
- homeassistant-stubs/components/homewizard/switch.pyi +0 -1
- homeassistant-stubs/components/homeworks/__init__.pyi +0 -1
- homeassistant-stubs/components/http/__init__.pyi +3 -4
- homeassistant-stubs/components/http/ban.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/__init__.pyi +7 -8
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/select.pyi +0 -1
- homeassistant-stubs/components/huawei_lte/sensor.pyi +0 -2
- homeassistant-stubs/components/humidifier/__init__.pyi +11 -3
- homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/husqvarna_automower/button.pyi +0 -1
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/number.pyi +0 -2
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +0 -2
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/hydrawise/coordinator.pyi +5 -7
- homeassistant-stubs/components/hydrawise/sensor.pyi +0 -1
- homeassistant-stubs/components/hydrawise/switch.pyi +0 -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/ibeacon/sensor.pyi +0 -1
- homeassistant-stubs/components/idasen_desk/button.pyi +0 -1
- homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
- homeassistant-stubs/components/idasen_desk/sensor.pyi +0 -1
- homeassistant-stubs/components/image/__init__.pyi +7 -5
- homeassistant-stubs/components/image_processing/__init__.pyi +4 -6
- homeassistant-stubs/components/imap/coordinator.pyi +8 -7
- homeassistant-stubs/components/imgw_pib/__init__.pyi +0 -1
- homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/imgw_pib/sensor.pyi +0 -1
- homeassistant-stubs/components/integration/sensor.pyi +7 -8
- homeassistant-stubs/components/intent/timers.pyi +6 -4
- homeassistant-stubs/components/iotty/__init__.pyi +0 -1
- homeassistant-stubs/components/iotty/coordinator.pyi +0 -1
- homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
- homeassistant-stubs/components/ipp/sensor.pyi +0 -1
- homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
- homeassistant-stubs/components/iron_os/coordinator.pyi +0 -1
- homeassistant-stubs/components/iron_os/number.pyi +0 -1
- homeassistant-stubs/components/iron_os/select.pyi +0 -1
- homeassistant-stubs/components/iron_os/sensor.pyi +0 -1
- 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 -2
- 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/jellyfin/sensor.pyi +0 -1
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/jewish_calendar/entity.pyi +0 -1
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
- homeassistant-stubs/components/jvc_projector/select.pyi +0 -1
- homeassistant-stubs/components/kaleidescape/__init__.pyi +0 -1
- homeassistant-stubs/components/kaleidescape/sensor.pyi +0 -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/project.pyi +0 -1
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -2
- 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/kraken/sensor.pyi +0 -1
- homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
- homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
- homeassistant-stubs/components/lacrosse_view/sensor.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/button.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -2
- homeassistant-stubs/components/lamarzocco/entity.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/number.pyi +0 -2
- homeassistant-stubs/components/lamarzocco/select.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/sensor.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/switch.pyi +0 -1
- homeassistant-stubs/components/lamarzocco/update.pyi +0 -1
- homeassistant-stubs/components/lametric/button.pyi +0 -1
- homeassistant-stubs/components/lametric/number.pyi +0 -1
- homeassistant-stubs/components/lametric/select.pyi +0 -1
- homeassistant-stubs/components/lametric/sensor.pyi +0 -1
- homeassistant-stubs/components/lametric/switch.pyi +0 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +4 -3
- 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/ld2410_ble/models.pyi +0 -1
- homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/led_ble/models.pyi +0 -1
- homeassistant-stubs/components/lektrico/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/lektrico/button.pyi +0 -1
- homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
- homeassistant-stubs/components/lektrico/number.pyi +0 -1
- homeassistant-stubs/components/lektrico/select.pyi +0 -1
- homeassistant-stubs/components/lektrico/sensor.pyi +0 -1
- homeassistant-stubs/components/lektrico/switch.pyi +0 -1
- homeassistant-stubs/components/lidarr/__init__.pyi +0 -1
- homeassistant-stubs/components/lidarr/sensor.pyi +0 -2
- 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 +23 -8
- homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
- homeassistant-stubs/components/linear_garage_door/coordinator.pyi +0 -1
- homeassistant-stubs/components/linkplay/__init__.pyi +0 -1
- homeassistant-stubs/components/linkplay/button.pyi +0 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
- homeassistant-stubs/components/litterrobot/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/litterrobot/button.pyi +1 -3
- homeassistant-stubs/components/litterrobot/select.pyi +0 -2
- homeassistant-stubs/components/litterrobot/sensor.pyi +0 -1
- homeassistant-stubs/components/litterrobot/switch.pyi +0 -2
- homeassistant-stubs/components/litterrobot/time.pyi +1 -3
- homeassistant-stubs/components/lock/__init__.pyi +11 -3
- homeassistant-stubs/components/logbook/models.pyi +7 -1
- homeassistant-stubs/components/logbook/processor.pyi +3 -4
- homeassistant-stubs/components/logbook/websocket_api.pyi +0 -1
- homeassistant-stubs/components/logger/helpers.pyi +1 -3
- 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/lookin/models.pyi +0 -1
- homeassistant-stubs/components/madvr/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/madvr/sensor.pyi +1 -2
- homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
- homeassistant-stubs/components/mastodon/__init__.pyi +0 -1
- homeassistant-stubs/components/mastodon/sensor.pyi +0 -1
- homeassistant-stubs/components/matrix/__init__.pyi +4 -4
- homeassistant-stubs/components/matter/adapter.pyi +2 -2
- homeassistant-stubs/components/matter/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/matter/button.pyi +0 -1
- homeassistant-stubs/components/matter/climate.pyi +1 -1
- homeassistant-stubs/components/matter/config_flow.pyi +4 -3
- homeassistant-stubs/components/matter/entity.pyi +4 -3
- homeassistant-stubs/components/matter/helpers.pyi +0 -1
- homeassistant-stubs/components/matter/models.pyi +0 -2
- homeassistant-stubs/components/matter/number.pyi +1 -2
- homeassistant-stubs/components/matter/select.pyi +1 -2
- homeassistant-stubs/components/matter/sensor.pyi +1 -2
- homeassistant-stubs/components/matter/update.pyi +0 -1
- homeassistant-stubs/components/mealie/coordinator.pyi +0 -2
- homeassistant-stubs/components/mealie/sensor.pyi +0 -1
- homeassistant-stubs/components/media_player/__init__.pyi +37 -4
- homeassistant-stubs/components/media_player/intent.pyi +2 -3
- homeassistant-stubs/components/media_source/models.pyi +0 -2
- homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
- homeassistant-stubs/components/metoffice/data.pyi +0 -1
- 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/minecraft_server/api.pyi +0 -1
- homeassistant-stubs/components/minecraft_server/sensor.pyi +0 -1
- 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/monzo/coordinator.pyi +0 -1
- homeassistant-stubs/components/monzo/sensor.pyi +0 -1
- 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 -13
- homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
- homeassistant-stubs/components/mqtt/debug_info.pyi +0 -1
- homeassistant-stubs/components/mqtt/device_trigger.pyi +2 -4
- homeassistant-stubs/components/mqtt/discovery.pyi +0 -1
- homeassistant-stubs/components/mqtt/entity.pyi +10 -10
- homeassistant-stubs/components/mqtt/models.pyi +20 -24
- homeassistant-stubs/components/mqtt/subscription.pyi +0 -1
- 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/__init__.pyi +0 -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/binary_sensor.pyi +0 -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/myuplink/coordinator.pyi +0 -1
- homeassistant-stubs/components/nam/config_flow.pyi +0 -1
- homeassistant-stubs/components/nam/sensor.pyi +0 -1
- homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
- homeassistant-stubs/components/nasweb/nasweb_data.pyi +2 -3
- 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/event.pyi +0 -1
- homeassistant-stubs/components/nest/media_source.pyi +2 -3
- homeassistant-stubs/components/nest/types.pyi +0 -1
- homeassistant-stubs/components/netatmo/data_handler.pyi +3 -6
- homeassistant-stubs/components/netatmo/entity.pyi +2 -1
- homeassistant-stubs/components/netatmo/helper.pyi +0 -1
- homeassistant-stubs/components/netatmo/sensor.pyi +0 -2
- homeassistant-stubs/components/network/network.pyi +2 -2
- homeassistant-stubs/components/nextdns/__init__.pyi +0 -1
- homeassistant-stubs/components/nextdns/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
- homeassistant-stubs/components/nextdns/sensor.pyi +1 -2
- homeassistant-stubs/components/nextdns/switch.pyi +0 -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/nordpool/sensor.pyi +0 -3
- homeassistant-stubs/components/notify/__init__.pyi +3 -3
- homeassistant-stubs/components/notion/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/notion/config_flow.pyi +2 -3
- homeassistant-stubs/components/notion/coordinator.pyi +5 -6
- homeassistant-stubs/components/notion/entity.pyi +0 -1
- homeassistant-stubs/components/notion/sensor.pyi +1 -2
- homeassistant-stubs/components/number/__init__.pyi +18 -13
- homeassistant-stubs/components/nut/__init__.pyi +3 -5
- homeassistant-stubs/components/nut/config_flow.pyi +4 -4
- homeassistant-stubs/components/onboarding/__init__.pyi +0 -1
- homeassistant-stubs/components/onewire/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
- homeassistant-stubs/components/onewire/entity.pyi +2 -3
- homeassistant-stubs/components/onewire/model.pyi +0 -1
- homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
- homeassistant-stubs/components/onewire/sensor.pyi +0 -1
- homeassistant-stubs/components/onewire/switch.pyi +1 -2
- homeassistant-stubs/components/onkyo/__init__.pyi +0 -1
- homeassistant-stubs/components/onkyo/receiver.pyi +4 -7
- 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 -2
- homeassistant-stubs/components/openuv/sensor.pyi +0 -2
- homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
- homeassistant-stubs/components/otbr/util.pyi +0 -1
- homeassistant-stubs/components/overkiz/__init__.pyi +0 -1
- homeassistant-stubs/components/overkiz/alarm_control_panel.pyi +0 -1
- homeassistant-stubs/components/overkiz/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/overkiz/button.pyi +0 -1
- 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/number.pyi +0 -1
- homeassistant-stubs/components/overkiz/select.pyi +0 -1
- homeassistant-stubs/components/overkiz/sensor.pyi +0 -1
- homeassistant-stubs/components/overkiz/switch.pyi +0 -1
- homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
- homeassistant-stubs/components/peblar/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/peblar/button.pyi +0 -1
- homeassistant-stubs/components/peblar/coordinator.pyi +0 -3
- homeassistant-stubs/components/peblar/number.pyi +0 -1
- homeassistant-stubs/components/peblar/select.pyi +0 -1
- homeassistant-stubs/components/peblar/sensor.pyi +0 -1
- homeassistant-stubs/components/peblar/switch.pyi +0 -1
- homeassistant-stubs/components/peblar/update.pyi +0 -1
- homeassistant-stubs/components/peco/__init__.pyi +0 -1
- homeassistant-stubs/components/peco/sensor.pyi +0 -1
- homeassistant-stubs/components/pi_hole/__init__.pyi +0 -1
- homeassistant-stubs/components/pi_hole/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
- homeassistant-stubs/components/pi_hole/update.pyi +0 -1
- homeassistant-stubs/components/ping/coordinator.pyi +0 -1
- homeassistant-stubs/components/ping/sensor.pyi +0 -1
- homeassistant-stubs/components/plugwise/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
- homeassistant-stubs/components/plugwise/number.pyi +0 -1
- homeassistant-stubs/components/plugwise/select.pyi +0 -1
- homeassistant-stubs/components/plugwise/sensor.pyi +0 -1
- homeassistant-stubs/components/plugwise/switch.pyi +0 -1
- homeassistant-stubs/components/powerfox/sensor.pyi +0 -1
- homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
- homeassistant-stubs/components/powerwall/models.pyi +0 -2
- homeassistant-stubs/components/powerwall/sensor.pyi +0 -1
- homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
- homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
- homeassistant-stubs/components/private_ble_device/sensor.pyi +0 -1
- homeassistant-stubs/components/prometheus/__init__.pyi +3 -4
- homeassistant-stubs/components/proximity/coordinator.pyi +8 -10
- homeassistant-stubs/components/prusalink/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/prusalink/button.pyi +0 -2
- homeassistant-stubs/components/prusalink/sensor.pyi +0 -2
- homeassistant-stubs/components/pure_energie/sensor.pyi +0 -1
- homeassistant-stubs/components/purpleair/config_flow.pyi +4 -5
- homeassistant-stubs/components/purpleair/sensor.pyi +0 -1
- homeassistant-stubs/components/pushbullet/api.pyi +1 -1
- homeassistant-stubs/components/pvoutput/sensor.pyi +0 -1
- homeassistant-stubs/components/qnap_qsw/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/qnap_qsw/button.pyi +0 -1
- homeassistant-stubs/components/qnap_qsw/entity.pyi +0 -2
- homeassistant-stubs/components/qnap_qsw/sensor.pyi +0 -1
- homeassistant-stubs/components/radarr/__init__.pyi +0 -1
- homeassistant-stubs/components/radarr/coordinator.pyi +3 -5
- homeassistant-stubs/components/radarr/sensor.pyi +0 -2
- homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
- homeassistant-stubs/components/rainforest_raven/sensor.pyi +0 -1
- homeassistant-stubs/components/rainmachine/__init__.pyi +0 -1
- homeassistant-stubs/components/rainmachine/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/rainmachine/button.pyi +0 -1
- homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
- homeassistant-stubs/components/rainmachine/entity.pyi +0 -1
- homeassistant-stubs/components/rainmachine/select.pyi +0 -3
- homeassistant-stubs/components/rainmachine/sensor.pyi +2 -4
- homeassistant-stubs/components/rainmachine/switch.pyi +1 -4
- homeassistant-stubs/components/rainmachine/update.pyi +1 -2
- homeassistant-stubs/components/rainmachine/util.pyi +0 -1
- homeassistant-stubs/components/rdw/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/rdw/sensor.pyi +0 -1
- 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/migration.pyi +0 -5
- homeassistant-stubs/components/recorder/models/database.pyi +0 -2
- homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
- homeassistant-stubs/components/recorder/models/state.pyi +12 -2
- homeassistant-stubs/components/recorder/statistics.pyi +1 -4
- 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/recorder/tasks.pyi +0 -13
- homeassistant-stubs/components/remote/__init__.pyi +5 -3
- homeassistant-stubs/components/renault/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/renault/button.pyi +0 -1
- homeassistant-stubs/components/renault/config_flow.pyi +1 -1
- homeassistant-stubs/components/renault/device_tracker.pyi +1 -2
- homeassistant-stubs/components/renault/entity.pyi +1 -3
- homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
- homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -2
- homeassistant-stubs/components/renault/select.pyi +0 -1
- homeassistant-stubs/components/renault/sensor.pyi +0 -1
- homeassistant-stubs/components/reolink/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/reolink/button.pyi +0 -2
- homeassistant-stubs/components/reolink/camera.pyi +0 -1
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/entity.pyi +0 -4
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/light.pyi +0 -2
- homeassistant-stubs/components/reolink/number.pyi +0 -3
- homeassistant-stubs/components/reolink/select.pyi +0 -2
- homeassistant-stubs/components/reolink/sensor.pyi +0 -2
- homeassistant-stubs/components/reolink/siren.pyi +1 -2
- homeassistant-stubs/components/reolink/switch.pyi +0 -3
- homeassistant-stubs/components/reolink/update.pyi +5 -8
- homeassistant-stubs/components/reolink/util.pyi +0 -1
- 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/rfxtrx/sensor.pyi +0 -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/__init__.pyi +0 -1
- homeassistant-stubs/components/ring/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/ring/camera.pyi +4 -5
- homeassistant-stubs/components/ring/coordinator.pyi +5 -5
- homeassistant-stubs/components/ring/entity.pyi +0 -2
- homeassistant-stubs/components/ring/event.pyi +0 -1
- homeassistant-stubs/components/ring/number.pyi +0 -1
- homeassistant-stubs/components/ring/sensor.pyi +0 -1
- homeassistant-stubs/components/ring/siren.pyi +0 -1
- homeassistant-stubs/components/ring/switch.pyi +0 -1
- homeassistant-stubs/components/rituals_perfume_genie/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/rituals_perfume_genie/number.pyi +0 -1
- homeassistant-stubs/components/rituals_perfume_genie/select.pyi +0 -1
- homeassistant-stubs/components/rituals_perfume_genie/sensor.pyi +0 -1
- homeassistant-stubs/components/rituals_perfume_genie/switch.pyi +0 -1
- homeassistant-stubs/components/roborock/__init__.pyi +0 -1
- homeassistant-stubs/components/roborock/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/roborock/button.pyi +0 -1
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
- homeassistant-stubs/components/roborock/models.pyi +0 -3
- homeassistant-stubs/components/roborock/number.pyi +0 -1
- homeassistant-stubs/components/roborock/select.pyi +0 -1
- homeassistant-stubs/components/roborock/sensor.pyi +0 -2
- homeassistant-stubs/components/roborock/switch.pyi +0 -1
- homeassistant-stubs/components/roborock/time.pyi +0 -1
- homeassistant-stubs/components/roku/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/roku/select.pyi +0 -1
- homeassistant-stubs/components/roku/sensor.pyi +0 -1
- homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
- homeassistant-stubs/components/ruuvi_gateway/models.pyi +0 -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/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/schlage/coordinator.pyi +1 -3
- homeassistant-stubs/components/schlage/switch.pyi +0 -1
- homeassistant-stubs/components/script/__init__.pyi +16 -1
- homeassistant-stubs/components/search/__init__.pyi +2 -1
- homeassistant-stubs/components/select/__init__.pyi +4 -3
- homeassistant-stubs/components/sensibo/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/sensibo/button.pyi +0 -1
- homeassistant-stubs/components/sensibo/number.pyi +0 -1
- homeassistant-stubs/components/sensibo/select.pyi +0 -1
- homeassistant-stubs/components/sensibo/sensor.pyi +0 -2
- homeassistant-stubs/components/sensibo/switch.pyi +0 -1
- homeassistant-stubs/components/sensibo/update.pyi +0 -1
- homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/sensor/__init__.pyi +17 -11
- homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/sfr_box/button.pyi +0 -1
- homeassistant-stubs/components/sfr_box/models.pyi +0 -1
- homeassistant-stubs/components/sfr_box/sensor.pyi +0 -1
- homeassistant-stubs/components/shelly/binary_sensor.pyi +3 -8
- homeassistant-stubs/components/shelly/button.pyi +0 -1
- homeassistant-stubs/components/shelly/climate.pyi +8 -8
- homeassistant-stubs/components/shelly/coordinator.pyi +19 -16
- homeassistant-stubs/components/shelly/cover.pyi +1 -1
- homeassistant-stubs/components/shelly/entity.pyi +6 -9
- homeassistant-stubs/components/shelly/event.pyi +0 -2
- homeassistant-stubs/components/shelly/light.pyi +1 -1
- homeassistant-stubs/components/shelly/number.pyi +1 -3
- homeassistant-stubs/components/shelly/select.pyi +1 -2
- homeassistant-stubs/components/shelly/sensor.pyi +5 -10
- homeassistant-stubs/components/shelly/switch.pyi +4 -6
- homeassistant-stubs/components/shelly/text.pyi +1 -2
- homeassistant-stubs/components/shelly/update.pyi +2 -4
- homeassistant-stubs/components/shelly/valve.pyi +2 -3
- 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/button.pyi +0 -1
- homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
- homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
- homeassistant-stubs/components/siren/__init__.pyi +4 -3
- homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/skybell/sensor.pyi +0 -1
- homeassistant-stubs/components/sleepiq/button.pyi +0 -1
- homeassistant-stubs/components/sleepiq/coordinator.pyi +0 -1
- homeassistant-stubs/components/sleepiq/number.pyi +0 -1
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/smlight/__init__.pyi +0 -1
- homeassistant-stubs/components/smlight/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/smlight/button.pyi +0 -1
- homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
- homeassistant-stubs/components/smlight/coordinator.pyi +1 -3
- homeassistant-stubs/components/smlight/sensor.pyi +1 -3
- homeassistant-stubs/components/smlight/switch.pyi +0 -1
- homeassistant-stubs/components/smlight/update.pyi +2 -3
- homeassistant-stubs/components/snooz/config_flow.pyi +4 -5
- homeassistant-stubs/components/snooz/models.pyi +0 -1
- homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
- homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
- homeassistant-stubs/components/solarlog/sensor.pyi +0 -2
- homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
- homeassistant-stubs/components/sonarr/sensor.pyi +1 -3
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
- homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -3
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -3
- homeassistant-stubs/components/spotify/models.pyi +0 -1
- homeassistant-stubs/components/sql/models.pyi +0 -1
- homeassistant-stubs/components/squeezebox/__init__.pyi +0 -1
- 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 +13 -13
- homeassistant-stubs/components/starlink/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/starlink/button.pyi +0 -1
- homeassistant-stubs/components/starlink/coordinator.pyi +0 -1
- homeassistant-stubs/components/starlink/device_tracker.pyi +0 -1
- homeassistant-stubs/components/starlink/sensor.pyi +0 -1
- homeassistant-stubs/components/starlink/switch.pyi +0 -1
- homeassistant-stubs/components/starlink/time.pyi +0 -1
- homeassistant-stubs/components/statistics/sensor.pyi +15 -15
- homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
- homeassistant-stubs/components/steamist/sensor.pyi +0 -1
- homeassistant-stubs/components/stookwijzer/sensor.pyi +0 -1
- homeassistant-stubs/components/stream/__init__.pyi +5 -4
- homeassistant-stubs/components/stream/core.pyi +11 -13
- 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/streamlabswater/coordinator.pyi +0 -1
- homeassistant-stubs/components/streamlabswater/sensor.pyi +0 -1
- homeassistant-stubs/components/stt/models.pyi +0 -2
- homeassistant-stubs/components/suez_water/coordinator.pyi +0 -2
- homeassistant-stubs/components/suez_water/sensor.pyi +0 -1
- homeassistant-stubs/components/sun/entity.pyi +4 -4
- homeassistant-stubs/components/sun/sensor.pyi +0 -1
- homeassistant-stubs/components/switch/__init__.pyi +3 -3
- homeassistant-stubs/components/switchbee/climate.pyi +1 -1
- homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +6 -8
- homeassistant-stubs/components/switcher_kis/button.pyi +0 -1
- homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/synology_dsm/button.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/camera.pyi +0 -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 -6
- homeassistant-stubs/components/synology_dsm/models.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/sensor.pyi +3 -5
- homeassistant-stubs/components/synology_dsm/switch.pyi +1 -2
- homeassistant-stubs/components/synology_dsm/update.pyi +1 -2
- homeassistant-stubs/components/system_health/__init__.pyi +0 -1
- homeassistant-stubs/components/system_log/__init__.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -3
- homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -4
- homeassistant-stubs/components/tag/__init__.pyi +1 -1
- homeassistant-stubs/components/tailscale/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/tailscale/sensor.pyi +0 -1
- homeassistant-stubs/components/tailwind/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/tailwind/button.pyi +0 -1
- homeassistant-stubs/components/tailwind/number.pyi +0 -1
- homeassistant-stubs/components/tami4/button.pyi +0 -2
- homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
- homeassistant-stubs/components/tautulli/sensor.pyi +0 -2
- homeassistant-stubs/components/tcp/entity.pyi +4 -3
- homeassistant-stubs/components/technove/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/technove/number.pyi +0 -1
- homeassistant-stubs/components/technove/sensor.pyi +0 -1
- homeassistant-stubs/components/technove/switch.pyi +0 -1
- homeassistant-stubs/components/tedee/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
- homeassistant-stubs/components/tedee/sensor.pyi +0 -1
- homeassistant-stubs/components/text/__init__.pyi +10 -7
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tibber/sensor.pyi +5 -4
- homeassistant-stubs/components/tile/__init__.pyi +0 -1
- 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 +5 -3
- homeassistant-stubs/components/timer/__init__.pyi +7 -7
- homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/todo/__init__.pyi +2 -2
- homeassistant-stubs/components/tolo/number.pyi +0 -1
- homeassistant-stubs/components/tolo/select.pyi +0 -1
- homeassistant-stubs/components/tolo/sensor.pyi +0 -1
- homeassistant-stubs/components/tolo/switch.pyi +0 -1
- homeassistant-stubs/components/tplink/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/tplink/button.pyi +1 -2
- homeassistant-stubs/components/tplink/camera.pyi +3 -4
- homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink/deprecate.pyi +0 -1
- homeassistant-stubs/components/tplink/entity.pyi +0 -2
- homeassistant-stubs/components/tplink/models.pyi +0 -1
- homeassistant-stubs/components/tplink/number.pyi +1 -2
- homeassistant-stubs/components/tplink/select.pyi +1 -2
- homeassistant-stubs/components/tplink/sensor.pyi +1 -2
- homeassistant-stubs/components/tplink/siren.pyi +1 -1
- homeassistant-stubs/components/tplink/switch.pyi +1 -2
- homeassistant-stubs/components/tplink_omada/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/sensor.pyi +0 -1
- homeassistant-stubs/components/tplink_omada/switch.pyi +0 -4
- homeassistant-stubs/components/trace/models.pyi +10 -9
- homeassistant-stubs/components/tractive/__init__.pyi +2 -3
- homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
- homeassistant-stubs/components/tractive/sensor.pyi +0 -1
- homeassistant-stubs/components/tractive/switch.pyi +0 -1
- 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/tradfri/sensor.pyi +0 -1
- homeassistant-stubs/components/trafikverket_camera/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/trafikverket_camera/coordinator.pyi +0 -1
- homeassistant-stubs/components/trafikverket_camera/sensor.pyi +0 -1
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
- homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +0 -1
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -5
- homeassistant-stubs/components/trafikverket_train/sensor.pyi +0 -1
- homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +0 -1
- homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
- homeassistant-stubs/components/transmission/sensor.pyi +0 -1
- homeassistant-stubs/components/transmission/switch.pyi +0 -1
- homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/tts/__init__.pyi +10 -5
- homeassistant-stubs/components/tts/models.pyi +0 -1
- homeassistant-stubs/components/tts/notify.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/twentemilieu/sensor.pyi +0 -1
- homeassistant-stubs/components/unifi/__init__.pyi +3 -3
- homeassistant-stubs/components/unifi/button.pyi +0 -1
- homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -1
- homeassistant-stubs/components/unifi/entity.pyi +0 -1
- homeassistant-stubs/components/unifi/hub/config.pyi +0 -1
- 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/unifi/image.pyi +0 -1
- homeassistant-stubs/components/unifi/sensor.pyi +0 -1
- homeassistant-stubs/components/unifi/switch.pyi +0 -1
- homeassistant-stubs/components/unifi/update.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +2 -5
- homeassistant-stubs/components/unifiprotect/button.pyi +0 -1
- 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/unifiprotect/entity.pyi +0 -3
- homeassistant-stubs/components/unifiprotect/event.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/number.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/select.pyi +0 -1
- homeassistant-stubs/components/unifiprotect/sensor.pyi +1 -3
- homeassistant-stubs/components/unifiprotect/switch.pyi +1 -2
- homeassistant-stubs/components/unifiprotect/text.pyi +1 -2
- homeassistant-stubs/components/upcloud/__init__.pyi +1 -2
- homeassistant-stubs/components/update/__init__.pyi +15 -5
- homeassistant-stubs/components/usb/__init__.pyi +7 -5
- homeassistant-stubs/components/usb/models.pyi +0 -1
- homeassistant-stubs/components/uvc/camera.pyi +2 -2
- homeassistant-stubs/components/vacuum/__init__.pyi +9 -3
- homeassistant-stubs/components/vallox/binary_sensor.pyi +0 -1
- homeassistant-stubs/components/vallox/number.pyi +0 -1
- homeassistant-stubs/components/vallox/sensor.pyi +0 -1
- homeassistant-stubs/components/vallox/switch.pyi +0 -1
- homeassistant-stubs/components/valve/__init__.pyi +0 -1
- homeassistant-stubs/components/velbus/__init__.pyi +0 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
- homeassistant-stubs/components/velbus/sensor.pyi +1 -1
- homeassistant-stubs/components/vlc_telnet/__init__.pyi +0 -1
- homeassistant-stubs/components/wake_word/models.pyi +0 -2
- homeassistant-stubs/components/wallbox/number.pyi +0 -1
- homeassistant-stubs/components/wallbox/sensor.pyi +0 -1
- homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
- homeassistant-stubs/components/waqi/sensor.pyi +0 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +11 -7
- homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
- homeassistant-stubs/components/weather/__init__.pyi +21 -4
- homeassistant-stubs/components/webhook/trigger.pyi +0 -1
- 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 -2
- homeassistant-stubs/components/wemo/models.pyi +0 -2
- homeassistant-stubs/components/wemo/sensor.pyi +0 -1
- homeassistant-stubs/components/whois/sensor.pyi +0 -1
- homeassistant-stubs/components/withings/__init__.pyi +2 -3
- homeassistant-stubs/components/withings/coordinator.pyi +2 -2
- homeassistant-stubs/components/withings/sensor.pyi +0 -6
- homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
- homeassistant-stubs/components/wiz/models.pyi +0 -1
- homeassistant-stubs/components/wiz/number.pyi +0 -1
- homeassistant-stubs/components/wled/coordinator.pyi +1 -1
- homeassistant-stubs/components/wled/number.pyi +0 -1
- homeassistant-stubs/components/wled/sensor.pyi +0 -1
- homeassistant-stubs/components/workday/repairs.pyi +3 -3
- homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -4
- homeassistant-stubs/components/xiaomi_ble/device_trigger.pyi +0 -1
- 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/yalexs_ble/models.pyi +0 -1
- homeassistant-stubs/components/yalexs_ble/sensor.pyi +0 -1
- homeassistant-stubs/components/youtube/sensor.pyi +0 -1
- homeassistant-stubs/components/zeroconf/__init__.pyi +2 -3
- homeassistant-stubs/components/zone/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi +0 -2
- homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
- homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
- homeassistant-stubs/components/zwave_js/discovery.pyi +3 -7
- homeassistant-stubs/components/zwave_js/discovery_data_template.pyi +4 -14
- homeassistant-stubs/components/zwave_js/event.pyi +1 -1
- homeassistant-stubs/components/zwave_js/helpers.pyi +0 -2
- homeassistant-stubs/components/zwave_js/humidifier.pyi +0 -1
- homeassistant-stubs/components/zwave_js/light.pyi +8 -8
- homeassistant-stubs/components/zwave_js/migrate.pyi +0 -1
- homeassistant-stubs/components/zwave_js/number.pyi +1 -1
- homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
- homeassistant-stubs/components/zwave_js/sensor.pyi +0 -1
- homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +8 -9
- homeassistant-stubs/config.pyi +0 -3
- homeassistant-stubs/config_entries.pyi +11 -8
- homeassistant-stubs/core.pyi +50 -30
- homeassistant-stubs/core_config.pyi +18 -18
- homeassistant-stubs/data_entry_flow.pyi +6 -5
- homeassistant-stubs/exceptions.pyi +0 -4
- homeassistant-stubs/helpers/area_registry.pyi +7 -6
- homeassistant-stubs/helpers/category_registry.pyi +5 -6
- homeassistant-stubs/helpers/check_config.pyi +2 -3
- homeassistant-stubs/helpers/collection.pyi +6 -8
- 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 -2
- homeassistant-stubs/helpers/dispatcher.pyi +8 -8
- homeassistant-stubs/helpers/entity.pyi +44 -18
- 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 -15
- homeassistant-stubs/helpers/floor_registry.pyi +0 -1
- homeassistant-stubs/helpers/frame.pyi +4 -1
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/integration_platform.pyi +0 -1
- homeassistant-stubs/helpers/intent.pyi +19 -21
- homeassistant-stubs/helpers/issue_registry.pyi +1 -2
- homeassistant-stubs/helpers/label_registry.pyi +0 -1
- homeassistant-stubs/helpers/llm.pyi +0 -4
- homeassistant-stubs/helpers/normalized_name_base_registry.pyi +6 -8
- homeassistant-stubs/helpers/ratelimit.pyi +4 -3
- homeassistant-stubs/helpers/recorder.pyi +3 -4
- homeassistant-stubs/helpers/restore_state.pyi +3 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -3
- homeassistant-stubs/helpers/script.pyi +16 -11
- homeassistant-stubs/helpers/script_variables.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +9 -10
- homeassistant-stubs/helpers/service_info/hassio.pyi +0 -1
- homeassistant-stubs/helpers/service_info/mqtt.pyi +0 -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/translation.pyi +0 -1
- homeassistant-stubs/helpers/trigger.pyi +3 -4
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
- homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
- homeassistant-stubs/loader.pyi +23 -6
- homeassistant-stubs/requirements.pyi +4 -3
- homeassistant-stubs/runner.pyi +1 -2
- 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/language.pyi +0 -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/util/yaml/objects.pyi +0 -1
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/RECORD +1204 -1204
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.2.dist-info}/licenses/LICENSE +0 -0
@@ -4,7 +4,7 @@ from .models import BackupManagerError as BackupManagerError, Folder as Folder
|
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from cronsim import CronSim
|
7
|
-
from dataclasses import dataclass
|
7
|
+
from dataclasses import dataclass, field
|
8
8
|
from datetime import datetime
|
9
9
|
from enum import StrEnum
|
10
10
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
@@ -14,6 +14,7 @@ from typing import Self, TypedDict
|
|
14
14
|
|
15
15
|
CRON_PATTERN_DAILY: str
|
16
16
|
CRON_PATTERN_WEEKLY: str
|
17
|
+
BACKUP_START_TIME_JITTER: Incomplete
|
17
18
|
|
18
19
|
class StoredBackupConfig(TypedDict):
|
19
20
|
create_backup: StoredCreateBackupConfig
|
@@ -32,7 +33,6 @@ class BackupConfigData:
|
|
32
33
|
@classmethod
|
33
34
|
def from_dict(cls, data: StoredBackupConfig) -> Self: ...
|
34
35
|
def to_dict(self) -> StoredBackupConfig: ...
|
35
|
-
def __init__(self, *, create_backup, last_attempted_automatic_backup=..., last_completed_automatic_backup=..., retention, schedule) -> None: ...
|
36
36
|
|
37
37
|
class BackupConfig:
|
38
38
|
data: Incomplete
|
@@ -49,7 +49,6 @@ class RetentionConfig:
|
|
49
49
|
def to_dict(self) -> StoredRetentionConfig: ...
|
50
50
|
def _schedule_next(self, manager: BackupManager) -> None: ...
|
51
51
|
def _unschedule_next(self, manager: BackupManager) -> None: ...
|
52
|
-
def __init__(self, *, copies=..., days=...) -> None: ...
|
53
52
|
|
54
53
|
class StoredRetentionConfig(TypedDict):
|
55
54
|
copies: int | None
|
@@ -76,16 +75,15 @@ class ScheduleState(StrEnum):
|
|
76
75
|
@dataclass(kw_only=True)
|
77
76
|
class BackupSchedule:
|
78
77
|
state: ScheduleState = ...
|
79
|
-
cron_event: CronSim | None =
|
78
|
+
cron_event: CronSim | None = field(init=False, default=None)
|
80
79
|
def apply(self, manager: BackupManager) -> None: ...
|
81
80
|
def _schedule_next(self, cron_pattern: str, manager: BackupManager) -> None: ...
|
82
81
|
def to_dict(self) -> StoredBackupSchedule: ...
|
83
82
|
def _unschedule_next(self, manager: BackupManager) -> None: ...
|
84
|
-
def __init__(self, *, state=...) -> None: ...
|
85
83
|
|
86
84
|
@dataclass(kw_only=True)
|
87
85
|
class CreateBackupConfig:
|
88
|
-
agent_ids: list[str] =
|
86
|
+
agent_ids: list[str] = field(default_factory=list)
|
89
87
|
include_addons: list[str] | None = ...
|
90
88
|
include_all_addons: bool = ...
|
91
89
|
include_database: bool = ...
|
@@ -93,7 +91,6 @@ class CreateBackupConfig:
|
|
93
91
|
name: str | None = ...
|
94
92
|
password: str | None = ...
|
95
93
|
def to_dict(self) -> StoredCreateBackupConfig: ...
|
96
|
-
def __init__(self, *, agent_ids=..., include_addons=..., include_all_addons=..., include_database=..., include_folders=..., name=..., password=...) -> None: ...
|
97
94
|
|
98
95
|
class StoredCreateBackupConfig(TypedDict):
|
99
96
|
agent_ids: list[str]
|
@@ -22,21 +22,18 @@ from typing import Any, Protocol, TypedDict
|
|
22
22
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
23
23
|
class NewBackup:
|
24
24
|
backup_job_id: str
|
25
|
-
def __init__(self, *, backup_job_id) -> None: ...
|
26
25
|
|
27
26
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
28
27
|
class ManagerBackup(AgentBackup):
|
29
28
|
agent_ids: list[str]
|
30
29
|
failed_agent_ids: list[str]
|
31
30
|
with_automatic_settings: bool | None
|
32
|
-
def __init__(self, *, addons, backup_id, date, database_included, extra_metadata, folders, homeassistant_included, homeassistant_version, name, protected, size, agent_ids, failed_agent_ids, with_automatic_settings) -> None: ...
|
33
31
|
|
34
32
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
35
33
|
class WrittenBackup:
|
36
34
|
backup: AgentBackup
|
37
35
|
open_stream: Callable[[], Coroutine[Any, Any, AsyncIterator[bytes]]]
|
38
36
|
release_stream: Callable[[], Coroutine[Any, Any, None]]
|
39
|
-
def __init__(self, *, backup, open_stream, release_stream) -> None: ...
|
40
37
|
|
41
38
|
class BackupManagerState(StrEnum):
|
42
39
|
IDLE = 'idle'
|
@@ -88,33 +85,28 @@ class RestoreBackupState(StrEnum):
|
|
88
85
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
89
86
|
class ManagerStateEvent:
|
90
87
|
manager_state: BackupManagerState
|
91
|
-
def __init__(self, *, manager_state) -> None: ...
|
92
88
|
|
93
89
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
94
90
|
class IdleEvent(ManagerStateEvent):
|
95
91
|
manager_state: BackupManagerState = ...
|
96
|
-
def __init__(self, *, manager_state=...) -> None: ...
|
97
92
|
|
98
93
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
99
94
|
class CreateBackupEvent(ManagerStateEvent):
|
100
95
|
manager_state: BackupManagerState = ...
|
101
96
|
stage: CreateBackupStage | None
|
102
97
|
state: CreateBackupState
|
103
|
-
def __init__(self, *, manager_state=..., stage, state) -> None: ...
|
104
98
|
|
105
99
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
106
100
|
class ReceiveBackupEvent(ManagerStateEvent):
|
107
101
|
manager_state: BackupManagerState = ...
|
108
102
|
stage: ReceiveBackupStage | None
|
109
103
|
state: ReceiveBackupState
|
110
|
-
def __init__(self, *, manager_state=..., stage, state) -> None: ...
|
111
104
|
|
112
105
|
@dataclass(frozen=True, kw_only=True, slots=True)
|
113
106
|
class RestoreBackupEvent(ManagerStateEvent):
|
114
107
|
manager_state: BackupManagerState = ...
|
115
108
|
stage: RestoreBackupStage | None
|
116
109
|
state: RestoreBackupState
|
117
|
-
def __init__(self, *, manager_state=..., stage, state) -> None: ...
|
118
110
|
|
119
111
|
class BackupPlatformProtocol(Protocol):
|
120
112
|
async def async_pre_backup(self, hass: HomeAssistant) -> None: ...
|
@@ -133,20 +125,20 @@ class IncorrectPasswordError(BackupReaderWriterError): ...
|
|
133
125
|
|
134
126
|
class BackupManager:
|
135
127
|
hass: Incomplete
|
136
|
-
platforms:
|
137
|
-
backup_agent_platforms:
|
138
|
-
backup_agents:
|
139
|
-
local_backup_agents:
|
128
|
+
platforms: dict[str, BackupPlatformProtocol]
|
129
|
+
backup_agent_platforms: dict[str, BackupAgentPlatformProtocol]
|
130
|
+
backup_agents: dict[str, BackupAgent]
|
131
|
+
local_backup_agents: dict[str, LocalBackupAgent]
|
140
132
|
config: Incomplete
|
141
133
|
_reader_writer: Incomplete
|
142
134
|
known_backups: Incomplete
|
143
135
|
store: Incomplete
|
144
|
-
_backup_task:
|
145
|
-
_backup_finish_task:
|
146
|
-
remove_next_backup_event:
|
147
|
-
remove_next_delete_event:
|
148
|
-
last_event:
|
149
|
-
_backup_event_subscriptions:
|
136
|
+
_backup_task: asyncio.Task[WrittenBackup] | None
|
137
|
+
_backup_finish_task: asyncio.Task[None] | None
|
138
|
+
remove_next_backup_event: Callable[[], None] | None
|
139
|
+
remove_next_delete_event: Callable[[], None] | None
|
140
|
+
last_event: ManagerStateEvent
|
141
|
+
_backup_event_subscriptions: list[Callable[[ManagerStateEvent], None]]
|
150
142
|
def __init__(self, hass: HomeAssistant, reader_writer: BackupReaderWriter) -> None: ...
|
151
143
|
async def async_setup(self) -> None: ...
|
152
144
|
@property
|
@@ -178,7 +170,7 @@ class BackupManager:
|
|
178
170
|
def _update_issue_after_agent_upload(self, agent_errors: dict[str, Exception]) -> None: ...
|
179
171
|
|
180
172
|
class KnownBackups:
|
181
|
-
_backups:
|
173
|
+
_backups: dict[str, KnownBackup]
|
182
174
|
_manager: Incomplete
|
183
175
|
def __init__(self, manager: BackupManager) -> None: ...
|
184
176
|
def load(self, stored_backups: list[StoredKnownBackup]) -> None: ...
|
@@ -192,7 +184,6 @@ class KnownBackup:
|
|
192
184
|
backup_id: str
|
193
185
|
failed_agent_ids: list[str]
|
194
186
|
def to_dict(self) -> StoredKnownBackup: ...
|
195
|
-
def __init__(self, *, backup_id, failed_agent_ids) -> None: ...
|
196
187
|
|
197
188
|
class StoredKnownBackup(TypedDict):
|
198
189
|
backup_id: str
|
@@ -8,7 +8,6 @@ class AddonInfo:
|
|
8
8
|
name: str
|
9
9
|
slug: str
|
10
10
|
version: str
|
11
|
-
def __init__(self, *, name, slug, version) -> None: ...
|
12
11
|
|
13
12
|
class Folder(StrEnum):
|
14
13
|
SHARE = 'share'
|
@@ -33,6 +32,5 @@ class AgentBackup:
|
|
33
32
|
def as_frontend_json(self) -> dict: ...
|
34
33
|
@classmethod
|
35
34
|
def from_dict(cls, data: dict[str, Any]) -> Self: ...
|
36
|
-
def __init__(self, *, addons, backup_id, date, database_included, extra_metadata, folders, homeassistant_included, homeassistant_version, name, protected, size) -> None: ...
|
37
35
|
|
38
36
|
class BackupManagerError(HomeAssistantError): ...
|
@@ -17,7 +17,7 @@ class StoredBackupData(TypedDict):
|
|
17
17
|
class BackupStore:
|
18
18
|
_hass: Incomplete
|
19
19
|
_manager: Incomplete
|
20
|
-
_store:
|
20
|
+
_store: Store[StoredBackupData]
|
21
21
|
def __init__(self, hass: HomeAssistant, manager: BackupManager) -> None: ...
|
22
22
|
async def load(self) -> StoredBackupData | None: ...
|
23
23
|
def save(self) -> None: ...
|
@@ -11,7 +11,6 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
11
11
|
@dataclass(frozen=True, kw_only=True)
|
12
12
|
class BAFBinarySensorDescription(BinarySensorEntityDescription):
|
13
13
|
value_fn: Callable[[Device], bool | None]
|
14
|
-
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=..., value_fn) -> None: ...
|
15
14
|
|
16
15
|
OCCUPANCY_SENSORS: Incomplete
|
17
16
|
|
@@ -13,7 +13,7 @@ async def async_try_connect(ip_address: str) -> Device: ...
|
|
13
13
|
|
14
14
|
class BAFFlowHandler(ConfigFlow, domain=DOMAIN):
|
15
15
|
VERSION: int
|
16
|
-
discovery:
|
16
|
+
discovery: BAFDiscovery | None
|
17
17
|
def __init__(self) -> None: ...
|
18
18
|
async def async_step_zeroconf(self, discovery_info: zeroconf.ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
19
19
|
async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -13,7 +13,6 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
13
13
|
@dataclass(frozen=True, kw_only=True)
|
14
14
|
class BAFNumberDescription(NumberEntityDescription):
|
15
15
|
value_fn: Callable[[Device], int | None]
|
16
|
-
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=..., max_value=..., min_value=..., mode=..., native_max_value=..., native_min_value=..., native_step=..., native_unit_of_measurement=..., step=..., value_fn) -> None: ...
|
17
16
|
|
18
17
|
AUTO_COMFORT_NUMBER_DESCRIPTIONS: Incomplete
|
19
18
|
FAN_NUMBER_DESCRIPTIONS: Incomplete
|
@@ -12,7 +12,6 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEnti
|
|
12
12
|
@dataclass(frozen=True, kw_only=True)
|
13
13
|
class BAFSensorDescription(SensorEntityDescription):
|
14
14
|
value_fn: Callable[[Device], int | float | str | None]
|
15
|
-
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=..., last_reset=..., native_unit_of_measurement=..., options=..., state_class=..., suggested_display_precision=..., suggested_unit_of_measurement=..., value_fn) -> None: ...
|
16
15
|
|
17
16
|
AUTO_COMFORT_SENSORS: Incomplete
|
18
17
|
DEFINED_ONLY_SENSORS: Incomplete
|
@@ -13,7 +13,6 @@ from typing import Any
|
|
13
13
|
@dataclass(frozen=True, kw_only=True)
|
14
14
|
class BAFSwitchDescription(SwitchEntityDescription):
|
15
15
|
value_fn: Callable[[Device], bool | None]
|
16
|
-
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=..., value_fn) -> None: ...
|
17
16
|
|
18
17
|
BASE_SWITCHES: Incomplete
|
19
18
|
AUTO_COMFORT_SWITCHES: Incomplete
|
@@ -13,7 +13,6 @@ from mozart_api.mozart_client import MozartClient
|
|
13
13
|
class BangOlufsenData:
|
14
14
|
websocket: BangOlufsenWebsocket
|
15
15
|
client: MozartClient
|
16
|
-
def __init__(self, websocket, client) -> None: ...
|
17
16
|
type BangOlufsenConfigEntry = ConfigEntry[BangOlufsenData]
|
18
17
|
|
19
18
|
PLATFORMS: Incomplete
|
@@ -5,19 +5,20 @@ from homeassistant.const import CONF_HOST as CONF_HOST
|
|
5
5
|
from homeassistant.core import callback as callback
|
6
6
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
7
7
|
from homeassistant.helpers.entity import Entity as Entity
|
8
|
+
from mozart_api.models import PlaybackContentMetadata, PlaybackProgress, RenderingState, Source, VolumeState
|
8
9
|
from mozart_api.mozart_client import MozartClient as MozartClient
|
9
10
|
|
10
11
|
class BangOlufsenBase:
|
11
12
|
_client: Incomplete
|
12
|
-
entry:
|
13
|
-
_host:
|
14
|
-
_unique_id:
|
15
|
-
_playback_metadata:
|
16
|
-
_playback_progress:
|
17
|
-
_playback_source:
|
18
|
-
_playback_state:
|
19
|
-
_source_change:
|
20
|
-
_volume:
|
13
|
+
entry: ConfigEntry
|
14
|
+
_host: str
|
15
|
+
_unique_id: str
|
16
|
+
_playback_metadata: PlaybackContentMetadata
|
17
|
+
_playback_progress: PlaybackProgress
|
18
|
+
_playback_source: Source
|
19
|
+
_playback_state: RenderingState
|
20
|
+
_source_change: Source
|
21
|
+
_volume: VolumeState
|
21
22
|
def __init__(self, entry: ConfigEntry, client: MozartClient) -> None: ...
|
22
23
|
|
23
24
|
class BangOlufsenEntity(Entity, BangOlufsenBase):
|
@@ -14,7 +14,7 @@ from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
14
14
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
15
15
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback, async_get_current_platform as async_get_current_platform
|
16
16
|
from homeassistant.util.dt import utcnow as utcnow
|
17
|
-
from mozart_api.models import BeolinkLeader as BeolinkLeader, ListeningModeProps as ListeningModeProps, ListeningModeRef as ListeningModeRef, PlaybackContentMetadata as PlaybackContentMetadata, PlaybackError as PlaybackError, PlaybackProgress, RenderingState as RenderingState, Source, VolumeState as VolumeState
|
17
|
+
from mozart_api.models import Art, BeolinkLeader as BeolinkLeader, ListeningModeProps as ListeningModeProps, ListeningModeRef as ListeningModeRef, PlaybackContentMetadata as PlaybackContentMetadata, PlaybackError as PlaybackError, PlaybackProgress, RenderingState as RenderingState, SoftwareUpdateStatus, Source, VolumeState as VolumeState
|
18
18
|
from mozart_api.mozart_client import MozartClient as MozartClient
|
19
19
|
from typing import Any
|
20
20
|
|
@@ -28,21 +28,21 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: BangOlufsenConfig
|
|
28
28
|
class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
|
29
29
|
_attr_name: Incomplete
|
30
30
|
_attr_device_class: Incomplete
|
31
|
-
_beolink_jid:
|
32
|
-
_model:
|
31
|
+
_beolink_jid: str
|
32
|
+
_model: str
|
33
33
|
_attr_device_info: Incomplete
|
34
34
|
_attr_unique_id: Incomplete
|
35
35
|
_attr_should_poll: bool
|
36
|
-
_audio_sources:
|
37
|
-
_media_image:
|
38
|
-
_software_status:
|
39
|
-
_sources:
|
40
|
-
_state:
|
41
|
-
_video_sources:
|
42
|
-
_sound_modes:
|
43
|
-
_beolink_sources:
|
44
|
-
_remote_leader:
|
45
|
-
_beolink_attributes:
|
36
|
+
_audio_sources: dict[str, str]
|
37
|
+
_media_image: Art
|
38
|
+
_software_status: SoftwareUpdateStatus
|
39
|
+
_sources: dict[str, str]
|
40
|
+
_state: str
|
41
|
+
_video_sources: dict[str, str]
|
42
|
+
_sound_modes: dict[str, int]
|
43
|
+
_beolink_sources: dict[str, bool]
|
44
|
+
_remote_leader: BeolinkLeader | None
|
45
|
+
_beolink_attributes: dict[str, dict[str, dict[str, str]]]
|
46
46
|
def __init__(self, entry: ConfigEntry, client: MozartClient) -> None: ...
|
47
47
|
async def async_added_to_hass(self) -> None: ...
|
48
48
|
_volume: Incomplete
|
@@ -41,13 +41,13 @@ class BayesianBinarySensor(BinarySensorEntity):
|
|
41
41
|
_probability_threshold: Incomplete
|
42
42
|
_attr_device_class: Incomplete
|
43
43
|
_attr_is_on: bool
|
44
|
-
_callbacks:
|
44
|
+
_callbacks: list[TrackTemplateResultInfo]
|
45
45
|
prior: Incomplete
|
46
46
|
probability: Incomplete
|
47
|
-
current_observations:
|
47
|
+
current_observations: OrderedDict[UUID, Observation]
|
48
48
|
observations_by_entity: Incomplete
|
49
49
|
observations_by_template: Incomplete
|
50
|
-
observation_handlers:
|
50
|
+
observation_handlers: dict[str, Callable[[Observation, bool], bool | None]]
|
51
51
|
def __init__(self, name: str, unique_id: str | None, prior: float, observations: list[ConfigType], probability_threshold: float, device_class: BinarySensorDeviceClass | None) -> None: ...
|
52
52
|
async def async_added_to_hass(self) -> None: ...
|
53
53
|
def _recalculate_and_write_state(self) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import uuid
|
2
2
|
from .const import CONF_P_GIVEN_F as CONF_P_GIVEN_F, CONF_P_GIVEN_T as CONF_P_GIVEN_T, CONF_TO_STATE as CONF_TO_STATE
|
3
|
-
from dataclasses import dataclass
|
3
|
+
from dataclasses import dataclass, field
|
4
4
|
from homeassistant.const import CONF_ABOVE as CONF_ABOVE, CONF_BELOW as CONF_BELOW, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_PLATFORM as CONF_PLATFORM, CONF_VALUE_TEMPLATE as CONF_VALUE_TEMPLATE
|
5
5
|
from homeassistant.helpers.template import Template as Template
|
6
6
|
|
@@ -16,9 +16,8 @@ class Observation:
|
|
16
16
|
value_template: Template | None
|
17
17
|
observed: bool | None = ...
|
18
18
|
multi: bool = ...
|
19
|
-
id: uuid.UUID =
|
19
|
+
id: uuid.UUID = field(default_factory=uuid.uuid4)
|
20
20
|
def to_dict(self) -> dict[str, str | float | bool | None]: ...
|
21
21
|
def is_mirror(self, other: Observation) -> bool: ...
|
22
22
|
@property
|
23
23
|
def template(self) -> str | None: ...
|
24
|
-
def __init__(self, entity_id, platform, prob_given_true, prob_given_false, to_state, above, below, value_template, observed=..., multi=..., id=...) -> None: ...
|
@@ -8,6 +8,7 @@ from homeassistant.helpers.entity import Entity as Entity, EntityDescription as
|
|
8
8
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
9
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
10
10
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
11
|
+
from propcache import cached_property
|
11
12
|
from typing import Literal
|
12
13
|
|
13
14
|
_LOGGER: Incomplete
|
@@ -56,9 +57,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ..
|
|
56
57
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
57
58
|
|
58
59
|
class BinarySensorEntityDescription(EntityDescription, frozen_or_thawed=True):
|
59
|
-
device_class: BinarySensorDeviceClass | None
|
60
|
-
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: ...
|
61
|
-
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: ...
|
60
|
+
device_class: BinarySensorDeviceClass | None = ...
|
62
61
|
|
63
62
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
64
63
|
|
@@ -69,7 +68,9 @@ class BinarySensorEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_)
|
|
69
68
|
_attr_state: None
|
70
69
|
async def async_internal_added_to_hass(self) -> None: ...
|
71
70
|
def _default_to_device_class_name(self) -> bool: ...
|
71
|
+
@cached_property
|
72
72
|
def device_class(self) -> BinarySensorDeviceClass | None: ...
|
73
|
+
@cached_property
|
73
74
|
def is_on(self) -> bool | None: ...
|
74
75
|
@property
|
75
76
|
def state(self) -> Literal['on', 'off'] | None: ...
|
@@ -6,6 +6,7 @@ from homeassistant.const import ATTR_NAME as ATTR_NAME, CONF_API_TOKEN as CONF_A
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
8
8
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
9
|
+
from typing import Any
|
9
10
|
|
10
11
|
type BlueCurrentConfigEntry = ConfigEntry[Connector]
|
11
12
|
PLATFORMS: Incomplete
|
@@ -23,8 +24,8 @@ class Connector:
|
|
23
24
|
config: Incomplete
|
24
25
|
hass: Incomplete
|
25
26
|
client: Incomplete
|
26
|
-
charge_points:
|
27
|
-
grid:
|
27
|
+
charge_points: dict[str, dict]
|
28
|
+
grid: dict[str, Any]
|
28
29
|
def __init__(self, hass: HomeAssistant, config: BlueCurrentConfigEntry, client: Client) -> None: ...
|
29
30
|
async def on_data(self, message: dict) -> None: ...
|
30
31
|
async def handle_charge_point_data(self, charge_points_data: list) -> None: ...
|
@@ -20,7 +20,6 @@ class ImportedBlueprint:
|
|
20
20
|
suggested_filename: str
|
21
21
|
raw_data: str
|
22
22
|
blueprint: Blueprint
|
23
|
-
def __init__(self, suggested_filename, raw_data, blueprint) -> None: ...
|
24
23
|
|
25
24
|
def _get_github_import_url(url: str) -> str: ...
|
26
25
|
def _get_community_post_import_url(url: str) -> str: ...
|
@@ -42,7 +42,7 @@ class DomainBlueprints:
|
|
42
42
|
logger: Incomplete
|
43
43
|
_blueprint_in_use: Incomplete
|
44
44
|
_reload_blueprint_consumers: Incomplete
|
45
|
-
_blueprints:
|
45
|
+
_blueprints: dict[str, Blueprint | None]
|
46
46
|
_load_lock: Incomplete
|
47
47
|
_blueprint_schema: Incomplete
|
48
48
|
def __init__(self, hass: HomeAssistant, domain: str, logger: logging.Logger, blueprint_in_use: Callable[[HomeAssistant, str], bool], reload_blueprint_consumers: Callable[[HomeAssistant, str], Awaitable[None]], blueprint_schema: Callable[[Any], Any]) -> None: ...
|
@@ -16,7 +16,6 @@ PLATFORMS: Incomplete
|
|
16
16
|
class BluesoundRuntimeData:
|
17
17
|
player: Player
|
18
18
|
sync_status: SyncStatus
|
19
|
-
def __init__(self, player, sync_status) -> None: ...
|
20
19
|
type BluesoundConfigEntry = ConfigEntry[BluesoundRuntimeData]
|
21
20
|
|
22
21
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
@@ -14,9 +14,9 @@ _LOGGER: Incomplete
|
|
14
14
|
class BluesoundConfigFlow(ConfigFlow, domain=DOMAIN):
|
15
15
|
VERSION: int
|
16
16
|
MINOR_VERSION: int
|
17
|
-
_host:
|
17
|
+
_host: str | None
|
18
18
|
_port: Incomplete
|
19
|
-
_sync_status:
|
19
|
+
_sync_status: SyncStatus | None
|
20
20
|
def __init__(self) -> None: ...
|
21
21
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
22
22
|
async def async_step_import(self, import_data: dict[str, Any]) -> ConfigFlowResult: ...
|
@@ -2,6 +2,7 @@ from . import BluesoundConfigEntry as BluesoundConfigEntry
|
|
2
2
|
from .const import ATTR_BLUESOUND_GROUP as ATTR_BLUESOUND_GROUP, ATTR_MASTER as ATTR_MASTER, DOMAIN as DOMAIN, INTEGRATION_TITLE as INTEGRATION_TITLE
|
3
3
|
from .utils import dispatcher_join_signal as dispatcher_join_signal, dispatcher_unjoin_signal as dispatcher_unjoin_signal, format_unique_id as format_unique_id
|
4
4
|
from _typeshed import Incomplete
|
5
|
+
from asyncio import Task
|
5
6
|
from datetime import datetime
|
6
7
|
from homeassistant.components import media_source as media_source
|
7
8
|
from homeassistant.components.media_player import BrowseMedia as BrowseMedia, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState, MediaType as MediaType, async_process_play_media_url as async_process_play_media_url
|
@@ -42,20 +43,20 @@ class BluesoundPlayer(MediaPlayerEntity):
|
|
42
43
|
_attr_name: Incomplete
|
43
44
|
host: Incomplete
|
44
45
|
port: Incomplete
|
45
|
-
_poll_status_loop_task:
|
46
|
-
_poll_sync_status_loop_task:
|
46
|
+
_poll_status_loop_task: Task[None] | None
|
47
|
+
_poll_sync_status_loop_task: Task[None] | None
|
47
48
|
_id: Incomplete
|
48
|
-
_last_status_update:
|
49
|
+
_last_status_update: datetime | None
|
49
50
|
_sync_status: Incomplete
|
50
|
-
_status:
|
51
|
-
_inputs:
|
52
|
-
_presets:
|
53
|
-
_group_name:
|
54
|
-
_group_list:
|
51
|
+
_status: Status | None
|
52
|
+
_inputs: list[Input]
|
53
|
+
_presets: list[Preset]
|
54
|
+
_group_name: str | None
|
55
|
+
_group_list: list[str]
|
55
56
|
_bluesound_device_name: Incomplete
|
56
57
|
_player: Incomplete
|
57
58
|
_is_leader: bool
|
58
|
-
_leader:
|
59
|
+
_leader: BluesoundPlayer | None
|
59
60
|
_attr_unique_id: Incomplete
|
60
61
|
_attr_device_info: Incomplete
|
61
62
|
def __init__(self, host: str, port: int, player: Player, sync_status: SyncStatus) -> None: ...
|
@@ -11,12 +11,12 @@ POLL_DEFAULT_COOLDOWN: int
|
|
11
11
|
POLL_DEFAULT_IMMEDIATE: bool
|
12
12
|
|
13
13
|
class ActiveBluetoothDataUpdateCoordinator[_T](PassiveBluetoothDataUpdateCoordinator):
|
14
|
-
data:
|
14
|
+
data: _T
|
15
15
|
_needs_poll_method: Incomplete
|
16
16
|
_poll_method: Incomplete
|
17
|
-
_last_poll:
|
17
|
+
_last_poll: float | None
|
18
18
|
last_poll_successful: bool
|
19
|
-
_last_service_info:
|
19
|
+
_last_service_info: BluetoothServiceInfoBleak | None
|
20
20
|
_debounced_poll: Incomplete
|
21
21
|
def __init__(self, hass: HomeAssistant, logger: logging.Logger, *, address: str, mode: BluetoothScanningMode, needs_poll_method: Callable[[BluetoothServiceInfoBleak, float | None], bool], poll_method: Callable[[BluetoothServiceInfoBleak], Coroutine[Any, Any, _T]] | None = None, poll_debouncer: Debouncer[Coroutine[Any, Any, None]] | None = None, connectable: bool = True) -> None: ...
|
22
22
|
def needs_poll(self, service_info: BluetoothServiceInfoBleak) -> bool: ...
|
@@ -13,9 +13,9 @@ POLL_DEFAULT_IMMEDIATE: bool
|
|
13
13
|
class ActiveBluetoothProcessorCoordinator[_DataT](PassiveBluetoothProcessorCoordinator[_DataT]):
|
14
14
|
_needs_poll_method: Incomplete
|
15
15
|
_poll_method: Incomplete
|
16
|
-
_last_poll:
|
16
|
+
_last_poll: float | None
|
17
17
|
last_poll_successful: bool
|
18
|
-
_last_service_info:
|
18
|
+
_last_service_info: BluetoothServiceInfoBleak | None
|
19
19
|
_debounced_poll: Incomplete
|
20
20
|
def __init__(self, hass: HomeAssistant, logger: logging.Logger, *, address: str, mode: BluetoothScanningMode, update_method: Callable[[BluetoothServiceInfoBleak], _DataT], needs_poll_method: Callable[[BluetoothServiceInfoBleak, float | None], bool], poll_method: Callable[[BluetoothServiceInfoBleak], Coroutine[Any, Any, _DataT]] | None = None, poll_debouncer: Debouncer[Coroutine[Any, Any, None]] | None = None, connectable: bool = True) -> None: ...
|
21
21
|
def needs_poll(self, service_info: BluetoothServiceInfoBleak) -> bool: ...
|
@@ -16,10 +16,10 @@ def adapter_display_info(adapter: str, details: AdapterDetails) -> str: ...
|
|
16
16
|
|
17
17
|
class BluetoothConfigFlow(ConfigFlow, domain=DOMAIN):
|
18
18
|
VERSION: int
|
19
|
-
_adapter:
|
20
|
-
_details:
|
21
|
-
_adapters:
|
22
|
-
_placeholders:
|
19
|
+
_adapter: str | None
|
20
|
+
_details: AdapterDetails | None
|
21
|
+
_adapters: dict[str, AdapterDetails]
|
22
|
+
_placeholders: dict[str, str]
|
23
23
|
def __init__(self) -> None: ...
|
24
24
|
async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...
|
25
25
|
def _async_set_adapter_info(self, adapter: str, details: AdapterDetails) -> None: ...
|
@@ -22,7 +22,7 @@ class HomeAssistantBluetoothManager(BluetoothManager):
|
|
22
22
|
storage: Incomplete
|
23
23
|
_integration_matcher: Incomplete
|
24
24
|
_callback_index: Incomplete
|
25
|
-
_cancel_logging_listener:
|
25
|
+
_cancel_logging_listener: CALLBACK_TYPE | None
|
26
26
|
def __init__(self, hass: HomeAssistant, integration_matcher: IntegrationMatcher, bluetooth_adapters: BluetoothAdapters, storage: BluetoothStorage, slot_manager: BleakSlotManager) -> None: ...
|
27
27
|
_debug: Incomplete
|
28
28
|
def _async_logging_changed(self, event: Event | None = None) -> None: ...
|
@@ -2,9 +2,11 @@ import re
|
|
2
2
|
from .models import BluetoothCallback as BluetoothCallback, BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from bleak.backends.scanner import AdvertisementData as AdvertisementData
|
5
|
+
from collections import defaultdict
|
5
6
|
from dataclasses import dataclass
|
6
7
|
from homeassistant.core import callback as callback
|
7
8
|
from homeassistant.loader import BluetoothMatcher as BluetoothMatcher, BluetoothMatcherOptional as BluetoothMatcherOptional
|
9
|
+
from lru import LRU
|
8
10
|
from typing import Final, TypedDict
|
9
11
|
|
10
12
|
MAX_REMEMBER_ADDRESSES: Final[int]
|
@@ -34,15 +36,14 @@ class IntegrationMatchHistory:
|
|
34
36
|
manufacturer_data: bool
|
35
37
|
service_data: set[str]
|
36
38
|
service_uuids: set[str]
|
37
|
-
def __init__(self, manufacturer_data, service_data, service_uuids) -> None: ...
|
38
39
|
|
39
40
|
def seen_all_fields(previous_match: IntegrationMatchHistory, advertisement_data: AdvertisementData) -> bool: ...
|
40
41
|
|
41
42
|
class IntegrationMatcher:
|
42
43
|
__slots__: Incomplete
|
43
44
|
_integration_matchers: Incomplete
|
44
|
-
_matched:
|
45
|
-
_matched_connectable:
|
45
|
+
_matched: LRU[str, IntegrationMatchHistory]
|
46
|
+
_matched_connectable: LRU[str, IntegrationMatchHistory]
|
46
47
|
_index: Incomplete
|
47
48
|
def __init__(self, integration_matchers: list[BluetoothMatcher]) -> None: ...
|
48
49
|
def async_setup(self) -> None: ...
|
@@ -51,13 +52,13 @@ class IntegrationMatcher:
|
|
51
52
|
|
52
53
|
class BluetoothMatcherIndexBase[_T: (BluetoothMatcher, BluetoothCallbackMatcherWithCallback)]:
|
53
54
|
__slots__: Incomplete
|
54
|
-
local_name:
|
55
|
-
service_uuid:
|
56
|
-
service_data_uuid:
|
57
|
-
manufacturer_id:
|
58
|
-
service_uuid_set:
|
59
|
-
service_data_uuid_set:
|
60
|
-
manufacturer_id_set:
|
55
|
+
local_name: defaultdict[str, list[_T]]
|
56
|
+
service_uuid: defaultdict[str, list[_T]]
|
57
|
+
service_data_uuid: defaultdict[str, list[_T]]
|
58
|
+
manufacturer_id: defaultdict[int, list[_T]]
|
59
|
+
service_uuid_set: set[str]
|
60
|
+
service_data_uuid_set: set[str]
|
61
|
+
manufacturer_id_set: set[int]
|
61
62
|
def __init__(self) -> None: ...
|
62
63
|
def add(self, matcher: _T) -> bool: ...
|
63
64
|
def remove(self, matcher: _T) -> bool: ...
|
@@ -68,8 +69,8 @@ class BluetoothMatcherIndex(BluetoothMatcherIndexBase[BluetoothMatcher]): ...
|
|
68
69
|
|
69
70
|
class BluetoothCallbackMatcherIndex(BluetoothMatcherIndexBase[BluetoothCallbackMatcherWithCallback]):
|
70
71
|
__slots__: Incomplete
|
71
|
-
address:
|
72
|
-
connectable:
|
72
|
+
address: defaultdict[str, list[BluetoothCallbackMatcherWithCallback]]
|
73
|
+
connectable: list[BluetoothCallbackMatcherWithCallback]
|
73
74
|
def __init__(self) -> None: ...
|
74
75
|
def add_callback_matcher(self, matcher: BluetoothCallbackMatcherWithCallback) -> None: ...
|
75
76
|
def remove_callback_matcher(self, matcher: BluetoothCallbackMatcherWithCallback) -> None: ...
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import logging
|
2
2
|
from . import BluetoothChange as BluetoothChange, BluetoothScanningMode as BluetoothScanningMode, BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
|
3
3
|
from .update_coordinator import BasePassiveBluetoothCoordinator as BasePassiveBluetoothCoordinator
|
4
|
-
from _typeshed import Incomplete
|
5
4
|
from collections.abc import Callable as Callable, Generator
|
6
5
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, callback as callback
|
7
6
|
from homeassistant.helpers.update_coordinator import BaseCoordinatorEntity as BaseCoordinatorEntity, BaseDataUpdateCoordinatorProtocol as BaseDataUpdateCoordinatorProtocol
|
@@ -11,7 +10,7 @@ from typing_extensions import TypeVar
|
|
11
10
|
_PassiveBluetoothDataUpdateCoordinatorT = TypeVar('_PassiveBluetoothDataUpdateCoordinatorT', bound='PassiveBluetoothDataUpdateCoordinator', default='PassiveBluetoothDataUpdateCoordinator')
|
12
11
|
|
13
12
|
class PassiveBluetoothDataUpdateCoordinator(BasePassiveBluetoothCoordinator, BaseDataUpdateCoordinatorProtocol):
|
14
|
-
_listeners:
|
13
|
+
_listeners: dict[CALLBACK_TYPE, tuple[CALLBACK_TYPE, object | None]]
|
15
14
|
def __init__(self, hass: HomeAssistant, logger: logging.Logger, address: str, mode: BluetoothScanningMode, connectable: bool = False) -> None: ...
|
16
15
|
@property
|
17
16
|
def available(self) -> bool: ...
|