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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import datetime
|
|
2
2
|
from .const import TIMEOUT as TIMEOUT
|
|
3
|
-
from .errors import ConnectionRefused as ConnectionRefused, ConnectionTimeout as ConnectionTimeout, ResolveFailed as ResolveFailed, ValidationFailure as ValidationFailure
|
|
3
|
+
from .errors import ConnectionRefused as ConnectionRefused, ConnectionReset as ConnectionReset, ConnectionTimeout as ConnectionTimeout, ResolveFailed as ResolveFailed, ValidationFailure as ValidationFailure
|
|
4
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
5
|
from homeassistant.util.ssl import get_default_context as get_default_context
|
|
6
6
|
from typing import Any
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from . import account_link as account_link, backup as backup, http_api as http_api
|
|
2
2
|
from .client import CloudClient as CloudClient
|
|
3
|
-
from .const import CONF_ACCOUNTS_SERVER as CONF_ACCOUNTS_SERVER, CONF_ACCOUNT_LINK_SERVER as CONF_ACCOUNT_LINK_SERVER, CONF_ACME_SERVER as CONF_ACME_SERVER, CONF_ALEXA as CONF_ALEXA, CONF_ALIASES as CONF_ALIASES,
|
|
3
|
+
from .const import CONF_ACCOUNTS_SERVER as CONF_ACCOUNTS_SERVER, CONF_ACCOUNT_LINK_SERVER as CONF_ACCOUNT_LINK_SERVER, CONF_ACME_SERVER as CONF_ACME_SERVER, CONF_ALEXA as CONF_ALEXA, CONF_ALIASES as CONF_ALIASES, CONF_API_SERVER as CONF_API_SERVER, CONF_COGNITO_CLIENT_ID as CONF_COGNITO_CLIENT_ID, CONF_ENTITY_CONFIG as CONF_ENTITY_CONFIG, CONF_FILTER as CONF_FILTER, CONF_GOOGLE_ACTIONS as CONF_GOOGLE_ACTIONS, CONF_RELAYER_SERVER as CONF_RELAYER_SERVER, CONF_REMOTESTATE_SERVER as CONF_REMOTESTATE_SERVER, CONF_SERVICEHANDLERS_SERVER as CONF_SERVICEHANDLERS_SERVER, CONF_USER_POOL_ID as CONF_USER_POOL_ID, DATA_CLOUD as DATA_CLOUD, DATA_CLOUD_LOG_HANDLER as DATA_CLOUD_LOG_HANDLER, DATA_PLATFORMS_SETUP as DATA_PLATFORMS_SETUP, DOMAIN as DOMAIN, MODE_DEV as MODE_DEV, MODE_PROD as MODE_PROD
|
|
4
4
|
from .helpers import FixedSizeQueueLogHandler as FixedSizeQueueLogHandler
|
|
5
5
|
from .prefs import CloudPreferences as CloudPreferences
|
|
6
6
|
from .repairs import async_manage_legacy_subscription_issue as async_manage_legacy_subscription_issue
|
|
@@ -35,6 +35,7 @@ GOOGLE_ENTITY_SCHEMA: Incomplete
|
|
|
35
35
|
ASSISTANT_SCHEMA: Incomplete
|
|
36
36
|
ALEXA_SCHEMA: Incomplete
|
|
37
37
|
GACTIONS_SCHEMA: Incomplete
|
|
38
|
+
_BASE_CONFIG_SCHEMA: Incomplete
|
|
38
39
|
CONFIG_SCHEMA: Incomplete
|
|
39
40
|
|
|
40
41
|
class CloudNotAvailable(HomeAssistantError): ...
|
|
@@ -7,7 +7,7 @@ from _typeshed import Incomplete
|
|
|
7
7
|
from collections.abc import Callable as Callable
|
|
8
8
|
from hass_nabucasa.client import CloudClient as Interface
|
|
9
9
|
from homeassistant.components import google_assistant as google_assistant, persistent_notification as persistent_notification, webhook as webhook
|
|
10
|
-
from homeassistant.components.camera
|
|
10
|
+
from homeassistant.components.camera import async_register_ice_servers as async_register_ice_servers
|
|
11
11
|
from homeassistant.core import Context as Context, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback
|
|
12
12
|
from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE as SERVER_SOFTWARE
|
|
13
13
|
from homeassistant.helpers.dispatcher import async_dispatcher_send as async_dispatcher_send
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitVedoSystem as ComelitVedoSystem
|
|
2
|
+
from .utils import DeviceType as DeviceType, new_device_listener as new_device_listener
|
|
2
3
|
from _typeshed import Incomplete
|
|
3
4
|
from aiocomelit import ComelitVedoZoneObject as ComelitVedoZoneObject
|
|
4
5
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
|
3
|
-
from .utils import bridge_api_call as bridge_api_call
|
|
3
|
+
from .utils import DeviceType as DeviceType, bridge_api_call as bridge_api_call, new_device_listener as new_device_listener
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from aiocomelit import ComelitSerialBridgeObject as ComelitSerialBridgeObject
|
|
6
|
-
from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity,
|
|
6
|
+
from homeassistant.components.cover import CoverDeviceClass as CoverDeviceClass, CoverEntity as CoverEntity, CoverState as CoverState
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
8
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
9
|
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
|
3
|
-
from .utils import bridge_api_call as bridge_api_call
|
|
3
|
+
from .utils import DeviceType as DeviceType, bridge_api_call as bridge_api_call, new_device_listener as new_device_listener
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from homeassistant.components.light import ColorMode as ColorMode, LightEntity as LightEntity
|
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge, ComelitVedoSystem as ComelitVedoSystem
|
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
|
3
|
+
from .utils import DeviceType as DeviceType, new_device_listener as new_device_listener
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from aiocomelit.api import ComelitSerialBridgeObject as ComelitSerialBridgeObject, ComelitVedoZoneObject as ComelitVedoZoneObject
|
|
5
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from .coordinator import ComelitConfigEntry as ComelitConfigEntry, ComelitSerialBridge as ComelitSerialBridge
|
|
2
2
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
|
3
|
-
from .utils import bridge_api_call as bridge_api_call
|
|
3
|
+
from .utils import DeviceType as DeviceType, bridge_api_call as bridge_api_call, new_device_listener as new_device_listener
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from aiocomelit import ComelitSerialBridgeObject as ComelitSerialBridgeObject
|
|
6
6
|
from homeassistant.components.switch import SwitchDeviceClass as SwitchDeviceClass, SwitchEntity as SwitchEntity
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from .const import DOMAIN as DOMAIN, _LOGGER as _LOGGER
|
|
2
|
+
from .coordinator import ComelitBaseCoordinator as ComelitBaseCoordinator
|
|
2
3
|
from .entity import ComelitBridgeBaseEntity as ComelitBridgeBaseEntity
|
|
3
|
-
from aiocomelit import ComelitSerialBridgeObject
|
|
4
|
+
from aiocomelit.api import ComelitSerialBridgeObject, ComelitVedoAreaObject, ComelitVedoZoneObject
|
|
4
5
|
from aiohttp import ClientSession as ClientSession
|
|
5
6
|
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
|
6
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
@@ -9,8 +10,11 @@ from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
|
9
10
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
|
10
11
|
from typing import Any, Concatenate
|
|
11
12
|
|
|
13
|
+
DeviceType = ComelitSerialBridgeObject | ComelitVedoAreaObject | ComelitVedoZoneObject
|
|
14
|
+
|
|
12
15
|
async def async_client_session(hass: HomeAssistant) -> ClientSession: ...
|
|
13
16
|
def load_api_data(device: ComelitSerialBridgeObject, domain: str) -> list[Any]: ...
|
|
14
17
|
async def cleanup_stale_entity(hass: HomeAssistant, config_entry: ConfigEntry, entry_unique_id: str, device: ComelitSerialBridgeObject) -> None: ...
|
|
15
18
|
def _async_remove_state_config_entry_from_devices(hass: HomeAssistant, identifiers: list[str], config_entry: ConfigEntry) -> None: ...
|
|
16
19
|
def bridge_api_call[_T: ComelitBridgeBaseEntity, **_P](func: Callable[Concatenate[_T, _P], Awaitable[None]]) -> Callable[Concatenate[_T, _P], Coroutine[Any, Any, None]]: ...
|
|
20
|
+
def new_device_listener(coordinator: ComelitBaseCoordinator, new_devices_callback: Callable[[list[ComelitSerialBridgeObject | ComelitVedoAreaObject | ComelitVedoZoneObject], str], None], data_type: str) -> Callable[[], None]: ...
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
1
2
|
from aiohttp import web
|
|
2
3
|
from collections.abc import Callable as Callable
|
|
3
4
|
from homeassistant import config_entries as config_entries, data_entry_flow as data_entry_flow
|
|
@@ -9,10 +10,13 @@ from homeassistant.core import HomeAssistant as HomeAssistant, callback as callb
|
|
|
9
10
|
from homeassistant.exceptions import DependencyError as DependencyError, Unauthorized as Unauthorized
|
|
10
11
|
from homeassistant.helpers.data_entry_flow import FlowManagerIndexView as FlowManagerIndexView, FlowManagerResourceView as FlowManagerResourceView
|
|
11
12
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect as async_dispatcher_connect
|
|
12
|
-
from homeassistant.helpers.json import json_fragment as json_fragment
|
|
13
|
+
from homeassistant.helpers.json import JSON_DUMP as JSON_DUMP, find_paths_unserializable_data as find_paths_unserializable_data, json_bytes as json_bytes, json_fragment as json_fragment
|
|
13
14
|
from homeassistant.loader import Integration as Integration, IntegrationNotFound as IntegrationNotFound, async_get_config_flows as async_get_config_flows, async_get_integrations as async_get_integrations, async_get_loaded_integration as async_get_loaded_integration
|
|
15
|
+
from homeassistant.util.json import format_unserializable_data as format_unserializable_data
|
|
14
16
|
from typing import Any, NoReturn
|
|
15
17
|
|
|
18
|
+
_LOGGER: Incomplete
|
|
19
|
+
|
|
16
20
|
@callback
|
|
17
21
|
def async_setup(hass: HomeAssistant) -> bool: ...
|
|
18
22
|
|
|
@@ -3,9 +3,8 @@ from _typeshed import Incomplete
|
|
|
3
3
|
from collections.abc import Callable as Callable
|
|
4
4
|
from enum import IntFlag, StrEnum
|
|
5
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
6
|
-
from homeassistant.const import SERVICE_CLOSE_COVER as SERVICE_CLOSE_COVER, SERVICE_CLOSE_COVER_TILT as SERVICE_CLOSE_COVER_TILT, SERVICE_OPEN_COVER as SERVICE_OPEN_COVER, SERVICE_OPEN_COVER_TILT as SERVICE_OPEN_COVER_TILT, SERVICE_SET_COVER_POSITION as SERVICE_SET_COVER_POSITION, SERVICE_SET_COVER_TILT_POSITION as SERVICE_SET_COVER_TILT_POSITION, SERVICE_STOP_COVER as SERVICE_STOP_COVER, SERVICE_STOP_COVER_TILT as SERVICE_STOP_COVER_TILT, SERVICE_TOGGLE as SERVICE_TOGGLE, SERVICE_TOGGLE_COVER_TILT as SERVICE_TOGGLE_COVER_TILT
|
|
6
|
+
from homeassistant.const import SERVICE_CLOSE_COVER as SERVICE_CLOSE_COVER, SERVICE_CLOSE_COVER_TILT as SERVICE_CLOSE_COVER_TILT, SERVICE_OPEN_COVER as SERVICE_OPEN_COVER, SERVICE_OPEN_COVER_TILT as SERVICE_OPEN_COVER_TILT, SERVICE_SET_COVER_POSITION as SERVICE_SET_COVER_POSITION, SERVICE_SET_COVER_TILT_POSITION as SERVICE_SET_COVER_TILT_POSITION, SERVICE_STOP_COVER as SERVICE_STOP_COVER, SERVICE_STOP_COVER_TILT as SERVICE_STOP_COVER_TILT, SERVICE_TOGGLE as SERVICE_TOGGLE, SERVICE_TOGGLE_COVER_TILT as SERVICE_TOGGLE_COVER_TILT
|
|
7
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
-
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
|
|
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
10
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
@@ -27,11 +26,6 @@ class CoverState(StrEnum):
|
|
|
27
26
|
OPEN = 'open'
|
|
28
27
|
OPENING = 'opening'
|
|
29
28
|
|
|
30
|
-
_DEPRECATED_STATE_CLOSED: Incomplete
|
|
31
|
-
_DEPRECATED_STATE_CLOSING: Incomplete
|
|
32
|
-
_DEPRECATED_STATE_OPEN: Incomplete
|
|
33
|
-
_DEPRECATED_STATE_OPENING: Incomplete
|
|
34
|
-
|
|
35
29
|
class CoverDeviceClass(StrEnum):
|
|
36
30
|
AWNING = 'awning'
|
|
37
31
|
BLIND = 'blind'
|
|
@@ -125,7 +119,3 @@ class CoverEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
|
125
119
|
def toggle_tilt(self, **kwargs: Any) -> None: ...
|
|
126
120
|
async def async_toggle_tilt(self, **kwargs: Any) -> None: ...
|
|
127
121
|
def _get_toggle_function[**_P, _R](self, fns: dict[str, Callable[_P, _R]]) -> Callable[_P, _R]: ...
|
|
128
|
-
|
|
129
|
-
__getattr__: Incomplete
|
|
130
|
-
__dir__: Incomplete
|
|
131
|
-
__all__: Incomplete
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
|
+
from datetime import datetime
|
|
2
3
|
from homeassistant.components.valve import ValveEntity as ValveEntity, ValveEntityFeature as ValveEntityFeature, ValveState as ValveState
|
|
3
4
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant, callback as callback
|
|
5
6
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
7
|
+
from homeassistant.helpers.event import async_track_utc_time_change as async_track_utc_time_change
|
|
6
8
|
from typing import Any
|
|
7
9
|
|
|
8
10
|
OPEN_CLOSE_DELAY: int
|
|
@@ -15,16 +17,23 @@ class DemoValve(ValveEntity):
|
|
|
15
17
|
_attr_supported_features: Incomplete
|
|
16
18
|
_state: Incomplete
|
|
17
19
|
_moveable: Incomplete
|
|
18
|
-
|
|
20
|
+
_attr_reports_position: bool
|
|
21
|
+
_unsub_listener_valve: CALLBACK_TYPE | None
|
|
22
|
+
_set_position: int
|
|
23
|
+
_position: int
|
|
24
|
+
def __init__(self, name: str, state: str, moveable: bool = True, position: int | None = None) -> None: ...
|
|
19
25
|
@property
|
|
20
|
-
def
|
|
26
|
+
def current_valve_position(self) -> int: ...
|
|
21
27
|
@property
|
|
22
28
|
def is_opening(self) -> bool: ...
|
|
23
29
|
@property
|
|
24
30
|
def is_closing(self) -> bool: ...
|
|
25
31
|
@property
|
|
26
32
|
def is_closed(self) -> bool: ...
|
|
27
|
-
@property
|
|
28
|
-
def reports_position(self) -> bool: ...
|
|
29
33
|
async def async_open_valve(self, **kwargs: Any) -> None: ...
|
|
30
34
|
async def async_close_valve(self, **kwargs: Any) -> None: ...
|
|
35
|
+
async def async_stop_valve(self) -> None: ...
|
|
36
|
+
async def async_set_valve_position(self, position: int) -> None: ...
|
|
37
|
+
@callback
|
|
38
|
+
def _listen_valve(self) -> None: ...
|
|
39
|
+
async def _time_changed_valve(self, now: datetime) -> None: ...
|
|
@@ -8,6 +8,5 @@ from homeassistant.helpers.helper_integration import async_handle_source_entity_
|
|
|
8
8
|
_LOGGER: Incomplete
|
|
9
9
|
|
|
10
10
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
11
|
-
async def config_entry_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
12
11
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
13
12
|
async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
|
|
@@ -24,6 +24,7 @@ OPTIONS_FLOW: Incomplete
|
|
|
24
24
|
class ConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
|
|
25
25
|
config_flow = CONFIG_FLOW
|
|
26
26
|
options_flow = OPTIONS_FLOW
|
|
27
|
+
options_flow_reloads: bool
|
|
27
28
|
VERSION: int
|
|
28
29
|
MINOR_VERSION: int
|
|
29
30
|
def async_config_entry_title(self, options: Mapping[str, Any]) -> str: ...
|
|
@@ -35,7 +35,7 @@ class DerivativeSensor(RestoreSensor, SensorEntity):
|
|
|
35
35
|
_last_valid_state_time: tuple[str, datetime] | None
|
|
36
36
|
_attr_name: Incomplete
|
|
37
37
|
_attr_extra_state_attributes: Incomplete
|
|
38
|
-
_unit_template:
|
|
38
|
+
_unit_template: str | None
|
|
39
39
|
_attr_native_unit_of_measurement: Incomplete
|
|
40
40
|
_unit_prefix: Incomplete
|
|
41
41
|
_unit_time: Incomplete
|
|
@@ -43,6 +43,7 @@ class DerivativeSensor(RestoreSensor, SensorEntity):
|
|
|
43
43
|
_max_sub_interval: timedelta | None
|
|
44
44
|
_cancel_max_sub_interval_exceeded_callback: CALLBACK_TYPE
|
|
45
45
|
def __init__(self, hass: HomeAssistant, *, name: str | None, round_digits: int, source_entity: str, time_window: timedelta, unit_of_measurement: str | None, unit_prefix: str | None, unit_time: UnitOfTime, max_sub_interval: timedelta | None, unique_id: str | None) -> None: ...
|
|
46
|
+
def _derive_and_set_attributes_from_state(self, source_state: State | None) -> None: ...
|
|
46
47
|
def _calc_derivative_from_state_list(self, current_time: datetime) -> Decimal: ...
|
|
47
48
|
def _prune_state_list(self, current_time: datetime) -> None: ...
|
|
48
49
|
_attr_available: bool
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import voluptuous as vol
|
|
2
2
|
from . import DeviceAutomationType as DeviceAutomationType, async_get_device_automation_platform as async_get_device_automation_platform
|
|
3
3
|
from .helpers import async_validate_device_automation_config as async_validate_device_automation_config
|
|
4
|
-
from
|
|
5
|
-
from homeassistant.const import CONF_DOMAIN as CONF_DOMAIN
|
|
4
|
+
from homeassistant.const import CONF_DOMAIN as CONF_DOMAIN, CONF_OPTIONS as CONF_OPTIONS
|
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
6
|
from homeassistant.helpers import condition as condition
|
|
8
|
-
from homeassistant.helpers.condition import Condition as Condition, ConditionCheckerType as ConditionCheckerType, trace_condition_function as trace_condition_function
|
|
7
|
+
from homeassistant.helpers.condition import Condition as Condition, ConditionCheckerType as ConditionCheckerType, ConditionConfig as ConditionConfig, trace_condition_function as trace_condition_function
|
|
9
8
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
|
10
9
|
from typing import Any, Protocol
|
|
11
10
|
|
|
@@ -17,11 +16,13 @@ class DeviceAutomationConditionProtocol(Protocol):
|
|
|
17
16
|
async def async_get_conditions(self, hass: HomeAssistant, device_id: str) -> list[dict[str, Any]]: ...
|
|
18
17
|
|
|
19
18
|
class DeviceCondition(Condition):
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
_hass: HomeAssistant
|
|
20
|
+
_config: ConfigType
|
|
21
|
+
@classmethod
|
|
22
|
+
async def async_validate_complete_config(cls, hass: HomeAssistant, complete_config: ConfigType) -> ConfigType: ...
|
|
23
23
|
@classmethod
|
|
24
24
|
async def async_validate_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
|
25
|
+
def __init__(self, hass: HomeAssistant, config: ConditionConfig) -> None: ...
|
|
25
26
|
async def async_get_checker(self) -> condition.ConditionCheckerType: ...
|
|
26
27
|
|
|
27
28
|
CONDITIONS: dict[str, type[Condition]]
|
|
@@ -30,4 +30,4 @@ class DevoloRemoteControl(DevoloDeviceEntity, BinarySensorEntity):
|
|
|
30
30
|
_attr_translation_key: str
|
|
31
31
|
_attr_translation_placeholders: Incomplete
|
|
32
32
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str, key: int) -> None: ...
|
|
33
|
-
def
|
|
33
|
+
def sync_callback(self, message: tuple) -> None: ...
|
|
@@ -17,12 +17,11 @@ class DevoloDeviceEntity(Entity):
|
|
|
17
17
|
_attr_unique_id: Incomplete
|
|
18
18
|
_attr_device_info: Incomplete
|
|
19
19
|
subscriber: Subscriber | None
|
|
20
|
-
sync_callback: Incomplete
|
|
21
20
|
_value: float
|
|
22
21
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str) -> None: ...
|
|
23
22
|
async def async_added_to_hass(self) -> None: ...
|
|
24
23
|
async def async_will_remove_from_hass(self) -> None: ...
|
|
25
|
-
def
|
|
24
|
+
def sync_callback(self, message: tuple) -> None: ...
|
|
26
25
|
def _generic_message(self, message: tuple) -> None: ...
|
|
27
26
|
|
|
28
27
|
class DevoloMultiLevelSwitchDeviceEntity(DevoloDeviceEntity):
|
|
@@ -44,4 +44,4 @@ class DevoloConsumptionEntity(DevoloMultiLevelDeviceEntity):
|
|
|
44
44
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str, consumption: str) -> None: ...
|
|
45
45
|
@property
|
|
46
46
|
def unique_id(self) -> str: ...
|
|
47
|
-
def
|
|
47
|
+
def sync_callback(self, message: tuple) -> None: ...
|
|
@@ -17,4 +17,4 @@ class DevoloSwitch(DevoloDeviceEntity, SwitchEntity):
|
|
|
17
17
|
def __init__(self, homecontrol: HomeControl, device_instance: Zwave, element_uid: str) -> None: ...
|
|
18
18
|
def turn_on(self, **kwargs: Any) -> None: ...
|
|
19
19
|
def turn_off(self, **kwargs: Any) -> None: ...
|
|
20
|
-
def
|
|
20
|
+
def sync_callback(self, message: tuple) -> None: ...
|
|
@@ -21,17 +21,17 @@ class WanIpSensor(SensorEntity):
|
|
|
21
21
|
_attr_has_entity_name: bool
|
|
22
22
|
_attr_translation_key: str
|
|
23
23
|
_unrecorded_attributes: Incomplete
|
|
24
|
+
resolver: aiodns.DNSResolver
|
|
24
25
|
_attr_name: Incomplete
|
|
25
26
|
_attr_unique_id: Incomplete
|
|
26
27
|
hostname: Incomplete
|
|
27
28
|
port: Incomplete
|
|
28
|
-
|
|
29
|
+
nameserver: Incomplete
|
|
29
30
|
querytype: Literal['A', 'AAAA']
|
|
30
31
|
_retries: Incomplete
|
|
31
32
|
_attr_extra_state_attributes: Incomplete
|
|
32
33
|
_attr_device_info: Incomplete
|
|
33
|
-
|
|
34
|
-
def __init__(self, name: str, hostname: str, resolver: str, ipv6: bool, port: int) -> None: ...
|
|
34
|
+
def __init__(self, name: str, hostname: str, nameserver: str, ipv6: bool, port: int) -> None: ...
|
|
35
35
|
def create_dns_resolver(self) -> None: ...
|
|
36
36
|
_attr_native_value: Incomplete
|
|
37
37
|
_attr_available: bool
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
|
2
|
-
from .const import SUPPORTED_LIFESPANS as SUPPORTED_LIFESPANS
|
|
2
|
+
from .const import SUPPORTED_LIFESPANS as SUPPORTED_LIFESPANS, SUPPORTED_STATION_ACTIONS as SUPPORTED_STATION_ACTIONS
|
|
3
3
|
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EcovacsEntity as EcovacsEntity
|
|
4
4
|
from .util import get_supported_entities as get_supported_entities
|
|
5
5
|
from _typeshed import Incomplete
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
from . import EcovacsConfigEntry as EcovacsConfigEntry
|
|
2
|
-
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity
|
|
2
|
+
from .entity import EcovacsCapabilityEntityDescription as EcovacsCapabilityEntityDescription, EcovacsDescriptionEntity as EcovacsDescriptionEntity, EcovacsEntity as EcovacsEntity
|
|
3
3
|
from .util import get_name_key as get_name_key, get_supported_entities as get_supported_entities
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Callable as Callable
|
|
6
6
|
from dataclasses import dataclass
|
|
7
|
-
from deebot_client.capabilities import CapabilitySetTypes
|
|
7
|
+
from deebot_client.capabilities import CapabilityMap, CapabilitySetTypes
|
|
8
8
|
from deebot_client.device import Device as Device
|
|
9
9
|
from deebot_client.events.base import Event as Event
|
|
10
|
+
from deebot_client.events.map import CachedMapInfoEvent, MajorMapEvent as MajorMapEvent
|
|
10
11
|
from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
|
|
11
12
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
12
13
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
@@ -29,3 +30,14 @@ class EcovacsSelectEntity[EventT: Event](EcovacsDescriptionEntity[CapabilitySetT
|
|
|
29
30
|
def __init__(self, device: Device, capability: CapabilitySetTypes[EventT, [str], str], entity_description: EcovacsSelectEntityDescription, **kwargs: Any) -> None: ...
|
|
30
31
|
async def async_added_to_hass(self) -> None: ...
|
|
31
32
|
async def async_select_option(self, option: str) -> None: ...
|
|
33
|
+
|
|
34
|
+
class EcovacsActiveMapSelectEntity(EcovacsEntity[CapabilityMap], SelectEntity):
|
|
35
|
+
entity_description: Incomplete
|
|
36
|
+
_option_to_id: dict[str, str]
|
|
37
|
+
_id_to_option: dict[str, str]
|
|
38
|
+
def __init__(self, device: Device, capability: CapabilityMap, **kwargs: Any) -> None: ...
|
|
39
|
+
_attr_current_option: Incomplete
|
|
40
|
+
_attr_options: Incomplete
|
|
41
|
+
def _handle_on_cached_map(self, event: CachedMapInfoEvent) -> None: ...
|
|
42
|
+
async def async_added_to_hass(self) -> None: ...
|
|
43
|
+
async def async_select_option(self, option: str) -> None: ...
|
|
@@ -5,8 +5,7 @@ from collections.abc import Callable as Callable
|
|
|
5
5
|
from dataclasses import dataclass
|
|
6
6
|
from eheimdigital.classic_vario import EheimDigitalClassicVario
|
|
7
7
|
from eheimdigital.device import EheimDigitalDevice as EheimDigitalDevice
|
|
8
|
-
from homeassistant.components.sensor import SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
|
9
|
-
from homeassistant.components.sensor.const import SensorDeviceClass as SensorDeviceClass
|
|
8
|
+
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
|
10
9
|
from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, UnitOfTime as UnitOfTime
|
|
11
10
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
12
11
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -47,6 +47,7 @@ NET_CONSUMPTION_PHASE_SENSORS: Incomplete
|
|
|
47
47
|
class EnvoyCTSensorEntityDescription(SensorEntityDescription):
|
|
48
48
|
value_fn: Callable[[EnvoyMeterData], int | float | str | CtType | CtMeterStatus | CtStatusFlags | CtState | None]
|
|
49
49
|
on_phase: str | None
|
|
50
|
+
cttype: str | None = ...
|
|
50
51
|
|
|
51
52
|
CT_NET_CONSUMPTION_SENSORS: Incomplete
|
|
52
53
|
CT_NET_CONSUMPTION_PHASE_SENSORS: Incomplete
|
|
@@ -79,6 +80,7 @@ ENPOWER_SENSORS: Incomplete
|
|
|
79
80
|
class EnvoyCollarSensorEntityDescription(SensorEntityDescription):
|
|
80
81
|
value_fn: Callable[[EnvoyCollar], datetime.datetime | int | float | str]
|
|
81
82
|
|
|
83
|
+
ADMIN_STATE_MAP: Incomplete
|
|
82
84
|
COLLAR_SENSORS: Incomplete
|
|
83
85
|
|
|
84
86
|
@dataclass(frozen=True, kw_only=True)
|
|
@@ -148,32 +150,12 @@ class EnvoyNetConsumptionPhaseEntity(EnvoySystemSensorEntity):
|
|
|
148
150
|
@property
|
|
149
151
|
def native_value(self) -> int | None: ...
|
|
150
152
|
|
|
151
|
-
class
|
|
153
|
+
class EnvoyCTEntity(EnvoySystemSensorEntity):
|
|
152
154
|
entity_description: EnvoyCTSensorEntityDescription
|
|
153
155
|
@property
|
|
154
156
|
def native_value(self) -> int | float | str | CtType | CtMeterStatus | CtStatusFlags | None: ...
|
|
155
157
|
|
|
156
|
-
class
|
|
157
|
-
entity_description: EnvoyCTSensorEntityDescription
|
|
158
|
-
@property
|
|
159
|
-
def native_value(self) -> int | float | str | CtType | CtMeterStatus | CtStatusFlags | None: ...
|
|
160
|
-
|
|
161
|
-
class EnvoyProductionCTEntity(EnvoySystemSensorEntity):
|
|
162
|
-
entity_description: EnvoyCTSensorEntityDescription
|
|
163
|
-
@property
|
|
164
|
-
def native_value(self) -> int | float | str | CtType | CtMeterStatus | CtStatusFlags | None: ...
|
|
165
|
-
|
|
166
|
-
class EnvoyProductionCTPhaseEntity(EnvoySystemSensorEntity):
|
|
167
|
-
entity_description: EnvoyCTSensorEntityDescription
|
|
168
|
-
@property
|
|
169
|
-
def native_value(self) -> int | float | str | CtType | CtMeterStatus | CtStatusFlags | None: ...
|
|
170
|
-
|
|
171
|
-
class EnvoyStorageCTEntity(EnvoySystemSensorEntity):
|
|
172
|
-
entity_description: EnvoyCTSensorEntityDescription
|
|
173
|
-
@property
|
|
174
|
-
def native_value(self) -> int | float | str | CtType | CtMeterStatus | CtStatusFlags | None: ...
|
|
175
|
-
|
|
176
|
-
class EnvoyStorageCTPhaseEntity(EnvoySystemSensorEntity):
|
|
158
|
+
class EnvoyCTPhaseEntity(EnvoySystemSensorEntity):
|
|
177
159
|
entity_description: EnvoyCTSensorEntityDescription
|
|
178
160
|
@property
|
|
179
161
|
def native_value(self) -> int | float | str | CtType | CtMeterStatus | CtStatusFlags | None: ...
|
|
@@ -6,8 +6,7 @@ from collections.abc import Callable as Callable
|
|
|
6
6
|
from dataclasses import dataclass
|
|
7
7
|
from datetime import datetime
|
|
8
8
|
from eq3btsmart.models import Status as Status
|
|
9
|
-
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
|
10
|
-
from homeassistant.components.sensor.const import SensorStateClass as SensorStateClass
|
|
9
|
+
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
11
10
|
from homeassistant.const import PERCENTAGE as PERCENTAGE
|
|
12
11
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
13
12
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from . import dashboard as dashboard, ffmpeg_proxy as ffmpeg_proxy
|
|
1
|
+
from . import assist_satellite as assist_satellite, dashboard as dashboard, ffmpeg_proxy as ffmpeg_proxy
|
|
2
2
|
from .const import CONF_BLUETOOTH_MAC_ADDRESS as CONF_BLUETOOTH_MAC_ADDRESS, CONF_NOISE_PSK as CONF_NOISE_PSK, DOMAIN as DOMAIN
|
|
3
3
|
from .domain_data import DomainData as DomainData
|
|
4
4
|
from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry, RuntimeEntryData as RuntimeEntryData
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
-
from .const import DOMAIN as DOMAIN
|
|
2
|
+
from .const import DOMAIN as DOMAIN, WAKE_WORDS_API_PATH as WAKE_WORDS_API_PATH, WAKE_WORDS_DIR_NAME as WAKE_WORDS_DIR_NAME
|
|
3
3
|
from .entity import EsphomeAssistEntity as EsphomeAssistEntity, convert_api_error_ha_error as convert_api_error_ha_error
|
|
4
4
|
from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry
|
|
5
5
|
from .enum_mapper import EsphomeEnumMapper as EsphomeEnumMapper
|
|
6
6
|
from .ffmpeg_proxy import async_create_proxy_url as async_create_proxy_url
|
|
7
7
|
from _typeshed import Incomplete
|
|
8
|
-
from aioesphomeapi import MediaPlayerSupportedFormat as MediaPlayerSupportedFormat, VoiceAssistantAnnounceFinished as VoiceAssistantAnnounceFinished, VoiceAssistantAudioSettings as VoiceAssistantAudioSettings, VoiceAssistantEventType, VoiceAssistantTimerEventType
|
|
8
|
+
from aioesphomeapi import MediaPlayerSupportedFormat as MediaPlayerSupportedFormat, VoiceAssistantAnnounceFinished as VoiceAssistantAnnounceFinished, VoiceAssistantAudioSettings as VoiceAssistantAudioSettings, VoiceAssistantEventType, VoiceAssistantExternalWakeWord, VoiceAssistantTimerEventType
|
|
9
9
|
from collections.abc import AsyncIterable
|
|
10
10
|
from homeassistant.components import assist_satellite as assist_satellite, tts as tts
|
|
11
11
|
from homeassistant.components.assist_pipeline import PipelineEvent as PipelineEvent, PipelineEventType as PipelineEventType, PipelineStage as PipelineStage
|
|
12
|
+
from homeassistant.components.http import StaticPathConfig as StaticPathConfig
|
|
12
13
|
from homeassistant.components.intent import TimerEventType as TimerEventType, TimerInfo as TimerInfo, async_register_timer_handler as async_register_timer_handler
|
|
13
14
|
from homeassistant.components.media_player import async_process_play_media_url as async_process_play_media_url
|
|
14
15
|
from homeassistant.const import Platform as Platform
|
|
15
16
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
16
17
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
18
|
+
from homeassistant.helpers.network import get_url as get_url
|
|
19
|
+
from homeassistant.helpers.singleton import singleton as singleton
|
|
20
|
+
from homeassistant.util.hass_dict import HassKey as HassKey
|
|
17
21
|
from typing import Any
|
|
18
22
|
|
|
19
23
|
PARALLEL_UPDATES: int
|
|
@@ -22,6 +26,8 @@ _VOICE_ASSISTANT_EVENT_TYPES: EsphomeEnumMapper[VoiceAssistantEventType, Pipelin
|
|
|
22
26
|
_TIMER_EVENT_TYPES: EsphomeEnumMapper[VoiceAssistantTimerEventType, TimerEventType]
|
|
23
27
|
_ANNOUNCEMENT_TIMEOUT_SEC: Incomplete
|
|
24
28
|
_CONFIG_TIMEOUT_SEC: int
|
|
29
|
+
_WAKE_WORD_CONFIG_SCHEMA: Incomplete
|
|
30
|
+
_DATA_WAKE_WORDS: HassKey[dict[str, VoiceAssistantExternalWakeWord]]
|
|
25
31
|
|
|
26
32
|
async def async_setup_entry(hass: HomeAssistant, entry: ESPHomeConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
27
33
|
|
|
@@ -83,3 +89,7 @@ class VoiceAssistantUDPServer(asyncio.DatagramProtocol):
|
|
|
83
89
|
def error_received(self, exc: Exception) -> None: ...
|
|
84
90
|
def close(self) -> None: ...
|
|
85
91
|
def send_audio_bytes(self, data: bytes) -> None: ...
|
|
92
|
+
|
|
93
|
+
async def async_get_custom_wake_words(hass: HomeAssistant) -> dict[str, VoiceAssistantExternalWakeWord]: ...
|
|
94
|
+
def _get_custom_wake_words(hass: HomeAssistant) -> dict[str, VoiceAssistantExternalWakeWord]: ...
|
|
95
|
+
async def async_setup(hass: HomeAssistant) -> None: ...
|
|
@@ -20,6 +20,7 @@ _PRESETS: EsphomeEnumMapper[ClimatePreset, str]
|
|
|
20
20
|
class EsphomeClimateEntity(EsphomeEntity[ClimateInfo, ClimateState], ClimateEntity):
|
|
21
21
|
_attr_temperature_unit: Incomplete
|
|
22
22
|
_attr_translation_key: str
|
|
23
|
+
_feature_flags: Incomplete
|
|
23
24
|
_attr_precision: Incomplete
|
|
24
25
|
_attr_hvac_modes: Incomplete
|
|
25
26
|
_attr_fan_modes: Incomplete
|
|
@@ -7,12 +7,15 @@ from _typeshed import Incomplete
|
|
|
7
7
|
from aioesphomeapi import DeviceInfo as DeviceInfo
|
|
8
8
|
from collections.abc import Mapping
|
|
9
9
|
from homeassistant.components import zeroconf as zeroconf
|
|
10
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, SOURCE_IGNORE as SOURCE_IGNORE, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE
|
|
10
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, FlowType as FlowType, OptionsFlow as OptionsFlow, SOURCE_ESPHOME as SOURCE_ESPHOME, SOURCE_IGNORE as SOURCE_IGNORE, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE
|
|
11
11
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT
|
|
12
12
|
from homeassistant.core import callback as callback
|
|
13
|
-
from homeassistant.data_entry_flow import AbortFlow as AbortFlow
|
|
13
|
+
from homeassistant.data_entry_flow import AbortFlow as AbortFlow, FlowResultType as FlowResultType
|
|
14
|
+
from homeassistant.helpers import discovery_flow as discovery_flow
|
|
14
15
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
|
16
|
+
from homeassistant.helpers.importlib import async_import_module as async_import_module
|
|
15
17
|
from homeassistant.helpers.service_info.dhcp import DhcpServiceInfo as DhcpServiceInfo
|
|
18
|
+
from homeassistant.helpers.service_info.esphome import ESPHomeServiceInfo as ESPHomeServiceInfo
|
|
16
19
|
from homeassistant.helpers.service_info.hassio import HassioServiceInfo as HassioServiceInfo
|
|
17
20
|
from homeassistant.helpers.service_info.mqtt import MqttServiceInfo as MqttServiceInfo
|
|
18
21
|
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
|
|
@@ -31,6 +34,7 @@ class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
|
31
34
|
_reauth_entry: ConfigEntry
|
|
32
35
|
_reconfig_entry: ConfigEntry
|
|
33
36
|
_host: str | None
|
|
37
|
+
_connected_address: str | None
|
|
34
38
|
__name: str | None
|
|
35
39
|
_port: int | None
|
|
36
40
|
_password: str | None
|
|
@@ -64,8 +68,7 @@ class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
|
64
68
|
async def async_step_name_conflict(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
65
69
|
async def async_step_name_conflict_migrate(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
66
70
|
async def async_step_name_conflict_overwrite(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
67
|
-
|
|
68
|
-
def _async_create_entry(self) -> ConfigFlowResult: ...
|
|
71
|
+
async def _async_create_entry(self) -> ConfigFlowResult: ...
|
|
69
72
|
@callback
|
|
70
73
|
def _async_make_config_data(self) -> dict[str, Any]: ...
|
|
71
74
|
@callback
|
|
@@ -107,6 +107,7 @@ class RuntimeEntryData:
|
|
|
107
107
|
def async_on_disconnect(self) -> None: ...
|
|
108
108
|
@callback
|
|
109
109
|
def async_on_connect(self, hass: HomeAssistant, device_info: DeviceInfo, api_version: APIVersion) -> None: ...
|
|
110
|
+
def async_create_zwave_js_flow(self, hass: HomeAssistant, device_info: DeviceInfo, zwave_home_id: int) -> None: ...
|
|
110
111
|
@callback
|
|
111
112
|
def async_register_assist_satellite_config_updated_callback(self, callback_: Callable[[AssistSatelliteConfiguration], None]) -> CALLBACK_TYPE: ...
|
|
112
113
|
@callback
|
|
@@ -5,13 +5,13 @@ from .domain_data import DomainData as DomainData
|
|
|
5
5
|
from .encryption_key_storage import async_get_encryption_key_storage as async_get_encryption_key_storage
|
|
6
6
|
from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry, RuntimeEntryData as RuntimeEntryData
|
|
7
7
|
from _typeshed import Incomplete
|
|
8
|
-
from aioesphomeapi import APIClient as APIClient, APIVersion as APIVersion, DeviceInfo as EsphomeDeviceInfo, HomeassistantServiceCall as HomeassistantServiceCall, LogLevel, ReconnectLogic, UserService as UserService
|
|
8
|
+
from aioesphomeapi import APIClient as APIClient, APIVersion as APIVersion, DeviceInfo as EsphomeDeviceInfo, HomeassistantServiceCall as HomeassistantServiceCall, LogLevel, ReconnectLogic, UserService as UserService, ZWaveProxyRequest as ZWaveProxyRequest
|
|
9
9
|
from aioesphomeapi.api_pb2 import SubscribeLogsResponse as SubscribeLogsResponse
|
|
10
10
|
from homeassistant.components import bluetooth as bluetooth, tag as tag, zeroconf as zeroconf
|
|
11
11
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, CONF_MODE as CONF_MODE, EVENT_HOMEASSISTANT_CLOSE as EVENT_HOMEASSISTANT_CLOSE, EVENT_LOGGING_CHANGED as EVENT_LOGGING_CHANGED, Platform as Platform
|
|
12
12
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, State as State, callback as callback
|
|
13
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError
|
|
14
|
-
from homeassistant.helpers import template as template
|
|
13
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceNotFound as ServiceNotFound, ServiceValidationError as ServiceValidationError, TemplateError as TemplateError
|
|
14
|
+
from homeassistant.helpers import json as json, template as template
|
|
15
15
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
|
16
16
|
from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
|
|
17
17
|
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue, async_delete_issue as async_delete_issue
|
|
@@ -20,6 +20,7 @@ from homeassistant.helpers.template import Template as Template
|
|
|
20
20
|
from typing import Any, NamedTuple
|
|
21
21
|
|
|
22
22
|
DEVICE_CONFLICT_ISSUE_FORMAT: str
|
|
23
|
+
UNPACK_UINT32_BE: Incomplete
|
|
23
24
|
_LOGGER: Incomplete
|
|
24
25
|
LOG_LEVEL_TO_LOGGER: Incomplete
|
|
25
26
|
LOGGER_TO_LOG_LEVEL: Incomplete
|
|
@@ -49,6 +50,9 @@ class ESPHomeManager:
|
|
|
49
50
|
def services_issue(self) -> str: ...
|
|
50
51
|
@callback
|
|
51
52
|
def async_on_service_call(self, service: HomeassistantServiceCall) -> None: ...
|
|
53
|
+
async def _handle_service_call_with_response(self, domain: str, service_name: str, service_data: dict, call_id: int, response_template: str | None = None) -> None: ...
|
|
54
|
+
async def _handle_service_call_with_notification(self, domain: str, service_name: str, service_data: dict, call_id: int) -> None: ...
|
|
55
|
+
def _send_service_call_response(self, call_id: int, success: bool, error_message: str, response_data: bytes) -> None: ...
|
|
52
56
|
@callback
|
|
53
57
|
def _send_home_assistant_state(self, entity_id: str, attribute: str | None, state: State | None) -> None: ...
|
|
54
58
|
@callback
|
|
@@ -64,6 +68,7 @@ class ESPHomeManager:
|
|
|
64
68
|
@callback
|
|
65
69
|
def _async_subscribe_logs(self, log_level: LogLevel) -> None: ...
|
|
66
70
|
async def _on_connect(self) -> None: ...
|
|
71
|
+
def _async_zwave_proxy_request(self, request: ZWaveProxyRequest) -> None: ...
|
|
67
72
|
async def on_disconnect(self, expected_disconnect: bool) -> None: ...
|
|
68
73
|
async def on_connect_error(self, err: Exception) -> None: ...
|
|
69
74
|
async def _start_reauth_and_disconnect(self) -> None: ...
|