homeassistant-stubs 2025.1.0b9__py3-none-any.whl → 2025.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant-stubs/auth/__init__.pyi +2 -2
- homeassistant-stubs/auth/auth_store.pyi +4 -4
- homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
- homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
- homeassistant-stubs/auth/models.pyi +3 -0
- homeassistant-stubs/auth/providers/__init__.pyi +4 -4
- homeassistant-stubs/auth/providers/command_line.pyi +1 -1
- homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
- homeassistant-stubs/bootstrap.pyi +2 -1
- homeassistant-stubs/components/abode/camera.pyi +2 -1
- homeassistant-stubs/components/abode/config_flow.pyi +3 -3
- homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
- homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
- homeassistant-stubs/components/acmeda/hub.pyi +4 -3
- homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
- homeassistant-stubs/components/aftership/sensor.pyi +2 -2
- homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
- homeassistant-stubs/components/airgradient/update.pyi +2 -0
- homeassistant-stubs/components/airq/sensor.pyi +1 -1
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
- homeassistant-stubs/components/alert/entity.pyi +1 -1
- homeassistant-stubs/components/alexa/auth.pyi +3 -2
- homeassistant-stubs/components/alexa/config.pyi +3 -3
- homeassistant-stubs/components/alexa/intent.pyi +5 -5
- homeassistant-stubs/components/alexa/resources.pyi +5 -5
- homeassistant-stubs/components/alexa/state_report.pyi +6 -6
- homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
- homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
- homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
- homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/amcrest/camera.pyi +9 -8
- homeassistant-stubs/components/analytics/analytics.pyi +1 -1
- homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
- homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
- homeassistant-stubs/components/anova/coordinator.pyi +1 -1
- homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
- homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
- homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
- homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
- homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
- homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
- homeassistant-stubs/components/asuswrt/router.pyi +8 -8
- homeassistant-stubs/components/auth/indieauth.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +15 -1
- homeassistant-stubs/components/automation/trace.pyi +1 -2
- homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
- homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
- homeassistant-stubs/components/backup/agent.pyi +2 -0
- homeassistant-stubs/components/backup/backup.pyi +1 -1
- homeassistant-stubs/components/backup/manager.pyi +11 -11
- homeassistant-stubs/components/backup/store.pyi +1 -1
- homeassistant-stubs/components/baf/config_flow.pyi +1 -1
- homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
- homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
- homeassistant-stubs/components/blueprint/models.pyi +1 -1
- homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
- homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
- homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
- homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
- homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
- homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
- homeassistant-stubs/components/bluetooth/match.pyi +13 -11
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
- homeassistant-stubs/components/bond/config_flow.pyi +1 -1
- homeassistant-stubs/components/bond/entity.pyi +1 -1
- homeassistant-stubs/components/bond/fan.pyi +3 -3
- homeassistant-stubs/components/bond/utils.pyi +5 -5
- homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
- homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
- homeassistant-stubs/components/brother/config_flow.pyi +3 -2
- homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
- homeassistant-stubs/components/button/__init__.pyi +4 -2
- homeassistant-stubs/components/calendar/__init__.pyi +0 -1
- homeassistant-stubs/components/calendar/trigger.pyi +3 -3
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +24 -9
- homeassistant-stubs/components/camera/prefs.pyi +1 -1
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
- homeassistant-stubs/components/canary/camera.pyi +3 -3
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
- homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
- homeassistant-stubs/components/clickatell/notify.pyi +2 -2
- homeassistant-stubs/components/clicksend/notify.pyi +4 -4
- homeassistant-stubs/components/climate/__init__.pyi +26 -1
- homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
- homeassistant-stubs/components/cloud/client.pyi +4 -4
- homeassistant-stubs/components/cloud/prefs.pyi +2 -2
- homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/command_line/cover.pyi +3 -2
- homeassistant-stubs/components/command_line/sensor.pyi +4 -3
- homeassistant-stubs/components/command_line/switch.pyi +2 -1
- homeassistant-stubs/components/configurator/__init__.pyi +1 -1
- homeassistant-stubs/components/counter/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +8 -2
- homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
- homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
- homeassistant-stubs/components/date/__init__.pyi +4 -1
- homeassistant-stubs/components/datetime/__init__.pyi +4 -1
- homeassistant-stubs/components/deconz/button.pyi +1 -1
- homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
- homeassistant-stubs/components/deconz/entity.pyi +1 -1
- homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
- homeassistant-stubs/components/deconz/light.pyi +2 -2
- homeassistant-stubs/components/demo/cover.pyi +4 -4
- homeassistant-stubs/components/demo/fan.pyi +4 -4
- homeassistant-stubs/components/demo/geo_location.pyi +1 -1
- homeassistant-stubs/components/demo/media_player.pyi +2 -2
- homeassistant-stubs/components/demo/remote.pyi +1 -1
- homeassistant-stubs/components/demo/vacuum.pyi +1 -1
- homeassistant-stubs/components/derivative/sensor.pyi +3 -2
- homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
- homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
- homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
- homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
- homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
- homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
- homeassistant-stubs/components/doorbird/camera.pyi +1 -1
- homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
- homeassistant-stubs/components/doorbird/device.pyi +9 -3
- homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
- homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
- homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
- homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
- homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
- homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
- homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
- homeassistant-stubs/components/elkm1/entity.pyi +1 -1
- homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
- homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
- homeassistant-stubs/components/energy/data.pyi +2 -2
- homeassistant-stubs/components/energy/sensor.pyi +3 -3
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
- homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
- homeassistant-stubs/components/esphome/camera.pyi +2 -1
- homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
- homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
- homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
- homeassistant-stubs/components/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
- homeassistant-stubs/components/esphome/manager.pyi +3 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +5 -3
- homeassistant-stubs/components/evohome/__init__.pyi +7 -5
- homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
- homeassistant-stubs/components/evohome/entity.pyi +3 -3
- homeassistant-stubs/components/fan/__init__.pyi +8 -1
- homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
- homeassistant-stubs/components/filter/sensor.pyi +7 -6
- homeassistant-stubs/components/fitbit/api.pyi +1 -1
- homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
- homeassistant-stubs/components/flux_led/entity.pyi +2 -2
- homeassistant-stubs/components/flux_led/number.pyi +4 -2
- homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
- homeassistant-stubs/components/fritz/entity.pyi +3 -4
- homeassistant-stubs/components/fritz/image.pyi +1 -1
- homeassistant-stubs/components/fritz/switch.pyi +1 -1
- homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
- homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
- homeassistant-stubs/components/fritzbox/light.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
- homeassistant-stubs/components/fronius/__init__.pyi +8 -8
- homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
- homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
- homeassistant-stubs/components/frontend/__init__.pyi +4 -1
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
- homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
- homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
- homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
- homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
- homeassistant-stubs/components/glances/coordinator.pyi +1 -1
- homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
- homeassistant-stubs/components/go2rtc/server.pyi +5 -4
- homeassistant-stubs/components/google/api.pyi +5 -5
- homeassistant-stubs/components/google/calendar.pyi +1 -1
- homeassistant-stubs/components/google/config_flow.pyi +1 -1
- homeassistant-stubs/components/google/coordinator.pyi +1 -1
- homeassistant-stubs/components/google/store.pyi +1 -1
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
- homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
- homeassistant-stubs/components/group/cover.pyi +2 -2
- homeassistant-stubs/components/group/entity.pyi +5 -5
- homeassistant-stubs/components/group/fan.pyi +2 -2
- homeassistant-stubs/components/group/media_player.pyi +1 -1
- homeassistant-stubs/components/group/registry.pyi +4 -4
- homeassistant-stubs/components/group/sensor.pyi +4 -4
- homeassistant-stubs/components/guardian/__init__.pyi +2 -2
- homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
- homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
- homeassistant-stubs/components/history_stats/data.pyi +2 -2
- homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
- homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
- homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
- homeassistant-stubs/components/homekit/__init__.pyi +7 -6
- homeassistant-stubs/components/homekit/accessories.pyi +2 -2
- homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
- homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
- homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
- homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
- homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
- homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
- homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
- homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
- homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
- homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
- homeassistant-stubs/components/http/__init__.pyi +3 -3
- homeassistant-stubs/components/http/ban.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
- homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
- homeassistant-stubs/components/hyperion/camera.pyi +1 -1
- homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
- homeassistant-stubs/components/hyperion/light.pyi +6 -6
- homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
- homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
- homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
- homeassistant-stubs/components/image/__init__.pyi +6 -2
- homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
- homeassistant-stubs/components/imap/coordinator.pyi +8 -7
- homeassistant-stubs/components/integration/sensor.pyi +7 -7
- homeassistant-stubs/components/intent/timers.pyi +6 -3
- homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
- homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
- homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
- homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/isy994/button.pyi +1 -1
- homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
- homeassistant-stubs/components/isy994/entity.pyi +5 -5
- homeassistant-stubs/components/isy994/light.pyi +1 -1
- homeassistant-stubs/components/isy994/number.pyi +2 -2
- homeassistant-stubs/components/isy994/select.pyi +1 -1
- homeassistant-stubs/components/isy994/sensor.pyi +2 -2
- homeassistant-stubs/components/isy994/switch.pyi +1 -1
- homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
- homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
- homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
- homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
- homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
- homeassistant-stubs/components/knx/__init__.pyi +7 -6
- homeassistant-stubs/components/knx/climate.pyi +3 -3
- homeassistant-stubs/components/knx/config_flow.pyi +10 -9
- homeassistant-stubs/components/knx/cover.pyi +1 -1
- homeassistant-stubs/components/knx/device.pyi +1 -1
- homeassistant-stubs/components/knx/expose.pyi +7 -6
- homeassistant-stubs/components/knx/fan.pyi +1 -1
- homeassistant-stubs/components/knx/light.pyi +6 -4
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
- homeassistant-stubs/components/knx/telegrams.pyi +3 -2
- homeassistant-stubs/components/kraken/__init__.pyi +2 -2
- homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
- homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
- homeassistant-stubs/components/lcn/entity.pyi +3 -3
- homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
- homeassistant-stubs/components/lifx/__init__.pyi +1 -1
- homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
- homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
- homeassistant-stubs/components/lifx/light.pyi +3 -2
- homeassistant-stubs/components/lifx/manager.pyi +1 -1
- homeassistant-stubs/components/light/__init__.pyi +19 -2
- homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
- homeassistant-stubs/components/lock/__init__.pyi +10 -1
- homeassistant-stubs/components/logbook/models.pyi +7 -0
- homeassistant-stubs/components/logbook/processor.pyi +3 -3
- homeassistant-stubs/components/logger/helpers.pyi +1 -1
- homeassistant-stubs/components/lookin/__init__.pyi +2 -2
- homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
- homeassistant-stubs/components/lookin/entity.pyi +2 -2
- homeassistant-stubs/components/lookin/media_player.pyi +1 -1
- homeassistant-stubs/components/madvr/sensor.pyi +1 -1
- homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
- homeassistant-stubs/components/matrix/__init__.pyi +4 -4
- homeassistant-stubs/components/matter/adapter.pyi +2 -2
- homeassistant-stubs/components/matter/climate.pyi +1 -1
- homeassistant-stubs/components/matter/config_flow.pyi +4 -3
- homeassistant-stubs/components/matter/entity.pyi +4 -2
- homeassistant-stubs/components/media_player/__init__.pyi +37 -3
- homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
- homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
- homeassistant-stubs/components/mikrotik/device.pyi +3 -3
- homeassistant-stubs/components/min_max/sensor.pyi +11 -11
- homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/climate.pyi +4 -4
- homeassistant-stubs/components/modbus/entity.pyi +5 -5
- homeassistant-stubs/components/modbus/modbus.pyi +4 -3
- homeassistant-stubs/components/modbus/sensor.pyi +1 -1
- homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
- homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
- homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
- homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
- homeassistant-stubs/components/motionmount/select.pyi +1 -1
- homeassistant-stubs/components/mqtt/client.pyi +13 -12
- homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
- homeassistant-stubs/components/mqtt/entity.pyi +10 -10
- homeassistant-stubs/components/mqtt/models.pyi +3 -3
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/util.pyi +2 -2
- homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
- homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
- homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
- homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
- homeassistant-stubs/components/mysensors/entity.pyi +7 -7
- homeassistant-stubs/components/mysensors/light.pyi +1 -1
- homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
- homeassistant-stubs/components/neato/camera.pyi +4 -4
- homeassistant-stubs/components/neato/entity.pyi +1 -1
- homeassistant-stubs/components/neato/hub.pyi +1 -1
- homeassistant-stubs/components/neato/sensor.pyi +3 -2
- homeassistant-stubs/components/neato/switch.pyi +2 -2
- homeassistant-stubs/components/neato/vacuum.pyi +18 -18
- homeassistant-stubs/components/nest/camera.pyi +4 -4
- homeassistant-stubs/components/nest/config_flow.pyi +5 -5
- homeassistant-stubs/components/nest/media_source.pyi +2 -2
- homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
- homeassistant-stubs/components/netatmo/entity.pyi +2 -1
- homeassistant-stubs/components/network/network.pyi +2 -2
- homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
- homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
- homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
- homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
- homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
- homeassistant-stubs/components/notify/__init__.pyi +2 -1
- homeassistant-stubs/components/number/__init__.pyi +18 -11
- homeassistant-stubs/components/nut/__init__.pyi +3 -3
- homeassistant-stubs/components/nut/config_flow.pyi +4 -4
- homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
- homeassistant-stubs/components/onewire/entity.pyi +2 -2
- homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
- homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
- homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
- homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
- homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
- homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
- homeassistant-stubs/components/overkiz/light.pyi +1 -1
- homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
- homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
- homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
- homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
- homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
- homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
- homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
- homeassistant-stubs/components/pushbullet/api.pyi +1 -1
- homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
- homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
- homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
- homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
- homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
- homeassistant-stubs/components/recorder/core.pyi +26 -22
- homeassistant-stubs/components/recorder/executor.pyi +1 -1
- homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
- homeassistant-stubs/components/recorder/models/state.pyi +12 -2
- homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
- homeassistant-stubs/components/remote/__init__.pyi +4 -1
- homeassistant-stubs/components/renault/config_flow.pyi +1 -1
- homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
- homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/update.pyi +3 -3
- homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rest/data.pyi +4 -4
- homeassistant-stubs/components/rest/switch.pyi +10 -10
- homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
- homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
- homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
- homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
- homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
- homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/ring/camera.pyi +4 -4
- homeassistant-stubs/components/ring/coordinator.pyi +5 -5
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
- homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
- homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
- homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
- homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
- homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
- homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
- homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
- homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
- homeassistant-stubs/components/script/__init__.pyi +16 -0
- homeassistant-stubs/components/search/__init__.pyi +2 -1
- homeassistant-stubs/components/select/__init__.pyi +4 -2
- homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/sensor/__init__.pyi +17 -9
- homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
- homeassistant-stubs/components/shelly/climate.pyi +8 -7
- homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
- homeassistant-stubs/components/shelly/cover.pyi +1 -1
- homeassistant-stubs/components/shelly/entity.pyi +6 -6
- homeassistant-stubs/components/shelly/light.pyi +1 -1
- homeassistant-stubs/components/shelly/number.pyi +1 -1
- homeassistant-stubs/components/shelly/sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/switch.pyi +2 -2
- homeassistant-stubs/components/shelly/update.pyi +2 -2
- homeassistant-stubs/components/shelly/valve.pyi +1 -1
- homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
- homeassistant-stubs/components/simplepush/notify.pyi +4 -4
- homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
- homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
- homeassistant-stubs/components/siren/__init__.pyi +4 -2
- homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
- homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
- homeassistant-stubs/components/smlight/sensor.pyi +1 -1
- homeassistant-stubs/components/smlight/update.pyi +2 -2
- homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
- homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
- homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
- homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
- homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
- homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
- homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
- homeassistant-stubs/components/statistics/sensor.pyi +15 -15
- homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
- homeassistant-stubs/components/stream/__init__.pyi +5 -4
- homeassistant-stubs/components/stream/core.pyi +7 -6
- homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
- homeassistant-stubs/components/stream/recorder.pyi +1 -1
- homeassistant-stubs/components/stream/worker.pyi +6 -4
- homeassistant-stubs/components/sun/entity.pyi +4 -4
- homeassistant-stubs/components/switch/__init__.pyi +3 -2
- homeassistant-stubs/components/switchbee/climate.pyi +1 -1
- homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
- homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
- homeassistant-stubs/components/system_log/__init__.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
- homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
- homeassistant-stubs/components/tag/__init__.pyi +1 -1
- homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
- homeassistant-stubs/components/tcp/entity.pyi +4 -3
- homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
- homeassistant-stubs/components/text/__init__.pyi +10 -5
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tibber/sensor.pyi +5 -4
- homeassistant-stubs/components/tile/config_flow.pyi +2 -2
- homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/time/__init__.pyi +4 -1
- homeassistant-stubs/components/timer/__init__.pyi +7 -7
- homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/todo/__init__.pyi +2 -0
- homeassistant-stubs/components/tplink/camera.pyi +2 -2
- homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink/siren.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
- homeassistant-stubs/components/trace/models.pyi +10 -9
- homeassistant-stubs/components/tractive/__init__.pyi +2 -1
- homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
- homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
- homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
- homeassistant-stubs/components/tradfri/entity.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
- homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
- homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/tts/__init__.pyi +10 -5
- homeassistant-stubs/components/tts/notify.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/unifi/__init__.pyi +3 -3
- homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
- homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
- homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
- homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
- homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
- homeassistant-stubs/components/update/__init__.pyi +15 -4
- homeassistant-stubs/components/usb/__init__.pyi +7 -4
- homeassistant-stubs/components/uvc/camera.pyi +2 -2
- homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
- homeassistant-stubs/components/velbus/sensor.pyi +1 -1
- homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
- homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
- homeassistant-stubs/components/weather/__init__.pyi +20 -2
- homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
- homeassistant-stubs/components/webostv/media_player.pyi +1 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
- homeassistant-stubs/components/websocket_api/http.pyi +9 -7
- homeassistant-stubs/components/wemo/__init__.pyi +6 -6
- homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
- homeassistant-stubs/components/withings/coordinator.pyi +2 -2
- homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
- homeassistant-stubs/components/wled/coordinator.pyi +1 -1
- homeassistant-stubs/components/workday/repairs.pyi +3 -3
- homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
- homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
- homeassistant-stubs/components/zone/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
- homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
- homeassistant-stubs/components/zwave_js/event.pyi +1 -1
- homeassistant-stubs/components/zwave_js/light.pyi +8 -8
- homeassistant-stubs/components/zwave_js/number.pyi +1 -1
- homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
- homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +8 -8
- homeassistant-stubs/config_entries.pyi +11 -8
- homeassistant-stubs/core.pyi +50 -28
- homeassistant-stubs/core_config.pyi +18 -18
- homeassistant-stubs/data_entry_flow.pyi +6 -5
- homeassistant-stubs/helpers/area_registry.pyi +4 -2
- homeassistant-stubs/helpers/category_registry.pyi +1 -1
- homeassistant-stubs/helpers/check_config.pyi +2 -3
- homeassistant-stubs/helpers/collection.pyi +6 -6
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
- homeassistant-stubs/helpers/debounce.pyi +3 -2
- homeassistant-stubs/helpers/device_registry.pyi +9 -5
- homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
- homeassistant-stubs/helpers/dispatcher.pyi +8 -8
- homeassistant-stubs/helpers/entity.pyi +43 -14
- homeassistant-stubs/helpers/entity_component.pyi +3 -3
- homeassistant-stubs/helpers/entity_platform.pyi +12 -12
- homeassistant-stubs/helpers/entity_registry.pyi +13 -6
- homeassistant-stubs/helpers/entityfilter.pyi +1 -1
- homeassistant-stubs/helpers/event.pyi +6 -6
- homeassistant-stubs/helpers/frame.pyi +4 -0
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/intent.pyi +15 -12
- homeassistant-stubs/helpers/issue_registry.pyi +1 -1
- homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
- homeassistant-stubs/helpers/ratelimit.pyi +4 -3
- homeassistant-stubs/helpers/restore_state.pyi +3 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
- homeassistant-stubs/helpers/script.pyi +16 -10
- homeassistant-stubs/helpers/script_variables.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +1 -1
- homeassistant-stubs/helpers/significant_change.pyi +1 -1
- homeassistant-stubs/helpers/storage.pyi +12 -9
- homeassistant-stubs/helpers/template.pyi +22 -18
- homeassistant-stubs/helpers/trace.pyi +6 -6
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
- homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
- homeassistant-stubs/loader.pyi +23 -4
- homeassistant-stubs/requirements.pyi +4 -3
- homeassistant-stubs/util/aiohttp.pyi +2 -2
- homeassistant-stubs/util/async_.pyi +1 -1
- homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
- homeassistant-stubs/util/logging.pyi +7 -7
- homeassistant-stubs/util/signal_type.pyi +1 -1
- homeassistant-stubs/util/timeout.pyi +29 -30
- homeassistant-stubs/util/yaml/loader.pyi +4 -1
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +641 -641
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -3,6 +3,7 @@ from .const import CONF_APPS as CONF_APPS, CONF_EXCLUDE_UNNAMED_APPS as CONF_EXC
|
|
3
3
|
from .entity import AndroidTVEntity as AndroidTVEntity, adb_decorator as adb_decorator
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from androidtv.setup_async import AndroidTVAsync as AndroidTVAsync, FireTVAsync as FireTVAsync
|
6
|
+
from datetime import datetime, timedelta
|
6
7
|
from homeassistant.components import persistent_notification as persistent_notification
|
7
8
|
from homeassistant.components.media_player import MediaPlayerDeviceClass as MediaPlayerDeviceClass, MediaPlayerEntity as MediaPlayerEntity, MediaPlayerEntityFeature as MediaPlayerEntityFeature, MediaPlayerState as MediaPlayerState
|
8
9
|
from homeassistant.const import ATTR_COMMAND as ATTR_COMMAND
|
@@ -29,16 +30,16 @@ class ADBDevice(AndroidTVEntity, MediaPlayerEntity):
|
|
29
30
|
_attr_device_class: Incomplete
|
30
31
|
_attr_name: Incomplete
|
31
32
|
_entry_id: Incomplete
|
32
|
-
_media_image:
|
33
|
+
_media_image: tuple[bytes | None, str | None]
|
33
34
|
_attr_media_image_hash: Incomplete
|
34
|
-
_app_id_to_name:
|
35
|
-
_app_name_to_id:
|
35
|
+
_app_id_to_name: dict[str, str]
|
36
|
+
_app_name_to_id: dict[str, str]
|
36
37
|
_get_sources: Incomplete
|
37
38
|
_exclude_unnamed_apps: Incomplete
|
38
|
-
_screencap_delta:
|
39
|
-
_last_screencap:
|
40
|
-
turn_on_command:
|
41
|
-
turn_off_command:
|
39
|
+
_screencap_delta: timedelta | None
|
40
|
+
_last_screencap: datetime | None
|
41
|
+
turn_on_command: str | None
|
42
|
+
turn_off_command: str | None
|
42
43
|
_attr_extra_state_attributes: Incomplete
|
43
44
|
_failed_connect_count: int
|
44
45
|
def __init__(self, entry: AndroidTVConfigEntry) -> None: ...
|
@@ -35,8 +35,8 @@ class AndroidTVRemoteConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
35
35
|
def async_get_options_flow(config_entry: ConfigEntry) -> AndroidTVRemoteOptionsFlowHandler: ...
|
36
36
|
|
37
37
|
class AndroidTVRemoteOptionsFlowHandler(OptionsFlow):
|
38
|
-
_apps:
|
39
|
-
_conf_app_id:
|
38
|
+
_apps: dict[str, Any]
|
39
|
+
_conf_app_id: str | None
|
40
40
|
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
41
41
|
def _save_config(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
42
42
|
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -7,6 +7,7 @@ from homeassistant.core import callback as callback
|
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
8
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, DeviceInfo as DeviceInfo
|
9
9
|
from homeassistant.helpers.entity import Entity as Entity
|
10
|
+
from typing import Any
|
10
11
|
|
11
12
|
class AndroidTVRemoteBaseEntity(Entity):
|
12
13
|
_attr_name: Incomplete
|
@@ -15,7 +16,7 @@ class AndroidTVRemoteBaseEntity(Entity):
|
|
15
16
|
_api: Incomplete
|
16
17
|
_host: Incomplete
|
17
18
|
_name: Incomplete
|
18
|
-
_apps:
|
19
|
+
_apps: dict[str, Any]
|
19
20
|
_attr_unique_id: Incomplete
|
20
21
|
_attr_is_on: Incomplete
|
21
22
|
_attr_device_info: Incomplete
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from . import AndroidTVRemoteConfigEntry as AndroidTVRemoteConfigEntry
|
2
3
|
from .const import CONF_APP_ICON as CONF_APP_ICON, CONF_APP_NAME as CONF_APP_NAME
|
3
4
|
from .entity import AndroidTVRemoteBaseEntity as AndroidTVRemoteBaseEntity
|
@@ -17,7 +18,7 @@ class AndroidTVRemoteMediaPlayerEntity(AndroidTVRemoteBaseEntity, MediaPlayerEnt
|
|
17
18
|
_attr_assumed_state: bool
|
18
19
|
_attr_device_class: Incomplete
|
19
20
|
_attr_supported_features: Incomplete
|
20
|
-
_channel_set_task:
|
21
|
+
_channel_set_task: asyncio.Task | None
|
21
22
|
def __init__(self, api: AndroidTVRemote, config_entry: AndroidTVRemoteConfigEntry) -> None: ...
|
22
23
|
_attr_app_id: Incomplete
|
23
24
|
_attr_app_name: Incomplete
|
@@ -12,6 +12,6 @@ class AnovaCoordinator(DataUpdateCoordinator[APCUpdate]):
|
|
12
12
|
config_entry: ConfigEntry
|
13
13
|
device_unique_id: Incomplete
|
14
14
|
anova_device: Incomplete
|
15
|
-
device_info:
|
15
|
+
device_info: DeviceInfo | None
|
16
16
|
sensor_data_set: bool
|
17
17
|
def __init__(self, hass: HomeAssistant, anova_device: APCWifiDevice) -> None: ...
|
@@ -37,8 +37,8 @@ class AppleTVConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
37
37
|
protocols_to_pair: deque[Protocol] | None
|
38
38
|
@staticmethod
|
39
39
|
def async_get_options_flow(config_entry: ConfigEntry) -> SchemaOptionsFlowHandler: ...
|
40
|
-
credentials:
|
41
|
-
all_identifiers:
|
40
|
+
credentials: dict[int, str | None]
|
41
|
+
all_identifiers: set[str]
|
42
42
|
def __init__(self) -> None: ...
|
43
43
|
@property
|
44
44
|
def device_identifier(self) -> str | None: ...
|
@@ -22,8 +22,8 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: AppleTvConfigEntr
|
|
22
22
|
|
23
23
|
class AppleTvMediaPlayer(AppleTVEntity, MediaPlayerEntity, PowerListener, AudioListener, PushListener):
|
24
24
|
_attr_supported_features = SUPPORT_APPLE_TV
|
25
|
-
_playing:
|
26
|
-
_app_list:
|
25
|
+
_playing: Playing | None
|
26
|
+
_app_list: dict[str, str]
|
27
27
|
def __init__(self, name: str, identifier: str, manager: AppleTVManager) -> None: ...
|
28
28
|
def async_device_connected(self, atv: AppleTV) -> None: ...
|
29
29
|
async def _update_app_list(self) -> None: ...
|
@@ -13,9 +13,9 @@ def _title(discovery_info: BluetoothServiceInfoBleak) -> str: ...
|
|
13
13
|
|
14
14
|
class AranetConfigFlow(ConfigFlow, domain=DOMAIN):
|
15
15
|
VERSION: int
|
16
|
-
_discovery_info:
|
17
|
-
_discovered_device:
|
18
|
-
_discovered_devices:
|
16
|
+
_discovery_info: BluetoothServiceInfoBleak | None
|
17
|
+
_discovered_device: Aranet4Advertisement | None
|
18
|
+
_discovered_devices: dict[str, tuple[str, Aranet4Advertisement]]
|
19
19
|
def __init__(self) -> None: ...
|
20
20
|
def _raise_for_advertisement_errors(self, adv: Aranet4Advertisement) -> None: ...
|
21
21
|
async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfoBleak) -> ConfigFlowResult: ...
|
@@ -13,7 +13,7 @@ async def async_get_scanner(hass: HomeAssistant, config: ConfigType) -> ArrisDev
|
|
13
13
|
|
14
14
|
class ArrisDeviceScanner(DeviceScanner):
|
15
15
|
connect_box: Incomplete
|
16
|
-
last_results:
|
16
|
+
last_results: list[Device]
|
17
17
|
def __init__(self, connect_box: ConnectBox) -> None: ...
|
18
18
|
async def async_scan_devices(self) -> list[str]: ...
|
19
19
|
async def async_get_device_name(self, device: str) -> str | None: ...
|
@@ -12,10 +12,10 @@ PLATFORM_SCHEMA: Incomplete
|
|
12
12
|
def get_scanner(hass: HomeAssistant, config: ConfigType) -> ArubaDeviceScanner | None: ...
|
13
13
|
|
14
14
|
class ArubaDeviceScanner(DeviceScanner):
|
15
|
-
host:
|
16
|
-
username:
|
17
|
-
password:
|
18
|
-
last_results:
|
15
|
+
host: str
|
16
|
+
username: str
|
17
|
+
password: str
|
18
|
+
last_results: dict[str, dict[str, str]]
|
19
19
|
success_init: Incomplete
|
20
20
|
def __init__(self, config: dict[str, Any]) -> None: ...
|
21
21
|
def scan_devices(self) -> list[str]: ...
|
@@ -3,6 +3,8 @@ from .const import BYTES_PER_CHUNK as BYTES_PER_CHUNK
|
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from abc import ABC, abstractmethod
|
5
5
|
from dataclasses import dataclass
|
6
|
+
from pymicro_vad import MicroVad
|
7
|
+
from pyspeex_noise import AudioProcessor
|
6
8
|
|
7
9
|
_LOGGER: Incomplete
|
8
10
|
|
@@ -22,9 +24,9 @@ class AudioEnhancer(ABC, metaclass=abc.ABCMeta):
|
|
22
24
|
def enhance_chunk(self, audio: bytes, timestamp_ms: int) -> EnhancedAudioChunk: ...
|
23
25
|
|
24
26
|
class MicroVadSpeexEnhancer(AudioEnhancer):
|
25
|
-
audio_processor:
|
27
|
+
audio_processor: AudioProcessor | None
|
26
28
|
noise_suppression: Incomplete
|
27
29
|
auto_gain: Incomplete
|
28
|
-
vad:
|
30
|
+
vad: MicroVad | None
|
29
31
|
def __init__(self, auto_gain: int, noise_suppression: int, is_vad_enabled: bool) -> None: ...
|
30
32
|
def enhance_chunk(self, audio: bytes, timestamp_ms: int) -> EnhancedAudioChunk: ...
|
@@ -212,7 +212,7 @@ class PipelineStorageCollectionWebsocket(StorageCollectionWebsocket[PipelineStor
|
|
212
212
|
async def ws_set_preferred_item(self, hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
213
213
|
|
214
214
|
class PipelineRuns:
|
215
|
-
_pipeline_runs:
|
215
|
+
_pipeline_runs: dict[str, dict[str, PipelineRun]]
|
216
216
|
_pipeline_store: Incomplete
|
217
217
|
def __init__(self, pipeline_store: PipelineStorageCollection) -> None: ...
|
218
218
|
def add_run(self, pipeline_run: PipelineRun) -> None: ...
|
@@ -234,10 +234,10 @@ class AssistDevice:
|
|
234
234
|
|
235
235
|
class PipelineData:
|
236
236
|
pipeline_store: Incomplete
|
237
|
-
pipeline_debug:
|
238
|
-
pipeline_devices:
|
237
|
+
pipeline_debug: dict[str, LimitedSizeDict[str, PipelineRunDebug]]
|
238
|
+
pipeline_devices: dict[str, AssistDevice]
|
239
239
|
pipeline_runs: Incomplete
|
240
|
-
device_audio_queues:
|
240
|
+
device_audio_queues: dict[str, DeviceAudioQueue]
|
241
241
|
def __init__(self, pipeline_store: PipelineStorageCollection) -> None: ...
|
242
242
|
|
243
243
|
@dataclass(slots=True)
|
@@ -26,7 +26,6 @@ class AssistSatelliteState(StrEnum):
|
|
26
26
|
|
27
27
|
class AssistSatelliteEntityDescription(EntityDescription, frozen_or_thawed=True):
|
28
28
|
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
29
|
-
def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
30
29
|
|
31
30
|
@dataclass(frozen=True)
|
32
31
|
class AssistSatelliteWakeWord:
|
@@ -37,9 +37,9 @@ class AsusWrtBridge(ABC, metaclass=abc.ABCMeta):
|
|
37
37
|
@staticmethod
|
38
38
|
def get_bridge(hass: HomeAssistant, conf: dict[str, Any], options: dict[str, Any] | None = None) -> AsusWrtBridge: ...
|
39
39
|
_host: Incomplete
|
40
|
-
_firmware:
|
41
|
-
_label_mac:
|
42
|
-
_model:
|
40
|
+
_firmware: str | None
|
41
|
+
_label_mac: str | None
|
42
|
+
_model: str | None
|
43
43
|
def __init__(self, host: str) -> None: ...
|
44
44
|
@property
|
45
45
|
def host(self) -> str: ...
|
@@ -62,8 +62,8 @@ class AsusWrtBridge(ABC, metaclass=abc.ABCMeta):
|
|
62
62
|
async def async_get_available_sensors(self) -> dict[str, dict[str, Any]]: ...
|
63
63
|
|
64
64
|
class AsusWrtLegacyBridge(AsusWrtBridge):
|
65
|
-
_protocol:
|
66
|
-
_api:
|
65
|
+
_protocol: str
|
66
|
+
_api: AsusWrtLegacy
|
67
67
|
def __init__(self, conf: dict[str, Any], options: dict[str, Any] | None = None) -> None: ...
|
68
68
|
@staticmethod
|
69
69
|
def _get_api(conf: dict[str, Any], options: dict[str, Any] | None = None) -> AsusWrtLegacy: ...
|
@@ -87,7 +87,7 @@ class AsusWrtLegacyBridge(AsusWrtBridge):
|
|
87
87
|
async def _get_temperatures(self) -> Any: ...
|
88
88
|
|
89
89
|
class AsusWrtHttpBridge(AsusWrtBridge):
|
90
|
-
_api:
|
90
|
+
_api: AsusWrtHttp
|
91
91
|
def __init__(self, conf: dict[str, Any], session: ClientSession) -> None: ...
|
92
92
|
@staticmethod
|
93
93
|
def _get_api(conf: dict[str, Any], session: ClientSession) -> AsusWrtHttp: ...
|
@@ -30,7 +30,7 @@ def _get_ip(host: str) -> str | None: ...
|
|
30
30
|
|
31
31
|
class AsusWrtFlowHandler(ConfigFlow, domain=DOMAIN):
|
32
32
|
VERSION: int
|
33
|
-
_config_data:
|
33
|
+
_config_data: dict[str, Any]
|
34
34
|
def __init__(self) -> None: ...
|
35
35
|
def _show_setup_form(self, error: str | None = None) -> ConfigFlowResult: ...
|
36
36
|
async def _async_check_connection(self, user_input: dict[str, Any]) -> tuple[str, str | None]: ...
|
@@ -32,8 +32,8 @@ class AsusWrtSensorDataHandler:
|
|
32
32
|
class AsusWrtDevInfo:
|
33
33
|
_mac: Incomplete
|
34
34
|
_name: Incomplete
|
35
|
-
_ip_address:
|
36
|
-
_last_activity:
|
35
|
+
_ip_address: str | None
|
36
|
+
_last_activity: datetime | None
|
37
37
|
_connected: bool
|
38
38
|
def __init__(self, mac: str, name: str | None = None) -> None: ...
|
39
39
|
def update(self, dev_info: WrtDevice | None = None, consider_home: int = 0) -> None: ...
|
@@ -51,14 +51,14 @@ class AsusWrtDevInfo:
|
|
51
51
|
class AsusWrtRouter:
|
52
52
|
hass: Incomplete
|
53
53
|
_entry: Incomplete
|
54
|
-
_devices:
|
54
|
+
_devices: dict[str, AsusWrtDevInfo]
|
55
55
|
_connected_devices: int
|
56
56
|
_connect_error: bool
|
57
|
-
_sensors_data_handler:
|
58
|
-
_sensors_coordinator:
|
59
|
-
_on_close:
|
60
|
-
_options:
|
61
|
-
_api:
|
57
|
+
_sensors_data_handler: AsusWrtSensorDataHandler | None
|
58
|
+
_sensors_coordinator: dict[str, Any]
|
59
|
+
_on_close: list[Callable]
|
60
|
+
_options: dict[str, Any]
|
61
|
+
_api: AsusWrtBridge
|
62
62
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
63
63
|
def _migrate_entities_unique_id(self) -> None: ...
|
64
64
|
async def setup(self) -> None: ...
|
@@ -10,7 +10,7 @@ async def verify_redirect_uri(hass: HomeAssistant, client_id: str, redirect_uri:
|
|
10
10
|
|
11
11
|
class LinkTagParser(HTMLParser):
|
12
12
|
rel: Incomplete
|
13
|
-
found:
|
13
|
+
found: list[str | None]
|
14
14
|
def __init__(self, rel: str) -> None: ...
|
15
15
|
def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]]) -> None: ...
|
16
16
|
|
@@ -26,6 +26,7 @@ from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
26
26
|
from homeassistant.loader import bind_hass as bind_hass
|
27
27
|
from homeassistant.util.dt import parse_datetime as parse_datetime
|
28
28
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
29
|
+
from propcache import cached_property
|
29
30
|
from typing import Any, Protocol
|
30
31
|
|
31
32
|
DATA_COMPONENT: HassKey[EntityComponent[BaseAutomationEntity]]
|
@@ -66,17 +67,22 @@ class BaseAutomationEntity(ToggleEntity, ABC, metaclass=abc.ABCMeta):
|
|
66
67
|
raw_config: ConfigType | None
|
67
68
|
@property
|
68
69
|
def capability_attributes(self) -> dict[str, Any] | None: ...
|
70
|
+
@cached_property
|
69
71
|
@abstractmethod
|
70
72
|
def referenced_labels(self) -> set[str]: ...
|
73
|
+
@cached_property
|
71
74
|
@abstractmethod
|
72
75
|
def referenced_floors(self) -> set[str]: ...
|
76
|
+
@cached_property
|
73
77
|
@abstractmethod
|
74
78
|
def referenced_areas(self) -> set[str]: ...
|
75
79
|
@property
|
76
80
|
@abstractmethod
|
77
81
|
def referenced_blueprint(self) -> str | None: ...
|
82
|
+
@cached_property
|
78
83
|
@abstractmethod
|
79
84
|
def referenced_devices(self) -> set[str]: ...
|
85
|
+
@cached_property
|
80
86
|
@abstractmethod
|
81
87
|
def referenced_entities(self) -> set[str]: ...
|
82
88
|
@abstractmethod
|
@@ -91,12 +97,17 @@ class UnavailableAutomationEntity(BaseAutomationEntity):
|
|
91
97
|
_validation_error: Incomplete
|
92
98
|
_validation_status: Incomplete
|
93
99
|
def __init__(self, automation_id: str | None, name: str, raw_config: ConfigType | None, validation_error: str, validation_status: ValidationStatus) -> None: ...
|
100
|
+
@cached_property
|
94
101
|
def referenced_labels(self) -> set[str]: ...
|
102
|
+
@cached_property
|
95
103
|
def referenced_floors(self) -> set[str]: ...
|
104
|
+
@cached_property
|
96
105
|
def referenced_areas(self) -> set[str]: ...
|
97
106
|
@property
|
98
107
|
def referenced_blueprint(self) -> str | None: ...
|
108
|
+
@cached_property
|
99
109
|
def referenced_devices(self) -> set[str]: ...
|
110
|
+
@cached_property
|
100
111
|
def referenced_entities(self) -> set[str]: ...
|
101
112
|
async def async_added_to_hass(self) -> None: ...
|
102
113
|
async def async_will_remove_from_hass(self) -> None: ...
|
@@ -106,7 +117,7 @@ class AutomationEntity(BaseAutomationEntity, RestoreEntity):
|
|
106
117
|
_attr_should_poll: bool
|
107
118
|
_attr_name: Incomplete
|
108
119
|
_trigger_config: Incomplete
|
109
|
-
_async_detach_triggers:
|
120
|
+
_async_detach_triggers: CALLBACK_TYPE | None
|
110
121
|
_cond_func: Incomplete
|
111
122
|
action_script: Incomplete
|
112
123
|
_initial_state: Incomplete
|
@@ -127,10 +138,13 @@ class AutomationEntity(BaseAutomationEntity, RestoreEntity):
|
|
127
138
|
def referenced_labels(self) -> set[str]: ...
|
128
139
|
@property
|
129
140
|
def referenced_floors(self) -> set[str]: ...
|
141
|
+
@cached_property
|
130
142
|
def referenced_areas(self) -> set[str]: ...
|
131
143
|
@property
|
132
144
|
def referenced_blueprint(self) -> str | None: ...
|
145
|
+
@cached_property
|
133
146
|
def referenced_devices(self) -> set[str]: ...
|
147
|
+
@cached_property
|
134
148
|
def referenced_entities(self) -> set[str]: ...
|
135
149
|
async def async_added_to_hass(self) -> None: ...
|
136
150
|
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
2
|
from collections.abc import Generator
|
4
3
|
from homeassistant.components.trace import ActionTrace as ActionTrace, CONF_STORED_TRACES as CONF_STORED_TRACES, async_store_trace as async_store_trace
|
5
4
|
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant
|
@@ -8,7 +7,7 @@ from typing import Any
|
|
8
7
|
|
9
8
|
class AutomationTrace(ActionTrace):
|
10
9
|
_domain = DOMAIN
|
11
|
-
_trigger_description:
|
10
|
+
_trigger_description: str | None
|
12
11
|
def __init__(self, item_id: str | None, config: ConfigType | None, blueprint_inputs: ConfigType | None, context: Context) -> None: ...
|
13
12
|
def set_trigger_description(self, trigger: str) -> None: ...
|
14
13
|
def as_short_dict(self) -> dict[str, Any]: ...
|
@@ -35,6 +35,6 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: AxisConfigEntry,
|
|
35
35
|
class AxisBinarySensor(AxisEventEntity, BinarySensorEntity):
|
36
36
|
entity_description: AxisBinarySensorDescription
|
37
37
|
_attr_is_on: Incomplete
|
38
|
-
cancel_scheduled_update:
|
38
|
+
cancel_scheduled_update: Callable[[], None] | None
|
39
39
|
def __init__(self, hub: AxisHub, description: AxisBinarySensorDescription, event: Event) -> None: ...
|
40
40
|
def async_event_callback(self, event: Event) -> None: ...
|
@@ -22,8 +22,8 @@ class AxisFlowHandler(ConfigFlow, domain=AXIS_DOMAIN):
|
|
22
22
|
VERSION: int
|
23
23
|
@staticmethod
|
24
24
|
def async_get_options_flow(config_entry: ConfigEntry) -> AxisOptionsFlowHandler: ...
|
25
|
-
config:
|
26
|
-
discovery_schema:
|
25
|
+
config: dict[str, Any]
|
26
|
+
discovery_schema: VolDictType | None
|
27
27
|
def __init__(self) -> None: ...
|
28
28
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
29
29
|
async def _create_entry(self, serial: str) -> ConfigFlowResult: ...
|
@@ -1,14 +1,14 @@
|
|
1
1
|
from ..entity import AxisEventDescription as AxisEventDescription, AxisEventEntity as AxisEventEntity
|
2
2
|
from .hub import AxisHub as AxisHub
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from axis.models.event import Event as Event
|
4
|
+
from axis.models.event import Event as Event, EventTopic
|
5
5
|
from homeassistant.core import callback as callback
|
6
6
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
7
7
|
|
8
8
|
class AxisEntityLoader:
|
9
9
|
hub: Incomplete
|
10
|
-
registered_events:
|
11
|
-
topic_to_entity:
|
10
|
+
registered_events: set[tuple[str, EventTopic, str]]
|
11
|
+
topic_to_entity: dict[EventTopic, list[tuple[AddEntitiesCallback, type[AxisEventEntity], AxisEventDescription]]]
|
12
12
|
def __init__(self, hub: AxisHub) -> None: ...
|
13
13
|
def register_platform(self, async_add_entities: AddEntitiesCallback, entity_class: type[AxisEventEntity], descriptions: tuple[AxisEventDescription, ...]) -> None: ...
|
14
14
|
def _create_entities_from_event(self, event: Event) -> None: ...
|
@@ -8,6 +8,7 @@ from _typeshed import Incomplete
|
|
8
8
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
9
9
|
from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC as CONNECTION_NETWORK_MAC, format_mac as format_mac
|
10
10
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
11
|
+
from typing import Any
|
11
12
|
|
12
13
|
class AxisHub:
|
13
14
|
hass: Incomplete
|
@@ -18,7 +19,7 @@ class AxisHub:
|
|
18
19
|
fw_version: Incomplete
|
19
20
|
product_type: Incomplete
|
20
21
|
unique_id: Incomplete
|
21
|
-
additional_diagnostics:
|
22
|
+
additional_diagnostics: dict[str, Any]
|
22
23
|
def __init__(self, hass: HomeAssistant, config_entry: AxisConfigEntry, api: axis.AxisDevice) -> None: ...
|
23
24
|
@property
|
24
25
|
def available(self) -> bool: ...
|
@@ -4,6 +4,7 @@ from collections.abc import AsyncIterator, Callable as Callable, Coroutine
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
5
5
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
6
6
|
from pathlib import Path
|
7
|
+
from propcache import cached_property
|
7
8
|
from typing import Any, Protocol
|
8
9
|
|
9
10
|
class BackupAgentError(HomeAssistantError): ...
|
@@ -14,6 +15,7 @@ class BackupAgentUnreachableError(BackupAgentError):
|
|
14
15
|
class BackupAgent(abc.ABC, metaclass=abc.ABCMeta):
|
15
16
|
domain: str
|
16
17
|
name: str
|
18
|
+
@cached_property
|
17
19
|
def agent_id(self) -> str: ...
|
18
20
|
@abc.abstractmethod
|
19
21
|
async def async_download_backup(self, backup_id: str, **kwargs: Any) -> AsyncIterator[bytes]: ...
|
@@ -16,7 +16,7 @@ class CoreLocalBackupAgent(LocalBackupAgent):
|
|
16
16
|
name: str
|
17
17
|
_hass: Incomplete
|
18
18
|
_backup_dir: Incomplete
|
19
|
-
_backups:
|
19
|
+
_backups: dict[str, AgentBackup]
|
20
20
|
_loaded_backups: bool
|
21
21
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
22
22
|
async def _load_backups(self) -> None: ...
|
@@ -133,20 +133,20 @@ class IncorrectPasswordError(BackupReaderWriterError): ...
|
|
133
133
|
|
134
134
|
class BackupManager:
|
135
135
|
hass: Incomplete
|
136
|
-
platforms:
|
137
|
-
backup_agent_platforms:
|
138
|
-
backup_agents:
|
139
|
-
local_backup_agents:
|
136
|
+
platforms: dict[str, BackupPlatformProtocol]
|
137
|
+
backup_agent_platforms: dict[str, BackupAgentPlatformProtocol]
|
138
|
+
backup_agents: dict[str, BackupAgent]
|
139
|
+
local_backup_agents: dict[str, LocalBackupAgent]
|
140
140
|
config: Incomplete
|
141
141
|
_reader_writer: Incomplete
|
142
142
|
known_backups: Incomplete
|
143
143
|
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:
|
144
|
+
_backup_task: asyncio.Task[WrittenBackup] | None
|
145
|
+
_backup_finish_task: asyncio.Task[None] | None
|
146
|
+
remove_next_backup_event: Callable[[], None] | None
|
147
|
+
remove_next_delete_event: Callable[[], None] | None
|
148
|
+
last_event: ManagerStateEvent
|
149
|
+
_backup_event_subscriptions: list[Callable[[ManagerStateEvent], None]]
|
150
150
|
def __init__(self, hass: HomeAssistant, reader_writer: BackupReaderWriter) -> None: ...
|
151
151
|
async def async_setup(self) -> None: ...
|
152
152
|
@property
|
@@ -178,7 +178,7 @@ class BackupManager:
|
|
178
178
|
def _update_issue_after_agent_upload(self, agent_errors: dict[str, Exception]) -> None: ...
|
179
179
|
|
180
180
|
class KnownBackups:
|
181
|
-
_backups:
|
181
|
+
_backups: dict[str, KnownBackup]
|
182
182
|
_manager: Incomplete
|
183
183
|
def __init__(self, manager: BackupManager) -> None: ...
|
184
184
|
def load(self, stored_backups: list[StoredKnownBackup]) -> None: ...
|
@@ -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: ...
|
@@ -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: ...
|
@@ -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: ...
|