homeassistant-stubs 2025.10.3__py3-none-any.whl → 2025.11.0b0__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.
Potentially problematic release.
This version of homeassistant-stubs might be problematic. Click here for more details.
- homeassistant-stubs/auth/mfa_modules/totp.pyi +2 -0
- homeassistant-stubs/components/acaia/coordinator.pyi +2 -0
- homeassistant-stubs/components/airly/config_flow.pyi +3 -0
- homeassistant-stubs/components/airnow/config_flow.pyi +1 -0
- homeassistant-stubs/components/airos/__init__.pyi +4 -2
- homeassistant-stubs/components/airos/config_flow.pyi +10 -1
- homeassistant-stubs/components/airos/coordinator.pyi +1 -1
- homeassistant-stubs/components/airthings/config_flow.pyi +1 -0
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +4 -2
- homeassistant-stubs/components/airthings_ble/sensor.pyi +2 -1
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +0 -10
- homeassistant-stubs/components/alexa_devices/const.pyi +2 -0
- homeassistant-stubs/components/alexa_devices/sensor.pyi +12 -2
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -0
- homeassistant-stubs/components/apple_tv/__init__.pyi +3 -3
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +3 -3
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +1 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +9 -9
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
- homeassistant-stubs/components/asuswrt/device_tracker.pyi +0 -3
- homeassistant-stubs/components/asuswrt/helpers.pyi +2 -3
- homeassistant-stubs/components/asuswrt/router.pyi +1 -1
- homeassistant-stubs/components/backup/http.pyi +1 -0
- homeassistant-stubs/components/backup/manager.pyi +2 -1
- homeassistant-stubs/components/backup/util.pyi +2 -32
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +5 -5
- homeassistant-stubs/components/bluetooth/__init__.pyi +2 -5
- homeassistant-stubs/components/bluetooth/api.pyi +2 -0
- homeassistant-stubs/components/bluetooth/manager.pyi +2 -0
- homeassistant-stubs/components/bryant_evolution/climate.pyi +2 -2
- homeassistant-stubs/components/calendar/trigger.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +1 -9
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
- homeassistant-stubs/components/cert_expiry/errors.pyi +1 -0
- homeassistant-stubs/components/cert_expiry/helper.pyi +1 -1
- homeassistant-stubs/components/cloud/__init__.pyi +2 -1
- homeassistant-stubs/components/cloud/client.pyi +1 -1
- homeassistant-stubs/components/cloud/const.pyi +1 -1
- homeassistant-stubs/components/comelit/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/comelit/cover.pyi +2 -2
- homeassistant-stubs/components/comelit/light.pyi +1 -1
- homeassistant-stubs/components/comelit/sensor.pyi +1 -0
- homeassistant-stubs/components/comelit/switch.pyi +1 -1
- homeassistant-stubs/components/comelit/utils.pyi +5 -1
- homeassistant-stubs/components/config/config_entries.pyi +5 -1
- homeassistant-stubs/components/cover/__init__.pyi +1 -11
- homeassistant-stubs/components/demo/valve.pyi +14 -5
- homeassistant-stubs/components/derivative/__init__.pyi +0 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +1 -0
- homeassistant-stubs/components/derivative/sensor.pyi +2 -1
- homeassistant-stubs/components/device_automation/condition.pyi +7 -6
- homeassistant-stubs/components/devolo_home_control/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/entity.pyi +1 -2
- homeassistant-stubs/components/devolo_home_control/sensor.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/subscriber.pyi +0 -1
- homeassistant-stubs/components/devolo_home_control/switch.pyi +1 -1
- homeassistant-stubs/components/dnsip/sensor.pyi +3 -3
- homeassistant-stubs/components/ecovacs/button.pyi +1 -1
- homeassistant-stubs/components/ecovacs/select.pyi +14 -2
- homeassistant-stubs/components/eheimdigital/sensor.pyi +1 -2
- homeassistant-stubs/components/enphase_envoy/sensor.pyi +4 -22
- homeassistant-stubs/components/eq3btsmart/sensor.pyi +1 -2
- homeassistant-stubs/components/esphome/__init__.pyi +1 -1
- homeassistant-stubs/components/esphome/assist_satellite.pyi +12 -2
- homeassistant-stubs/components/esphome/climate.pyi +1 -0
- homeassistant-stubs/components/esphome/config_flow.pyi +7 -4
- homeassistant-stubs/components/esphome/const.pyi +2 -0
- homeassistant-stubs/components/esphome/entry_data.pyi +1 -0
- homeassistant-stubs/components/esphome/manager.pyi +8 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/evohome/climate.pyi +1 -1
- homeassistant-stubs/components/fastdotcom/coordinator.pyi +2 -2
- homeassistant-stubs/components/fastdotcom/sensor.pyi +1 -1
- homeassistant-stubs/components/filter/__init__.pyi +0 -1
- homeassistant-stubs/components/filter/config_flow.pyi +1 -0
- homeassistant-stubs/components/firefly_iii/__init__.pyi +8 -0
- homeassistant-stubs/components/firefly_iii/config_flow.pyi +24 -0
- homeassistant-stubs/components/firefly_iii/const.pyi +3 -0
- homeassistant-stubs/components/firefly_iii/coordinator.pyi +30 -0
- homeassistant-stubs/components/firefly_iii/diagnostics.pyi +11 -0
- homeassistant-stubs/components/firefly_iii/entity.pyi +30 -0
- homeassistant-stubs/components/firefly_iii/sensor.pyi +66 -0
- homeassistant-stubs/components/fritz/coordinator.pyi +3 -0
- homeassistant-stubs/components/fritz/models.pyi +2 -2
- homeassistant-stubs/components/fritz/services.pyi +3 -0
- homeassistant-stubs/components/fritzbox/climate.pyi +2 -5
- homeassistant-stubs/components/generic_hygrostat/__init__.pyi +0 -1
- homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/generic_thermostat/__init__.pyi +0 -1
- homeassistant-stubs/components/generic_thermostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/github/__init__.pyi +12 -0
- homeassistant-stubs/components/github/config_flow.pyi +28 -0
- homeassistant-stubs/components/github/const.pyi +10 -0
- homeassistant-stubs/components/github/coordinator.pyi +26 -0
- homeassistant-stubs/components/github/diagnostics.pyi +7 -0
- homeassistant-stubs/components/github/sensor.pyi +37 -0
- homeassistant-stubs/components/go2rtc/__init__.pyi +1 -2
- homeassistant-stubs/components/google_assistant_sdk/config_flow.pyi +2 -1
- homeassistant-stubs/components/google_drive/api.pyi +1 -0
- homeassistant-stubs/components/google_sheets/services.pyi +9 -2
- homeassistant-stubs/components/group/__init__.pyi +0 -1
- homeassistant-stubs/components/group/config_flow.pyi +2 -0
- homeassistant-stubs/components/group/entity.pyi +3 -0
- homeassistant-stubs/components/group/light.pyi +1 -1
- homeassistant-stubs/components/group/util.pyi +1 -0
- homeassistant-stubs/components/group/valve.pyi +47 -0
- homeassistant-stubs/components/habitica/__init__.pyi +1 -0
- homeassistant-stubs/components/habitica/config_flow.pyi +11 -3
- homeassistant-stubs/components/habitica/const.pyi +1 -0
- homeassistant-stubs/components/habitica/coordinator.pyi +9 -3
- homeassistant-stubs/components/habitica/entity.pyi +15 -2
- homeassistant-stubs/components/habitica/image.pyi +6 -2
- homeassistant-stubs/components/habitica/notify.pyi +42 -0
- homeassistant-stubs/components/habitica/sensor.pyi +9 -4
- homeassistant-stubs/components/hardkernel/hardware.pyi +1 -1
- homeassistant-stubs/components/hardware/__init__.pyi +2 -10
- homeassistant-stubs/components/history_stats/__init__.pyi +0 -1
- homeassistant-stubs/components/history_stats/config_flow.pyi +1 -0
- homeassistant-stubs/components/home_connect/application_credentials.pyi +1 -0
- homeassistant-stubs/components/home_connect/const.pyi +1 -0
- homeassistant-stubs/components/home_connect/select.pyi +1 -1
- homeassistant-stubs/components/homeassistant_green/config_flow.pyi +4 -2
- homeassistant-stubs/components/homeassistant_green/hardware.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/const.pyi +1 -0
- homeassistant-stubs/components/homeassistant_hardware/helpers.pyi +12 -2
- homeassistant-stubs/components/homeassistant_hardware/switch.pyi +23 -0
- homeassistant-stubs/components/homeassistant_sky_connect/__init__.pyi +13 -4
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +4 -0
- homeassistant-stubs/components/homeassistant_sky_connect/hardware.pyi +1 -1
- homeassistant-stubs/components/homeassistant_sky_connect/switch.pyi +17 -0
- homeassistant-stubs/components/homeassistant_sky_connect/update.pyi +5 -7
- homeassistant-stubs/components/homeassistant_yellow/__init__.pyi +12 -4
- homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +1 -1
- homeassistant-stubs/components/homeassistant_yellow/hardware.pyi +1 -1
- homeassistant-stubs/components/homeassistant_yellow/switch.pyi +17 -0
- homeassistant-stubs/components/homeassistant_yellow/update.pyi +5 -7
- homeassistant-stubs/components/homee/__init__.pyi +1 -0
- homeassistant-stubs/components/homewizard/__init__.pyi +2 -0
- homeassistant-stubs/components/husqvarna_automower/button.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +8 -4
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +5 -0
- homeassistant-stubs/components/husqvarna_automower/select.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +2 -0
- homeassistant-stubs/components/husqvarna_automower/switch.pyi +2 -0
- homeassistant-stubs/components/imap/__init__.pyi +3 -1
- homeassistant-stubs/components/imap/coordinator.pyi +4 -1
- homeassistant-stubs/components/inels/__init__.pyi +18 -0
- homeassistant-stubs/components/inels/config_flow.pyi +13 -0
- homeassistant-stubs/components/inels/const.pyi +7 -0
- homeassistant-stubs/components/inels/entity.pyi +20 -0
- homeassistant-stubs/components/inels/switch.pyi +34 -0
- homeassistant-stubs/components/knx/climate.pyi +23 -11
- homeassistant-stubs/components/knx/const.pyi +14 -0
- homeassistant-stubs/components/knx/schema.pyi +1 -13
- homeassistant-stubs/components/knx/sensor.pyi +8 -9
- homeassistant-stubs/components/knx/storage/const.pyi +20 -0
- homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +13 -2
- homeassistant-stubs/components/lametric/config_flow.pyi +2 -0
- homeassistant-stubs/components/lcn/sensor.pyi +1 -1
- homeassistant-stubs/components/libre_hardware_monitor/__init__.pyi +3 -0
- homeassistant-stubs/components/libre_hardware_monitor/sensor.pyi +2 -3
- homeassistant-stubs/components/litterrobot/update.pyi +2 -0
- homeassistant-stubs/components/lock/__init__.pyi +1 -6
- homeassistant-stubs/components/london_underground/__init__.pyi +9 -0
- homeassistant-stubs/components/london_underground/config_flow.pyi +22 -0
- homeassistant-stubs/components/london_underground/const.pyi +1 -0
- homeassistant-stubs/components/london_underground/coordinator.pyi +3 -1
- homeassistant-stubs/components/london_underground/sensor.pyi +10 -5
- homeassistant-stubs/components/lunatone/__init__.pyi +12 -0
- homeassistant-stubs/components/lunatone/config_flow.pyi +16 -0
- homeassistant-stubs/components/lunatone/const.pyi +3 -0
- homeassistant-stubs/components/lunatone/coordinator.pyi +29 -0
- homeassistant-stubs/components/lunatone/light.pyi +43 -0
- homeassistant-stubs/components/matrix/__init__.pyi +10 -2
- homeassistant-stubs/components/matrix/const.pyi +5 -0
- homeassistant-stubs/components/matrix/services.pyi +3 -1
- homeassistant-stubs/components/matter/__init__.pyi +5 -0
- homeassistant-stubs/components/matter/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/matter/button.pyi +1 -1
- homeassistant-stubs/components/matter/climate.pyi +7 -1
- homeassistant-stubs/components/matter/cover.pyi +6 -2
- homeassistant-stubs/components/matter/entity.pyi +4 -2
- homeassistant-stubs/components/matter/event.pyi +5 -1
- homeassistant-stubs/components/matter/fan.pyi +5 -1
- homeassistant-stubs/components/matter/light.pyi +6 -2
- homeassistant-stubs/components/matter/lock.pyi +5 -1
- homeassistant-stubs/components/matter/models.pyi +3 -3
- homeassistant-stubs/components/matter/number.pyi +1 -1
- homeassistant-stubs/components/matter/select.pyi +1 -1
- homeassistant-stubs/components/matter/sensor.pyi +4 -1
- homeassistant-stubs/components/matter/services.pyi +11 -0
- homeassistant-stubs/components/matter/switch.pyi +5 -2
- homeassistant-stubs/components/matter/update.pyi +4 -1
- homeassistant-stubs/components/matter/vacuum.pyi +6 -2
- homeassistant-stubs/components/matter/valve.pyi +6 -2
- homeassistant-stubs/components/matter/water_heater.pyi +8 -1
- homeassistant-stubs/components/mcp/__init__.pyi +1 -6
- homeassistant-stubs/components/mcp/config_flow.pyi +12 -2
- homeassistant-stubs/components/mcp/const.pyi +1 -0
- homeassistant-stubs/components/mcp/coordinator.pyi +1 -1
- homeassistant-stubs/components/mcp_server/__init__.pyi +1 -8
- homeassistant-stubs/components/mcp_server/http.pyi +23 -1
- homeassistant-stubs/components/mealie/config_flow.pyi +8 -1
- homeassistant-stubs/components/media_player/__init__.pyi +1 -9
- homeassistant-stubs/components/media_player/const.pyi +10 -69
- homeassistant-stubs/components/media_player/intent.pyi +7 -9
- homeassistant-stubs/components/metoffice/__init__.pyi +1 -0
- homeassistant-stubs/components/metoffice/helpers.pyi +2 -2
- homeassistant-stubs/components/metoffice/weather.pyi +11 -11
- homeassistant-stubs/components/min_max/__init__.pyi +0 -1
- homeassistant-stubs/components/min_max/config_flow.pyi +1 -0
- homeassistant-stubs/components/mold_indicator/__init__.pyi +0 -1
- homeassistant-stubs/components/mold_indicator/config_flow.pyi +1 -0
- homeassistant-stubs/components/mqtt/__init__.pyi +1 -4
- homeassistant-stubs/components/mqtt/config_flow.pyi +23 -4
- homeassistant-stubs/components/mqtt/const.pyi +7 -1
- homeassistant-stubs/components/mqtt/number.pyi +1 -5
- homeassistant-stubs/components/mqtt/siren.pyi +1 -9
- homeassistant-stubs/components/music_assistant/const.pyi +4 -0
- homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
- homeassistant-stubs/components/music_assistant/schemas.pyi +2 -2
- homeassistant-stubs/components/nasweb/sensor.pyi +0 -5
- homeassistant-stubs/components/nasweb/switch.pyi +1 -0
- homeassistant-stubs/components/nextdns/config_flow.pyi +6 -1
- homeassistant-stubs/components/number/const.pyi +2 -1
- homeassistant-stubs/components/onedrive/backup.pyi +2 -1
- homeassistant-stubs/components/onewire/binary_sensor.pyi +5 -12
- homeassistant-stubs/components/onewire/const.pyi +0 -2
- homeassistant-stubs/components/onewire/diagnostics.pyi +2 -0
- homeassistant-stubs/components/onewire/entity.pyi +6 -14
- homeassistant-stubs/components/onewire/onewirehub.pyi +5 -5
- homeassistant-stubs/components/onewire/select.pyi +3 -10
- homeassistant-stubs/components/onewire/sensor.pyi +5 -7
- homeassistant-stubs/components/onewire/switch.pyi +7 -14
- homeassistant-stubs/components/onkyo/receiver.pyi +1 -1
- homeassistant-stubs/components/open_router/entity.pyi +4 -1
- homeassistant-stubs/components/openai_conversation/ai_task.pyi +1 -1
- homeassistant-stubs/components/openai_conversation/config_flow.pyi +1 -1
- homeassistant-stubs/components/openai_conversation/const.pyi +2 -0
- homeassistant-stubs/components/openai_conversation/entity.pyi +1 -1
- homeassistant-stubs/components/opower/coordinator.pyi +1 -0
- homeassistant-stubs/components/ping/__init__.pyi +1 -0
- homeassistant-stubs/components/ping/config_flow.pyi +1 -0
- homeassistant-stubs/components/ping/device_tracker.pyi +3 -2
- homeassistant-stubs/components/ping/entity.pyi +1 -0
- homeassistant-stubs/components/portainer/button.pyi +29 -0
- homeassistant-stubs/components/portainer/config_flow.pyi +4 -0
- homeassistant-stubs/components/portainer/const.pyi +1 -0
- homeassistant-stubs/components/portainer/coordinator.pyi +11 -2
- homeassistant-stubs/components/portainer/diagnostics.pyi +12 -0
- homeassistant-stubs/components/portainer/entity.pyi +2 -0
- homeassistant-stubs/components/portainer/sensor.pyi +41 -0
- homeassistant-stubs/components/portainer/switch.pyi +35 -0
- homeassistant-stubs/components/qbus/entity.pyi +1 -3
- homeassistant-stubs/components/raspberry_pi/hardware.pyi +1 -1
- homeassistant-stubs/components/recorder/const.pyi +1 -1
- homeassistant-stubs/components/recorder/core.pyi +3 -3
- homeassistant-stubs/components/recorder/db_schema.pyi +3 -10
- homeassistant-stubs/components/recorder/entity_registry.pyi +1 -0
- homeassistant-stubs/components/recorder/history/__init__.pyi +2 -2
- homeassistant-stubs/components/recorder/migration.pyi +4 -1
- homeassistant-stubs/components/recorder/models/statistics.pyi +1 -0
- homeassistant-stubs/components/recorder/statistics.pyi +17 -12
- homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +0 -1
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +4 -2
- homeassistant-stubs/components/recorder/tasks.pyi +1 -0
- homeassistant-stubs/components/recorder/util.pyi +1 -1
- homeassistant-stubs/components/recorder/websocket_api.pyi +6 -4
- homeassistant-stubs/components/renault/sensor.pyi +1 -1
- homeassistant-stubs/components/reolink/__init__.pyi +1 -1
- homeassistant-stubs/components/reolink/binary_sensor.pyi +15 -0
- homeassistant-stubs/components/reolink/siren.pyi +2 -0
- homeassistant-stubs/components/reolink/switch.pyi +25 -7
- homeassistant-stubs/components/roborock/__init__.pyi +1 -1
- homeassistant-stubs/components/roborock/config_flow.pyi +1 -1
- homeassistant-stubs/components/roborock/coordinator.pyi +2 -1
- homeassistant-stubs/components/roborock/entity.pyi +1 -1
- homeassistant-stubs/components/roborock/models.pyi +1 -1
- homeassistant-stubs/components/scrape/coordinator.pyi +1 -2
- homeassistant-stubs/components/sensibo/__init__.pyi +6 -0
- homeassistant-stubs/components/sensibo/climate.pyi +3 -26
- homeassistant-stubs/components/sensibo/services.pyi +31 -0
- homeassistant-stubs/components/sensor/const.pyi +2 -1
- homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
- homeassistant-stubs/components/sensor/recorder.pyi +6 -3
- homeassistant-stubs/components/sfr_box/__init__.pyi +4 -6
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +5 -14
- homeassistant-stubs/components/sfr_box/button.pyi +4 -9
- homeassistant-stubs/components/sfr_box/config_flow.pyi +2 -1
- homeassistant-stubs/components/sfr_box/coordinator.pyi +13 -2
- homeassistant-stubs/components/sfr_box/diagnostics.pyi +2 -4
- homeassistant-stubs/components/sfr_box/entity.pyi +18 -0
- homeassistant-stubs/components/sfr_box/sensor.pyi +4 -13
- homeassistant-stubs/components/shelly/__init__.pyi +2 -2
- homeassistant-stubs/components/shelly/binary_sensor.pyi +6 -2
- homeassistant-stubs/components/shelly/button.pyi +26 -16
- homeassistant-stubs/components/shelly/climate.pyi +61 -7
- homeassistant-stubs/components/shelly/const.pyi +15 -3
- homeassistant-stubs/components/shelly/cover.pyi +31 -10
- homeassistant-stubs/components/shelly/entity.pyi +5 -4
- homeassistant-stubs/components/shelly/event.pyi +4 -0
- homeassistant-stubs/components/shelly/light.pyi +23 -7
- homeassistant-stubs/components/shelly/number.pyi +11 -2
- homeassistant-stubs/components/shelly/repairs.pyi +2 -2
- homeassistant-stubs/components/shelly/select.pyi +4 -1
- homeassistant-stubs/components/shelly/sensor.pyi +8 -7
- homeassistant-stubs/components/shelly/switch.pyi +7 -4
- homeassistant-stubs/components/shelly/text.pyi +4 -1
- homeassistant-stubs/components/shelly/update.pyi +4 -0
- homeassistant-stubs/components/shelly/utils.pyi +10 -5
- homeassistant-stubs/components/shelly/valve.pyi +34 -5
- homeassistant-stubs/components/simplisafe/config_flow.pyi +2 -0
- homeassistant-stubs/components/sleep_as_android/event.pyi +1 -0
- homeassistant-stubs/components/sma/__init__.pyi +15 -0
- homeassistant-stubs/components/sma/config_flow.pyi +27 -0
- homeassistant-stubs/components/sma/const.pyi +11 -0
- homeassistant-stubs/components/sma/coordinator.pyi +28 -0
- homeassistant-stubs/components/sma/diagnostics.pyi +10 -0
- homeassistant-stubs/components/sma/sensor.pyi +33 -0
- homeassistant-stubs/components/sql/__init__.pyi +2 -4
- homeassistant-stubs/components/sql/sensor.pyi +6 -13
- homeassistant-stubs/components/sql/services.pyi +17 -0
- homeassistant-stubs/components/sql/util.pyi +16 -3
- homeassistant-stubs/components/squeezebox/__init__.pyi +4 -1
- homeassistant-stubs/components/squeezebox/browse_media.pyi +4 -3
- homeassistant-stubs/components/squeezebox/button.pyi +1 -0
- homeassistant-stubs/components/squeezebox/const.pyi +0 -1
- homeassistant-stubs/components/squeezebox/media_player.pyi +7 -2
- homeassistant-stubs/components/squeezebox/switch.pyi +1 -0
- homeassistant-stubs/components/squeezebox/util.pyi +6 -0
- homeassistant-stubs/components/suez_water/coordinator.pyi +2 -1
- homeassistant-stubs/components/sun/condition.pyi +10 -5
- homeassistant-stubs/components/switch_as_x/__init__.pyi +0 -1
- homeassistant-stubs/components/switch_as_x/config_flow.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/climate.pyi +2 -0
- homeassistant-stubs/components/switchbot_cloud/lock.pyi +7 -2
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +25 -2
- homeassistant-stubs/components/switchbot_cloud/switch.pyi +13 -1
- homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +4 -4
- homeassistant-stubs/components/switcher_kis/button.pyi +5 -6
- homeassistant-stubs/components/switcher_kis/climate.pyi +3 -3
- homeassistant-stubs/components/switcher_kis/const.pyi +1 -0
- homeassistant-stubs/components/switcher_kis/cover.pyi +4 -3
- homeassistant-stubs/components/switcher_kis/light.pyi +3 -2
- homeassistant-stubs/components/switcher_kis/sensor.pyi +4 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +3 -5
- homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/systemmonitor/config_flow.pyi +1 -0
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +1 -0
- homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -1
- homeassistant-stubs/components/telegram_bot/__init__.pyi +2 -1
- homeassistant-stubs/components/telegram_bot/bot.pyi +10 -5
- homeassistant-stubs/components/telegram_bot/const.pyi +9 -0
- homeassistant-stubs/components/telegram_bot/diagnostics.pyi +11 -0
- homeassistant-stubs/components/telegram_bot/entity.pyi +16 -0
- homeassistant-stubs/components/telegram_bot/event.pyi +18 -0
- homeassistant-stubs/components/telegram_bot/notify.pyi +6 -10
- homeassistant-stubs/components/tibber/coordinator.pyi +1 -0
- homeassistant-stubs/components/tod/__init__.pyi +0 -1
- homeassistant-stubs/components/tod/config_flow.pyi +1 -0
- homeassistant-stubs/components/tolo/__init__.pyi +3 -5
- homeassistant-stubs/components/tolo/binary_sensor.pyi +4 -6
- homeassistant-stubs/components/tolo/button.pyi +3 -5
- homeassistant-stubs/components/tolo/climate.pyi +3 -5
- homeassistant-stubs/components/tolo/coordinator.pyi +3 -2
- homeassistant-stubs/components/tolo/entity.pyi +2 -3
- homeassistant-stubs/components/tolo/fan.pyi +3 -5
- homeassistant-stubs/components/tolo/light.pyi +3 -5
- homeassistant-stubs/components/tolo/number.pyi +3 -5
- homeassistant-stubs/components/tolo/select.pyi +4 -5
- homeassistant-stubs/components/tolo/sensor.pyi +3 -5
- homeassistant-stubs/components/tolo/switch.pyi +3 -5
- homeassistant-stubs/components/trend/__init__.pyi +0 -1
- homeassistant-stubs/components/trend/config_flow.pyi +1 -0
- homeassistant-stubs/components/tts/__init__.pyi +2 -3
- homeassistant-stubs/components/unifi/light.pyi +44 -0
- homeassistant-stubs/components/uptimerobot/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/uptimerobot/sensor.pyi +2 -0
- homeassistant-stubs/components/uptimerobot/switch.pyi +2 -0
- homeassistant-stubs/components/uptimerobot/utils.pyi +5 -0
- homeassistant-stubs/components/usb/__init__.pyi +2 -0
- homeassistant-stubs/components/usb/utils.pyi +7 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +0 -15
- homeassistant-stubs/components/vivotek/__init__.pyi +0 -0
- homeassistant-stubs/components/vivotek/camera.pyi +35 -0
- homeassistant-stubs/components/vodafone_station/__init__.pyi +3 -1
- homeassistant-stubs/components/vodafone_station/config_flow.pyi +3 -2
- homeassistant-stubs/components/vodafone_station/const.pyi +3 -0
- homeassistant-stubs/components/vodafone_station/coordinator.pyi +4 -4
- homeassistant-stubs/components/volvo/__init__.pyi +2 -0
- homeassistant-stubs/components/volvo/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/volvo/button.pyi +27 -0
- homeassistant-stubs/components/volvo/coordinator.pyi +12 -14
- homeassistant-stubs/components/volvo/device_tracker.pyi +23 -0
- homeassistant-stubs/components/volvo/diagnostics.pyi +12 -0
- homeassistant-stubs/components/volvo/entity.pyi +9 -5
- homeassistant-stubs/components/volvo/sensor.pyi +9 -8
- homeassistant-stubs/components/waqi/__init__.pyi +8 -0
- homeassistant-stubs/components/waqi/config_flow.pyi +14 -9
- homeassistant-stubs/components/waqi/const.pyi +1 -1
- homeassistant-stubs/components/waqi/coordinator.pyi +5 -4
- homeassistant-stubs/components/webostv/media_player.pyi +3 -0
- homeassistant-stubs/components/websocket_api/commands.pyi +2 -0
- homeassistant-stubs/components/wled/select.pyi +6 -3
- homeassistant-stubs/components/worldclock/__init__.pyi +0 -1
- homeassistant-stubs/components/worldclock/config_flow.pyi +1 -0
- homeassistant-stubs/components/zeroconf/__init__.pyi +3 -1
- homeassistant-stubs/components/zeroconf/discovery.pyi +8 -1
- homeassistant-stubs/components/zeroconf/repairs.pyi +13 -0
- homeassistant-stubs/components/zone/condition.pyi +10 -4
- homeassistant-stubs/components/zwave_js/config_flow.pyi +1 -0
- homeassistant-stubs/components/zwave_js/device_trigger.pyi +1 -1
- homeassistant-stubs/components/zwave_js/triggers/event.pyi +6 -8
- homeassistant-stubs/components/zwave_js/triggers/value_updated.pyi +6 -6
- homeassistant-stubs/config_entries.pyi +9 -0
- homeassistant-stubs/const.pyi +4 -21
- homeassistant-stubs/core.pyi +1 -7
- homeassistant-stubs/data_entry_flow.pyi +2 -0
- homeassistant-stubs/helpers/automation.pyi +6 -0
- homeassistant-stubs/helpers/condition.pyi +15 -5
- homeassistant-stubs/helpers/debounce.pyi +6 -1
- homeassistant-stubs/helpers/entity_platform.pyi +1 -1
- homeassistant-stubs/helpers/event.pyi +1 -1
- homeassistant-stubs/helpers/instance_id.pyi +1 -0
- homeassistant-stubs/helpers/llm.pyi +6 -1
- homeassistant-stubs/helpers/selector.pyi +5 -4
- homeassistant-stubs/helpers/service.pyi +4 -4
- homeassistant-stubs/helpers/template/__init__.pyi +0 -5
- homeassistant-stubs/helpers/trigger.pyi +18 -5
- homeassistant-stubs/helpers/update_coordinator.pyi +1 -0
- homeassistant-stubs/runner.pyi +1 -1
- homeassistant-stubs/util/async_iterator.pyi +33 -0
- homeassistant-stubs/util/unit_conversion.pyi +15 -0
- {homeassistant_stubs-2025.10.3.dist-info → homeassistant_stubs-2025.11.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.10.3.dist-info → homeassistant_stubs-2025.11.0b0.dist-info}/RECORD +438 -402
- homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -22
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +0 -33
- homeassistant-stubs/components/elevenlabs/const.pyi +0 -14
- homeassistant-stubs/components/elevenlabs/tts.pyi +0 -36
- homeassistant-stubs/components/neato/__init__.pyi +0 -15
- homeassistant-stubs/components/neato/api.pyi +0 -17
- homeassistant-stubs/components/neato/application_credentials.pyi +0 -6
- homeassistant-stubs/components/neato/button.pyi +0 -18
- homeassistant-stubs/components/neato/camera.pyi +0 -34
- homeassistant-stubs/components/neato/config_flow.pyi +0 -15
- homeassistant-stubs/components/neato/const.pyi +0 -13
- homeassistant-stubs/components/neato/entity.pyi +0 -11
- homeassistant-stubs/components/neato/hub.pyi +0 -17
- homeassistant-stubs/components/neato/sensor.pyi +0 -30
- homeassistant-stubs/components/neato/switch.pyi +0 -34
- homeassistant-stubs/components/neato/vacuum.pyi +0 -70
- homeassistant-stubs/components/recorder/history/legacy.pyi +0 -48
- homeassistant-stubs/components/recorder/history/modern.pyi +0 -39
- homeassistant-stubs/components/recorder/models/legacy.pyi +0 -45
- homeassistant-stubs/components/sfr_box/models.pyi +0 -12
- {homeassistant_stubs-2025.10.3.dist-info → homeassistant_stubs-2025.11.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.10.3.dist-info → homeassistant_stubs-2025.11.0b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -16,6 +16,8 @@ STORAGE_USER_ID: str
|
|
|
16
16
|
STORAGE_OTA_SECRET: str
|
|
17
17
|
INPUT_FIELD_CODE: str
|
|
18
18
|
DUMMY_SECRET: str
|
|
19
|
+
GOOGLE_AUTHENTICATOR_URL: str
|
|
20
|
+
AUTHY_URL: str
|
|
19
21
|
|
|
20
22
|
def _generate_qr_code(data: str) -> str: ...
|
|
21
23
|
def _generate_secret_and_qr_code(username: str) -> tuple[str, str, str]: ...
|
|
@@ -5,9 +5,11 @@ from homeassistant.components.bluetooth import async_get_scanner as async_get_sc
|
|
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
6
6
|
from homeassistant.const import CONF_ADDRESS as CONF_ADDRESS
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
+
from homeassistant.helpers.debounce import Debouncer as Debouncer
|
|
8
9
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
|
9
10
|
|
|
10
11
|
SCAN_INTERVAL: Incomplete
|
|
12
|
+
UPDATE_DEBOUNCE_TIME: float
|
|
11
13
|
_LOGGER: Incomplete
|
|
12
14
|
type AcaiaConfigEntry = ConfigEntry[AcaiaCoordinator]
|
|
13
15
|
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
from .const import CONF_USE_NEAREST as CONF_USE_NEAREST, DOMAIN as DOMAIN, NO_AIRLY_SENSORS as NO_AIRLY_SENSORS
|
|
2
|
+
from _typeshed import Incomplete
|
|
2
3
|
from aiohttp import ClientSession as ClientSession
|
|
3
4
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
|
4
5
|
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_NAME as CONF_NAME
|
|
5
6
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
6
7
|
from typing import Any
|
|
7
8
|
|
|
9
|
+
DESCRIPTION_PLACEHOLDERS: Incomplete
|
|
10
|
+
|
|
8
11
|
class AirlyFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
9
12
|
VERSION: int
|
|
10
13
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
from .const import DEFAULT_SSL as DEFAULT_SSL, DEFAULT_VERIFY_SSL as DEFAULT_VERIFY_SSL, SECTION_ADVANCED_SETTINGS as SECTION_ADVANCED_SETTINGS
|
|
1
|
+
from .const import DEFAULT_SSL as DEFAULT_SSL, DEFAULT_VERIFY_SSL as DEFAULT_VERIFY_SSL, DOMAIN as DOMAIN, SECTION_ADVANCED_SETTINGS as SECTION_ADVANCED_SETTINGS
|
|
2
2
|
from .coordinator import AirOSConfigEntry as AirOSConfigEntry, AirOSDataUpdateCoordinator as AirOSDataUpdateCoordinator
|
|
3
|
+
from _typeshed import Incomplete
|
|
3
4
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_SSL as CONF_SSL, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL, Platform as Platform
|
|
4
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
5
6
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
6
7
|
|
|
7
8
|
_PLATFORMS: list[Platform]
|
|
9
|
+
_LOGGER: Incomplete
|
|
8
10
|
|
|
9
11
|
async def async_setup_entry(hass: HomeAssistant, entry: AirOSConfigEntry) -> bool: ...
|
|
10
12
|
async def async_migrate_entry(hass: HomeAssistant, entry: AirOSConfigEntry) -> bool: ...
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
from .const import DEFAULT_SSL as DEFAULT_SSL, DEFAULT_VERIFY_SSL as DEFAULT_VERIFY_SSL, DOMAIN as DOMAIN, SECTION_ADVANCED_SETTINGS as SECTION_ADVANCED_SETTINGS
|
|
2
2
|
from .coordinator import AirOS8 as AirOS8
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
|
-
from
|
|
4
|
+
from collections.abc import Mapping
|
|
5
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE
|
|
5
6
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_SSL as CONF_SSL, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL
|
|
6
7
|
from homeassistant.data_entry_flow import section as section
|
|
7
8
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
9
|
+
from homeassistant.helpers.selector import TextSelector as TextSelector, TextSelectorConfig as TextSelectorConfig, TextSelectorType as TextSelectorType
|
|
8
10
|
from typing import Any
|
|
9
11
|
|
|
10
12
|
_LOGGER: Incomplete
|
|
@@ -13,4 +15,11 @@ STEP_USER_DATA_SCHEMA: Incomplete
|
|
|
13
15
|
class AirOSConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
14
16
|
VERSION: int
|
|
15
17
|
MINOR_VERSION: int
|
|
18
|
+
airos_device: AirOS8
|
|
19
|
+
errors: dict[str, str]
|
|
20
|
+
def __init__(self) -> None: ...
|
|
16
21
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
22
|
+
async def _validate_and_get_device_info(self, config_data: dict[str, Any]) -> dict[str, Any] | None: ...
|
|
23
|
+
async def async_step_reauth(self, user_input: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
24
|
+
async def async_step_reauth_confirm(self, user_input: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
25
|
+
async def async_step_reconfigure(self, user_input: Mapping[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -3,7 +3,7 @@ from _typeshed import Incomplete
|
|
|
3
3
|
from airos.airos8 import AirOS8 as AirOS8, AirOS8Data
|
|
4
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
|
-
from homeassistant.exceptions import
|
|
6
|
+
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
|
7
7
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
8
8
|
|
|
9
9
|
_LOGGER: Incomplete
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import dataclasses
|
|
2
2
|
from .const import DOMAIN as DOMAIN, MFCT_ID as MFCT_ID
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
|
-
from airthings_ble import AirthingsDevice as AirthingsDevice
|
|
4
|
+
from airthings_ble import AirthingsBluetoothDeviceData, AirthingsDevice as AirthingsDevice
|
|
5
|
+
from habluetooth import BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
|
|
5
6
|
from homeassistant.components import bluetooth as bluetooth
|
|
6
7
|
from homeassistant.components.bluetooth import BluetoothServiceInfo as BluetoothServiceInfo, async_discovered_service_info as async_discovered_service_info
|
|
7
8
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
|
@@ -16,6 +17,7 @@ class Discovery:
|
|
|
16
17
|
name: str
|
|
17
18
|
discovery_info: BluetoothServiceInfo
|
|
18
19
|
device: AirthingsDevice
|
|
20
|
+
data: AirthingsBluetoothDeviceData
|
|
19
21
|
|
|
20
22
|
def get_name(device: AirthingsDevice) -> str: ...
|
|
21
23
|
|
|
@@ -26,7 +28,7 @@ class AirthingsConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
|
26
28
|
_discovered_device: Discovery | None
|
|
27
29
|
_discovered_devices: dict[str, Discovery]
|
|
28
30
|
def __init__(self) -> None: ...
|
|
29
|
-
async def
|
|
31
|
+
async def _get_device(self, data: AirthingsBluetoothDeviceData, discovery_info: BluetoothServiceInfo) -> AirthingsDevice: ...
|
|
30
32
|
async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfo) -> ConfigFlowResult: ...
|
|
31
33
|
async def async_step_bluetooth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
32
34
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -3,7 +3,7 @@ from .coordinator import AirthingsBLEConfigEntry as AirthingsBLEConfigEntry, Air
|
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from airthings_ble import AirthingsDevice as AirthingsDevice
|
|
5
5
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
6
|
-
from homeassistant.const import CONCENTRATION_PARTS_PER_BILLION as CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, Platform as Platform, UnitOfPressure as UnitOfPressure, UnitOfTemperature as UnitOfTemperature
|
|
6
|
+
from homeassistant.const import CONCENTRATION_PARTS_PER_BILLION as CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, EntityCategory as EntityCategory, LIGHT_LUX as LIGHT_LUX, PERCENTAGE as PERCENTAGE, Platform as Platform, UnitOfPressure as UnitOfPressure, UnitOfSoundPressure as UnitOfSoundPressure, UnitOfTemperature as UnitOfTemperature
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
8
8
|
from homeassistant.helpers.device_registry import CONNECTION_BLUETOOTH as CONNECTION_BLUETOOTH, DeviceInfo as DeviceInfo
|
|
9
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -14,6 +14,7 @@ from homeassistant.util.unit_system import METRIC_SYSTEM as METRIC_SYSTEM
|
|
|
14
14
|
|
|
15
15
|
_LOGGER: Incomplete
|
|
16
16
|
SENSORS_MAPPING_TEMPLATE: dict[str, SensorEntityDescription]
|
|
17
|
+
PARALLEL_UPDATES: int
|
|
17
18
|
|
|
18
19
|
@callback
|
|
19
20
|
def async_migrate(hass: HomeAssistant, address: str, sensor_name: str) -> None: ...
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import asyncio
|
|
2
1
|
from .const import ATTR_CHANGED_BY as ATTR_CHANGED_BY, ATTR_CODE_ARM_REQUIRED as ATTR_CODE_ARM_REQUIRED, AlarmControlPanelEntityFeature as AlarmControlPanelEntityFeature, AlarmControlPanelState as AlarmControlPanelState, CodeFormat as CodeFormat, DOMAIN as DOMAIN
|
|
3
2
|
from _typeshed import Incomplete
|
|
4
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
@@ -8,8 +7,6 @@ from homeassistant.exceptions import ServiceValidationError as ServiceValidation
|
|
|
8
7
|
from homeassistant.helpers.config_validation import make_entity_service_schema as make_entity_service_schema
|
|
9
8
|
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
|
10
9
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
|
11
|
-
from homeassistant.helpers.entity_platform import EntityPlatform as EntityPlatform
|
|
12
|
-
from homeassistant.helpers.frame import ReportBehavior as ReportBehavior, report_usage as report_usage
|
|
13
10
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
14
11
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
|
15
12
|
from propcache.api import cached_property
|
|
@@ -40,13 +37,6 @@ class AlarmControlPanelEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_A
|
|
|
40
37
|
_attr_code_format: CodeFormat | None
|
|
41
38
|
_attr_supported_features: AlarmControlPanelEntityFeature
|
|
42
39
|
_alarm_control_panel_option_default_code: str | None
|
|
43
|
-
__alarm_legacy_state: bool
|
|
44
|
-
def __init_subclass__(cls, **kwargs: Any) -> None: ...
|
|
45
|
-
def __setattr__(self, name: str, value: Any, /) -> None: ...
|
|
46
|
-
@callback
|
|
47
|
-
def add_to_platform_start(self, hass: HomeAssistant, platform: EntityPlatform, parallel_updates: asyncio.Semaphore | None) -> None: ...
|
|
48
|
-
@callback
|
|
49
|
-
def _report_deprecated_alarm_state_handling(self) -> None: ...
|
|
50
40
|
@final
|
|
51
41
|
@property
|
|
52
42
|
def state(self) -> str | None: ...
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
from .const import CATEGORY_NOTIFICATIONS as CATEGORY_NOTIFICATIONS, CATEGORY_SENSORS as CATEGORY_SENSORS
|
|
1
2
|
from .coordinator import AmazonConfigEntry as AmazonConfigEntry
|
|
2
3
|
from .entity import AmazonEntity as AmazonEntity
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from aioamazondevices.api import AmazonDevice as AmazonDevice
|
|
5
6
|
from collections.abc import Callable as Callable
|
|
6
7
|
from dataclasses import dataclass
|
|
8
|
+
from datetime import datetime
|
|
7
9
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
8
10
|
from homeassistant.const import LIGHT_LUX as LIGHT_LUX, UnitOfTemperature as UnitOfTemperature
|
|
9
11
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
@@ -17,16 +19,24 @@ PARALLEL_UPDATES: int
|
|
|
17
19
|
class AmazonSensorEntityDescription(SensorEntityDescription):
|
|
18
20
|
native_unit_of_measurement_fn: Callable[[AmazonDevice, str], str] | None = ...
|
|
19
21
|
is_available_fn: Callable[[AmazonDevice, str], bool] = ...
|
|
22
|
+
category: str = ...
|
|
23
|
+
|
|
24
|
+
@dataclass(frozen=True, kw_only=True)
|
|
25
|
+
class AmazonNotificationEntityDescription(SensorEntityDescription):
|
|
26
|
+
native_unit_of_measurement_fn: Callable[[AmazonDevice, str], str] | None = ...
|
|
27
|
+
is_available_fn: Callable[[AmazonDevice, str], bool] = ...
|
|
28
|
+
category: str = ...
|
|
20
29
|
|
|
21
30
|
SENSORS: Final[Incomplete]
|
|
31
|
+
NOTIFICATIONS: Final[Incomplete]
|
|
22
32
|
|
|
23
33
|
async def async_setup_entry(hass: HomeAssistant, entry: AmazonConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
24
34
|
|
|
25
35
|
class AmazonSensorEntity(AmazonEntity, SensorEntity):
|
|
26
|
-
entity_description: AmazonSensorEntityDescription
|
|
36
|
+
entity_description: AmazonSensorEntityDescription | AmazonNotificationEntityDescription
|
|
27
37
|
@property
|
|
28
38
|
def native_unit_of_measurement(self) -> str | None: ...
|
|
29
39
|
@property
|
|
30
|
-
def native_value(self) -> StateType: ...
|
|
40
|
+
def native_value(self) -> StateType | datetime: ...
|
|
31
41
|
@property
|
|
32
42
|
def available(self) -> bool: ...
|
|
@@ -5,13 +5,13 @@ from homeassistant.components import zeroconf as zeroconf
|
|
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
6
6
|
from homeassistant.const import ATTR_CONNECTIONS as ATTR_CONNECTIONS, ATTR_IDENTIFIERS as ATTR_IDENTIFIERS, ATTR_MANUFACTURER as ATTR_MANUFACTURER, ATTR_MODEL as ATTR_MODEL, ATTR_NAME as ATTR_NAME, ATTR_SUGGESTED_AREA as ATTR_SUGGESTED_AREA, ATTR_SW_VERSION as ATTR_SW_VERSION, CONF_ADDRESS as CONF_ADDRESS, CONF_NAME as CONF_NAME, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
|
7
7
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, callback as callback
|
|
8
|
-
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
|
8
|
+
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady, HomeAssistantError as HomeAssistantError
|
|
9
9
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
10
10
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
|
11
|
-
from pyatv.conf import AppleTV
|
|
12
|
-
from pyatv.interface import AppleTV as AppleTVInterface, DeviceListener
|
|
13
11
|
from typing import Any
|
|
14
12
|
|
|
13
|
+
class DeviceListener: ...
|
|
14
|
+
|
|
15
15
|
_LOGGER: Incomplete
|
|
16
16
|
DEFAULT_NAME_TV: str
|
|
17
17
|
DEFAULT_NAME_HP: str
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
from .const import DOMAIN as DOMAIN, EVENT_RECORDING as EVENT_RECORDING, OPTION_PREFERRED as OPTION_PREFERRED, SAMPLES_PER_CHUNK as SAMPLES_PER_CHUNK, SAMPLE_CHANNELS as SAMPLE_CHANNELS, SAMPLE_RATE as SAMPLE_RATE, SAMPLE_WIDTH as SAMPLE_WIDTH
|
|
2
2
|
from .error import PipelineNotFound as PipelineNotFound
|
|
3
3
|
from .pipeline import AudioSettings as AudioSettings, Pipeline as Pipeline, PipelineEvent as PipelineEvent, PipelineEventCallback, PipelineEventType as PipelineEventType, PipelineStage, WakeWordSettings as WakeWordSettings, async_create_default_pipeline as async_create_default_pipeline, async_get_pipelines as async_get_pipelines, async_update_pipeline as async_update_pipeline
|
|
4
|
+
from .select import AssistPipelineSelect as AssistPipelineSelect, VadSensitivitySelect as VadSensitivitySelect
|
|
5
|
+
from .vad import VadSensitivity as VadSensitivity
|
|
4
6
|
from collections.abc import AsyncIterable
|
|
5
7
|
from homeassistant.components import stt
|
|
6
8
|
from homeassistant.core import Context, HomeAssistant
|
|
7
|
-
from homeassistant.helpers.typing import ConfigType
|
|
8
9
|
from typing import Any
|
|
9
10
|
|
|
10
|
-
__all__ = ['DOMAIN', 'EVENT_RECORDING', 'OPTION_PREFERRED', 'SAMPLES_PER_CHUNK', 'SAMPLE_CHANNELS', 'SAMPLE_RATE', 'SAMPLE_WIDTH', 'AudioSettings', 'Pipeline', 'PipelineEvent', 'PipelineEventType', 'PipelineNotFound', 'WakeWordSettings', 'async_create_default_pipeline', 'async_get_pipelines', 'async_pipeline_from_audio_stream', '
|
|
11
|
+
__all__ = ['DOMAIN', 'EVENT_RECORDING', 'OPTION_PREFERRED', 'SAMPLES_PER_CHUNK', 'SAMPLE_CHANNELS', 'SAMPLE_RATE', 'SAMPLE_WIDTH', 'AssistPipelineSelect', 'AudioSettings', 'Pipeline', 'PipelineEvent', 'PipelineEventType', 'PipelineNotFound', 'VadSensitivity', 'VadSensitivitySelect', 'WakeWordSettings', 'async_create_default_pipeline', 'async_get_pipelines', 'async_pipeline_from_audio_stream', 'async_update_pipeline']
|
|
11
12
|
|
|
12
|
-
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
13
13
|
async def async_pipeline_from_audio_stream(hass: HomeAssistant, *, context: Context, event_callback: PipelineEventCallback, stt_metadata: stt.SpeechMetadata, stt_stream: AsyncIterable[bytes], wake_word_phrase: str | None = None, pipeline_id: str | None = None, conversation_id: str | None = None, tts_audio_output: str | dict[str, Any] | None = None, wake_word_settings: WakeWordSettings | None = None, audio_settings: AudioSettings | None = None, device_id: str | None = None, satellite_id: str | None = None, start_stage: PipelineStage = ..., end_stage: PipelineStage = ..., conversation_extra_system_prompt: str | None = None) -> None: ...
|
|
@@ -9,7 +9,7 @@ from collections.abc import AsyncGenerator, AsyncIterable, Callable
|
|
|
9
9
|
from dataclasses import dataclass, field
|
|
10
10
|
from enum import StrEnum
|
|
11
11
|
from hassil.recognize import RecognizeResult as RecognizeResult
|
|
12
|
-
from homeassistant.components import conversation as conversation, stt as stt, tts as tts, wake_word as wake_word, websocket_api as websocket_api
|
|
12
|
+
from homeassistant.components import conversation as conversation, media_player as media_player, stt as stt, tts as tts, wake_word as wake_word, websocket_api as websocket_api
|
|
13
13
|
from homeassistant.const import ATTR_SUPPORTED_FEATURES as ATTR_SUPPORTED_FEATURES, MATCH_ALL as MATCH_ALL
|
|
14
14
|
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, callback as callback
|
|
15
15
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
@@ -27,19 +27,19 @@ SENSORS_TYPE_TEMPERATURES: str
|
|
|
27
27
|
SENSORS_TYPE_UPTIME: str
|
|
28
28
|
|
|
29
29
|
class WrtDevice(NamedTuple):
|
|
30
|
-
ip:
|
|
31
|
-
name:
|
|
32
|
-
|
|
30
|
+
ip: str | None
|
|
31
|
+
name: str | None
|
|
32
|
+
conneted_to: str | None
|
|
33
33
|
|
|
34
34
|
_LOGGER: Incomplete
|
|
35
|
-
type _FuncType[_T] = Callable[[_T], Awaitable[list[
|
|
35
|
+
type _FuncType[_T] = Callable[[_T], Awaitable[list[str] | tuple[float | None, float | None] | list[float] | dict[str, float | str | None] | dict[str, float]]]
|
|
36
36
|
type _ReturnFuncType[_T] = Callable[[_T], Coroutine[Any, Any, dict[str, Any]]]
|
|
37
37
|
|
|
38
38
|
def handle_errors_and_zip[_AsusWrtBridgeT: AsusWrtBridge](exceptions: type[Exception] | tuple[type[Exception], ...], keys: list[str] | None) -> Callable[[_FuncType[_AsusWrtBridgeT]], _ReturnFuncType[_AsusWrtBridgeT]]: ...
|
|
39
39
|
|
|
40
40
|
class AsusWrtBridge(ABC, metaclass=abc.ABCMeta):
|
|
41
41
|
@staticmethod
|
|
42
|
-
def get_bridge(hass: HomeAssistant, conf: dict[str,
|
|
42
|
+
def get_bridge(hass: HomeAssistant, conf: dict[str, str | int], options: dict[str, str | bool | int] | None = None) -> AsusWrtBridge: ...
|
|
43
43
|
_configuration_url: Incomplete
|
|
44
44
|
_host: Incomplete
|
|
45
45
|
_firmware: str | None
|
|
@@ -94,10 +94,10 @@ class AsusWrtLegacyBridge(AsusWrtBridge):
|
|
|
94
94
|
async def _get_model(self) -> None: ...
|
|
95
95
|
async def async_get_available_sensors(self) -> dict[str, dict[str, Any]]: ...
|
|
96
96
|
async def _get_available_temperature_sensors(self) -> list[str]: ...
|
|
97
|
-
async def _get_bytes(self) ->
|
|
98
|
-
async def _get_rates(self) ->
|
|
99
|
-
async def _get_load_avg(self) ->
|
|
100
|
-
async def _get_temperatures(self) ->
|
|
97
|
+
async def _get_bytes(self) -> tuple[float | None, float | None]: ...
|
|
98
|
+
async def _get_rates(self) -> tuple[float, float]: ...
|
|
99
|
+
async def _get_load_avg(self) -> list[float]: ...
|
|
100
|
+
async def _get_temperatures(self) -> dict[str, float]: ...
|
|
101
101
|
|
|
102
102
|
class AsusWrtHttpBridge(AsusWrtBridge):
|
|
103
103
|
_api: Incomplete
|
|
@@ -34,7 +34,7 @@ class AsusWrtFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
|
34
34
|
def __init__(self) -> None: ...
|
|
35
35
|
@callback
|
|
36
36
|
def _show_setup_form(self, error: str | None = None) -> ConfigFlowResult: ...
|
|
37
|
-
async def _async_check_connection(self, user_input: dict[str,
|
|
37
|
+
async def _async_check_connection(self, user_input: dict[str, str | int]) -> tuple[str, str | None]: ...
|
|
38
38
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
39
39
|
async def async_step_legacy(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
40
40
|
async def _async_save_entry(self) -> ConfigFlowResult: ...
|
|
@@ -6,7 +6,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
|
|
|
6
6
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
7
7
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
8
8
|
|
|
9
|
-
ATTR_LAST_TIME_REACHABLE: str
|
|
10
9
|
DEFAULT_DEVICE_NAME: str
|
|
11
10
|
|
|
12
11
|
async def async_setup_entry(hass: HomeAssistant, entry: AsusWrtConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
@@ -14,7 +13,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: AsusWrtConfigEntry, asyn
|
|
|
14
13
|
def add_entities(router: AsusWrtRouter, async_add_entities: AddConfigEntryEntitiesCallback, tracked: set[str]) -> None: ...
|
|
15
14
|
|
|
16
15
|
class AsusWrtDevice(ScannerEntity):
|
|
17
|
-
_unrecorded_attributes: Incomplete
|
|
18
16
|
_attr_should_poll: bool
|
|
19
17
|
_router: Incomplete
|
|
20
18
|
_device: Incomplete
|
|
@@ -30,7 +28,6 @@ class AsusWrtDevice(ScannerEntity):
|
|
|
30
28
|
def ip_address(self) -> str | None: ...
|
|
31
29
|
@property
|
|
32
30
|
def mac_address(self) -> str: ...
|
|
33
|
-
_attr_extra_state_attributes: Incomplete
|
|
34
31
|
@callback
|
|
35
32
|
def async_on_demand_update(self) -> None: ...
|
|
36
33
|
async def async_added_to_hass(self) -> None: ...
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
-
from typing import Any
|
|
2
|
+
from typing import Any
|
|
3
3
|
|
|
4
|
-
T = TypeVar('T', dict[str, Any], list[Any], None)
|
|
5
4
|
TRANSLATION_MAP: Incomplete
|
|
6
5
|
|
|
7
6
|
def clean_dict(raw: dict[str, Any]) -> dict[str, Any]: ...
|
|
8
|
-
def translate_to_legacy(raw: T) -> T: ...
|
|
7
|
+
def translate_to_legacy[T: (dict[str, Any], list[Any], None)](raw: T) -> T: ...
|
|
@@ -58,7 +58,7 @@ class AsusWrtRouter:
|
|
|
58
58
|
_sensors_data_handler: AsusWrtSensorDataHandler | None
|
|
59
59
|
_sensors_coordinator: dict[str, Any]
|
|
60
60
|
_on_close: list[Callable]
|
|
61
|
-
_options: dict[str,
|
|
61
|
+
_options: dict[str, str | bool | int]
|
|
62
62
|
_api: AsusWrtBridge
|
|
63
63
|
def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
64
64
|
def _migrate_entities_unique_id(self) -> None: ...
|
|
@@ -9,6 +9,7 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
|
|
|
9
9
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
10
10
|
from homeassistant.helpers import frame as frame
|
|
11
11
|
from homeassistant.util import slugify as slugify
|
|
12
|
+
from homeassistant.util.async_iterator import AsyncIteratorReader as AsyncIteratorReader, AsyncIteratorWriter as AsyncIteratorWriter
|
|
12
13
|
from multidict import istr
|
|
13
14
|
|
|
14
15
|
@callback
|
|
@@ -6,7 +6,7 @@ from .config import BackupConfig as BackupConfig, CreateBackupParametersDict as
|
|
|
6
6
|
from .const import BUF_SIZE as BUF_SIZE, DATA_MANAGER as DATA_MANAGER, DOMAIN as DOMAIN, EXCLUDE_DATABASE_FROM_BACKUP as EXCLUDE_DATABASE_FROM_BACKUP, EXCLUDE_FROM_BACKUP as EXCLUDE_FROM_BACKUP, LOGGER as LOGGER
|
|
7
7
|
from .models import AddonInfo as AddonInfo, AgentBackup as AgentBackup, BackupError as BackupError, BackupManagerError as BackupManagerError, BackupNotFound as BackupNotFound, BackupReaderWriterError as BackupReaderWriterError, BaseBackup as BaseBackup, Folder as Folder
|
|
8
8
|
from .store import BackupStore as BackupStore
|
|
9
|
-
from .util import
|
|
9
|
+
from .util import DecryptedBackupStreamer as DecryptedBackupStreamer, EncryptedBackupStreamer as EncryptedBackupStreamer, make_backup_dir as make_backup_dir, read_backup as read_backup, validate_password as validate_password, validate_password_stream as validate_password_stream
|
|
10
10
|
from _typeshed import Incomplete
|
|
11
11
|
from collections.abc import AsyncIterator, Callable as Callable, Coroutine
|
|
12
12
|
from dataclasses import dataclass
|
|
@@ -15,6 +15,7 @@ from homeassistant.backup_restore import RESTORE_BACKUP_FILE as RESTORE_BACKUP_F
|
|
|
15
15
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
16
16
|
from homeassistant.helpers import frame as frame, instance_id as instance_id, integration_platform as integration_platform, start as start
|
|
17
17
|
from homeassistant.helpers.json import json_bytes as json_bytes
|
|
18
|
+
from homeassistant.util.async_iterator import AsyncIteratorReader as AsyncIteratorReader
|
|
18
19
|
from pathlib import Path
|
|
19
20
|
from typing import Any, Protocol, TypedDict
|
|
20
21
|
|
|
@@ -6,14 +6,14 @@ from .const import BUF_SIZE as BUF_SIZE, LOGGER as LOGGER
|
|
|
6
6
|
from .models import AddonInfo as AddonInfo, AgentBackup as AgentBackup, Folder as Folder
|
|
7
7
|
from _typeshed import Incomplete
|
|
8
8
|
from collections.abc import AsyncIterator, Callable as Callable, Coroutine
|
|
9
|
-
from concurrent.futures import Future
|
|
10
9
|
from dataclasses import dataclass
|
|
11
10
|
from homeassistant.backup_restore import password_to_key as password_to_key
|
|
12
11
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
13
12
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
13
|
+
from homeassistant.util.async_iterator import Abort as Abort, AsyncIteratorReader as AsyncIteratorReader, AsyncIteratorWriter as AsyncIteratorWriter
|
|
14
14
|
from homeassistant.util.json import JsonObjectType as JsonObjectType, json_loads_object as json_loads_object
|
|
15
15
|
from pathlib import Path
|
|
16
|
-
from typing import Any, IO
|
|
16
|
+
from typing import Any, IO
|
|
17
17
|
|
|
18
18
|
class DecryptError(HomeAssistantError):
|
|
19
19
|
_message: str
|
|
@@ -30,41 +30,11 @@ class IncorrectPassword(DecryptError):
|
|
|
30
30
|
class BackupEmpty(DecryptError):
|
|
31
31
|
_message: str
|
|
32
32
|
|
|
33
|
-
class AbortCipher(HomeAssistantError):
|
|
34
|
-
_message: str
|
|
35
|
-
|
|
36
33
|
def make_backup_dir(path: Path) -> None: ...
|
|
37
34
|
def read_backup(backup_path: Path) -> AgentBackup: ...
|
|
38
35
|
def suggested_filename_from_name_date(name: str, date_str: str) -> str: ...
|
|
39
36
|
def suggested_filename(backup: AgentBackup) -> str: ...
|
|
40
37
|
def validate_password(path: Path, password: str | None) -> bool: ...
|
|
41
|
-
|
|
42
|
-
class AsyncIteratorReader:
|
|
43
|
-
_aborted: bool
|
|
44
|
-
_hass: Incomplete
|
|
45
|
-
_stream: Incomplete
|
|
46
|
-
_buffer: bytes | None
|
|
47
|
-
_next_future: Future[bytes | None] | None
|
|
48
|
-
_pos: int
|
|
49
|
-
def __init__(self, hass: HomeAssistant, stream: AsyncIterator[bytes]) -> None: ...
|
|
50
|
-
async def _next(self) -> bytes | None: ...
|
|
51
|
-
def abort(self) -> None: ...
|
|
52
|
-
def read(self, n: int = -1, /) -> bytes: ...
|
|
53
|
-
def close(self) -> None: ...
|
|
54
|
-
|
|
55
|
-
class AsyncIteratorWriter:
|
|
56
|
-
_aborted: bool
|
|
57
|
-
_hass: Incomplete
|
|
58
|
-
_pos: int
|
|
59
|
-
_queue: asyncio.Queue[bytes | None]
|
|
60
|
-
_write_future: Future[bytes | None] | None
|
|
61
|
-
def __init__(self, hass: HomeAssistant) -> None: ...
|
|
62
|
-
def __aiter__(self) -> Self: ...
|
|
63
|
-
async def __anext__(self) -> bytes: ...
|
|
64
|
-
def abort(self) -> None: ...
|
|
65
|
-
def tell(self) -> int: ...
|
|
66
|
-
def write(self, s: bytes, /) -> int: ...
|
|
67
|
-
|
|
68
38
|
def validate_password_stream(input_stream: IO[bytes], password: str | None) -> None: ...
|
|
69
39
|
def _get_expected_archives(backup: AgentBackup) -> set[str]: ...
|
|
70
40
|
def decrypt_backup(backup: AgentBackup, input_stream: IO[bytes], output_stream: IO[bytes], password: str | None, on_done: Callable[[Exception | None], None], minimum_size: int, nonces: NonceGenerator) -> None: ...
|
|
@@ -45,11 +45,6 @@ class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
|
|
|
45
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
|
-
_volume: Incomplete
|
|
49
|
-
_playback_metadata: Incomplete
|
|
50
|
-
_playback_progress: Incomplete
|
|
51
|
-
_source_change: Incomplete
|
|
52
|
-
_playback_state: Incomplete
|
|
53
48
|
_attr_media_position_updated_at: Incomplete
|
|
54
49
|
async def _initialize(self) -> None: ...
|
|
55
50
|
_attr_repeat: Incomplete
|
|
@@ -57,15 +52,20 @@ class BangOlufsenMediaPlayer(BangOlufsenEntity, MediaPlayerEntity):
|
|
|
57
52
|
async def async_update(self) -> None: ...
|
|
58
53
|
_attr_source_list: Incomplete
|
|
59
54
|
async def _async_update_sources(self, _: Source | None = None) -> None: ...
|
|
55
|
+
_playback_metadata: Incomplete
|
|
60
56
|
async def _async_update_playback_metadata_and_beolink(self, data: PlaybackContentMetadata) -> None: ...
|
|
61
57
|
@callback
|
|
62
58
|
def _async_update_playback_error(self, data: PlaybackError) -> None: ...
|
|
59
|
+
_playback_progress: Incomplete
|
|
63
60
|
@callback
|
|
64
61
|
def _async_update_playback_progress(self, data: PlaybackProgress) -> None: ...
|
|
62
|
+
_playback_state: Incomplete
|
|
65
63
|
@callback
|
|
66
64
|
def _async_update_playback_state(self, data: RenderingState) -> None: ...
|
|
65
|
+
_source_change: Incomplete
|
|
67
66
|
@callback
|
|
68
67
|
def _async_update_source_change(self, data: Source) -> None: ...
|
|
68
|
+
_volume: Incomplete
|
|
69
69
|
@callback
|
|
70
70
|
def _async_update_volume(self, data: VolumeState) -> None: ...
|
|
71
71
|
async def _async_update_name_and_beolink(self) -> None: ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from .api import async_address_present as async_address_present, async_ble_device_from_address as async_ble_device_from_address, async_current_scanners as async_current_scanners, async_discovered_service_info as async_discovered_service_info, async_get_advertisement_callback as async_get_advertisement_callback, async_get_fallback_availability_interval as async_get_fallback_availability_interval, async_get_learned_advertising_interval as async_get_learned_advertising_interval, async_get_scanner as async_get_scanner, async_last_service_info as async_last_service_info, async_process_advertisements as async_process_advertisements, async_rediscover_address as async_rediscover_address, async_register_callback as async_register_callback, async_register_scanner as async_register_scanner, async_remove_scanner as async_remove_scanner, async_scanner_by_source as async_scanner_by_source, async_scanner_count as async_scanner_count, async_scanner_devices_by_address as async_scanner_devices_by_address, async_set_fallback_availability_interval as async_set_fallback_availability_interval, async_track_unavailable as async_track_unavailable
|
|
1
|
+
from .api import async_address_present as async_address_present, async_ble_device_from_address as async_ble_device_from_address, async_clear_address_from_match_history as async_clear_address_from_match_history, async_current_scanners as async_current_scanners, async_discovered_service_info as async_discovered_service_info, async_get_advertisement_callback as async_get_advertisement_callback, async_get_fallback_availability_interval as async_get_fallback_availability_interval, async_get_learned_advertising_interval as async_get_learned_advertising_interval, async_get_scanner as async_get_scanner, async_last_service_info as async_last_service_info, async_process_advertisements as async_process_advertisements, async_rediscover_address as async_rediscover_address, async_register_callback as async_register_callback, async_register_scanner as async_register_scanner, async_remove_scanner as async_remove_scanner, async_scanner_by_source as async_scanner_by_source, async_scanner_count as async_scanner_count, async_scanner_devices_by_address as async_scanner_devices_by_address, async_set_fallback_availability_interval as async_set_fallback_availability_interval, async_track_unavailable as async_track_unavailable
|
|
2
2
|
from .const import FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS as FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS, SOURCE_LOCAL as SOURCE_LOCAL
|
|
3
3
|
from .match import BluetoothCallbackMatcher as BluetoothCallbackMatcher
|
|
4
4
|
from .models import BluetoothCallback as BluetoothCallback, BluetoothChange as BluetoothChange
|
|
@@ -7,7 +7,4 @@ from habluetooth import BaseHaRemoteScanner as BaseHaRemoteScanner, BaseHaScanne
|
|
|
7
7
|
from home_assistant_bluetooth import BluetoothServiceInfo as BluetoothServiceInfo, BluetoothServiceInfoBleak as BluetoothServiceInfoBleak
|
|
8
8
|
from homeassistant.core import callback as hass_callback
|
|
9
9
|
|
|
10
|
-
__all__ = ['FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS', 'MONOTONIC_TIME', 'SOURCE_LOCAL', 'BaseHaRemoteScanner', 'BaseHaScanner', 'BluetoothCallback', 'BluetoothCallbackMatcher', 'BluetoothChange', 'BluetoothScannerDevice', 'BluetoothScanningMode', 'BluetoothServiceInfo', 'BluetoothServiceInfoBleak', 'HaBluetoothConnector', '
|
|
11
|
-
|
|
12
|
-
# Names in __all__ with no definition:
|
|
13
|
-
# HomeAssistantRemoteScanner
|
|
10
|
+
__all__ = ['FALLBACK_MAXIMUM_STALE_ADVERTISEMENT_SECONDS', 'MONOTONIC_TIME', 'SOURCE_LOCAL', 'BaseHaRemoteScanner', 'BaseHaScanner', 'BluetoothCallback', 'BluetoothCallbackMatcher', 'BluetoothChange', 'BluetoothScannerDevice', 'BluetoothScanningMode', 'BluetoothServiceInfo', 'BluetoothServiceInfoBleak', 'HaBluetoothConnector', 'async_address_present', 'async_ble_device_from_address', 'async_clear_address_from_match_history', 'async_current_scanners', 'async_discovered_service_info', 'async_get_advertisement_callback', 'async_get_fallback_availability_interval', 'async_get_learned_advertising_interval', 'async_get_scanner', 'async_last_service_info', 'async_process_advertisements', 'async_rediscover_address', 'async_register_callback', 'async_register_scanner', 'async_remove_scanner', 'async_scanner_by_source', 'async_scanner_count', 'async_scanner_devices_by_address', 'async_set_fallback_availability_interval', 'async_track_unavailable']
|
|
@@ -37,6 +37,8 @@ def async_track_unavailable(hass: HomeAssistant, callback: Callable[[BluetoothSe
|
|
|
37
37
|
@hass_callback
|
|
38
38
|
def async_rediscover_address(hass: HomeAssistant, address: str) -> None: ...
|
|
39
39
|
@hass_callback
|
|
40
|
+
def async_clear_address_from_match_history(hass: HomeAssistant, address: str) -> None: ...
|
|
41
|
+
@hass_callback
|
|
40
42
|
def async_register_scanner(hass: HomeAssistant, scanner: BaseHaScanner, connection_slots: int | None = None, source_domain: str | None = None, source_model: str | None = None, source_config_entry_id: str | None = None, source_device_id: str | None = None) -> CALLBACK_TYPE: ...
|
|
41
43
|
@hass_callback
|
|
42
44
|
def async_remove_scanner(hass: HomeAssistant, source: str) -> None: ...
|
|
@@ -31,6 +31,8 @@ class HomeAssistantBluetoothManager(BluetoothManager):
|
|
|
31
31
|
def _async_trigger_matching_discovery(self, service_info: BluetoothServiceInfoBleak) -> None: ...
|
|
32
32
|
@hass_callback
|
|
33
33
|
def async_rediscover_address(self, address: str) -> None: ...
|
|
34
|
+
@hass_callback
|
|
35
|
+
def async_clear_address_from_match_history(self, address: str) -> None: ...
|
|
34
36
|
def _discover_service_info(self, service_info: BluetoothServiceInfoBleak) -> None: ...
|
|
35
37
|
def _address_disappeared(self, address: str) -> None: ...
|
|
36
38
|
async def async_setup(self) -> None: ...
|
|
@@ -2,8 +2,8 @@ from . import BryantEvolutionConfigEntry as BryantEvolutionConfigEntry, names as
|
|
|
2
2
|
from .const import CONF_SYSTEM_ZONE as CONF_SYSTEM_ZONE, DOMAIN as DOMAIN
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from evolutionhttp import BryantEvolutionLocalClient as BryantEvolutionLocalClient
|
|
5
|
-
from homeassistant.components.climate import ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACAction as HVACAction, HVACMode as HVACMode
|
|
6
|
-
from homeassistant.const import UnitOfTemperature as UnitOfTemperature
|
|
5
|
+
from homeassistant.components.climate import ATTR_TARGET_TEMP_HIGH as ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW as ATTR_TARGET_TEMP_LOW, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACAction as HVACAction, HVACMode as HVACMode
|
|
6
|
+
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, UnitOfTemperature as UnitOfTemperature
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
9
9
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
@@ -48,7 +48,7 @@ class CalendarEventListener:
|
|
|
48
48
|
_fetcher: Incomplete
|
|
49
49
|
_timespan: Incomplete
|
|
50
50
|
_events: list[QueuedCalendarEvent]
|
|
51
|
-
def __init__(self, hass: HomeAssistant, job: HassJob[..., Coroutine[Any, Any, None]], trigger_data: dict[str, Any], fetcher: QueuedEventFetcher) -> None: ...
|
|
51
|
+
def __init__(self, hass: HomeAssistant, job: HassJob[..., Coroutine[Any, Any, None] | Any], trigger_data: dict[str, Any], fetcher: QueuedEventFetcher) -> None: ...
|
|
52
52
|
async def async_attach(self) -> None: ...
|
|
53
53
|
@callback
|
|
54
54
|
def async_detach(self) -> None: ...
|
|
@@ -2,7 +2,7 @@ import asyncio
|
|
|
2
2
|
import collections
|
|
3
3
|
from .const import CAMERA_IMAGE_TIMEOUT as CAMERA_IMAGE_TIMEOUT, CAMERA_STREAM_SOURCE_TIMEOUT as CAMERA_STREAM_SOURCE_TIMEOUT, CONF_DURATION as CONF_DURATION, CONF_LOOKBACK as CONF_LOOKBACK, CameraState as CameraState, DATA_CAMERA_PREFS as DATA_CAMERA_PREFS, DATA_COMPONENT as DATA_COMPONENT, DOMAIN as DOMAIN, PREF_ORIENTATION as PREF_ORIENTATION, PREF_PRELOAD_STREAM as PREF_PRELOAD_STREAM, SERVICE_RECORD as SERVICE_RECORD, StreamType as StreamType
|
|
4
4
|
from .helper import get_camera_from_entity_id as get_camera_from_entity_id
|
|
5
|
-
from .img_util import scale_jpeg_camera_image as scale_jpeg_camera_image
|
|
5
|
+
from .img_util import TurboJPEGSingleton as TurboJPEGSingleton, scale_jpeg_camera_image as scale_jpeg_camera_image
|
|
6
6
|
from .prefs import CameraPreferences as CameraPreferences, DynamicStreamSettings as DynamicStreamSettings, get_dynamic_camera_stream_settings as get_dynamic_camera_stream_settings
|
|
7
7
|
from .webrtc import CameraWebRTCProvider as CameraWebRTCProvider, DATA_ICE_SERVERS as DATA_ICE_SERVERS, WebRTCAnswer as WebRTCAnswer, WebRTCCandidate as WebRTCCandidate, WebRTCClientConfiguration as WebRTCClientConfiguration, WebRTCError as WebRTCError, WebRTCMessage as WebRTCMessage, WebRTCSendMessage as WebRTCSendMessage, async_get_supported_provider as async_get_supported_provider, async_register_ice_servers as async_register_ice_servers, async_register_webrtc_provider as async_register_webrtc_provider, async_register_ws as async_register_ws
|
|
8
8
|
from _typeshed import Incomplete
|
|
@@ -19,7 +19,6 @@ from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
|
19
19
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_FILENAME as CONF_FILENAME, CONTENT_TYPE_MULTIPART as CONTENT_TYPE_MULTIPART, EVENT_HOMEASSISTANT_STARTED as EVENT_HOMEASSISTANT_STARTED, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, SERVICE_TURN_OFF as SERVICE_TURN_OFF, SERVICE_TURN_ON as SERVICE_TURN_ON
|
|
20
20
|
from homeassistant.core import Event as Event, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
|
21
21
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
22
|
-
from homeassistant.helpers.deprecation import DeprecatedConstantEnum as DeprecatedConstantEnum, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
|
23
22
|
from homeassistant.helpers.entity import Entity as Entity, EntityDescription as EntityDescription
|
|
24
23
|
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
|
25
24
|
from homeassistant.helpers.event import async_track_time_interval as async_track_time_interval
|
|
@@ -43,9 +42,6 @@ SERVICE_PLAY_STREAM: Final[str]
|
|
|
43
42
|
ATTR_FILENAME: Final[str]
|
|
44
43
|
ATTR_MEDIA_PLAYER: Final[str]
|
|
45
44
|
ATTR_FORMAT: Final[str]
|
|
46
|
-
_DEPRECATED_STATE_RECORDING: Incomplete
|
|
47
|
-
_DEPRECATED_STATE_STREAMING: Incomplete
|
|
48
|
-
_DEPRECATED_STATE_IDLE: Incomplete
|
|
49
45
|
|
|
50
46
|
class CameraEntityFeature(IntFlag):
|
|
51
47
|
ON_OFF = 1
|
|
@@ -219,7 +215,3 @@ async def async_handle_snapshot_service(camera: Camera, service_call: ServiceCal
|
|
|
219
215
|
async def async_handle_play_stream_service(camera: Camera, service_call: ServiceCall) -> None: ...
|
|
220
216
|
async def _async_stream_endpoint_url(hass: HomeAssistant, camera: Camera, fmt: str) -> str: ...
|
|
221
217
|
async def async_handle_record_service(camera: Camera, service_call: ServiceCall) -> None: ...
|
|
222
|
-
|
|
223
|
-
__getattr__: Incomplete
|
|
224
|
-
__dir__: Incomplete
|
|
225
|
-
__all__: Incomplete
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from .const import DEFAULT_PORT as DEFAULT_PORT, DOMAIN as DOMAIN
|
|
2
|
-
from .errors import ConnectionRefused as ConnectionRefused, ConnectionTimeout as ConnectionTimeout, ResolveFailed as ResolveFailed, ValidationFailure as ValidationFailure
|
|
2
|
+
from .errors import ConnectionRefused as ConnectionRefused, ConnectionReset as ConnectionReset, ConnectionTimeout as ConnectionTimeout, ResolveFailed as ResolveFailed, ValidationFailure as ValidationFailure
|
|
3
3
|
from .helper import get_cert_expiry_timestamp as get_cert_expiry_timestamp
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Mapping
|