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,22 +0,0 @@
|
|
|
1
|
-
from .const import CONF_MODEL as CONF_MODEL
|
|
2
|
-
from dataclasses import dataclass
|
|
3
|
-
from elevenlabs import AsyncElevenLabs, Model as Model
|
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
|
-
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, Platform as Platform
|
|
6
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
-
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryError as ConfigEntryError, ConfigEntryNotReady as ConfigEntryNotReady
|
|
8
|
-
from homeassistant.helpers.httpx_client import get_async_client as get_async_client
|
|
9
|
-
|
|
10
|
-
PLATFORMS: list[Platform]
|
|
11
|
-
|
|
12
|
-
async def get_model_by_id(client: AsyncElevenLabs, model_id: str) -> Model | None: ...
|
|
13
|
-
|
|
14
|
-
@dataclass(kw_only=True, slots=True)
|
|
15
|
-
class ElevenLabsData:
|
|
16
|
-
client: AsyncElevenLabs
|
|
17
|
-
model: Model
|
|
18
|
-
type ElevenLabsConfigEntry = ConfigEntry[ElevenLabsData]
|
|
19
|
-
|
|
20
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ElevenLabsConfigEntry) -> bool: ...
|
|
21
|
-
async def async_unload_entry(hass: HomeAssistant, entry: ElevenLabsConfigEntry) -> bool: ...
|
|
22
|
-
async def update_listener(hass: HomeAssistant, config_entry: ElevenLabsConfigEntry) -> None: ...
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import voluptuous as vol
|
|
2
|
-
from . import ElevenLabsConfigEntry as ElevenLabsConfigEntry
|
|
3
|
-
from .const import CONF_CONFIGURE_VOICE as CONF_CONFIGURE_VOICE, CONF_MODEL as CONF_MODEL, CONF_SIMILARITY as CONF_SIMILARITY, CONF_STABILITY as CONF_STABILITY, CONF_STYLE as CONF_STYLE, CONF_USE_SPEAKER_BOOST as CONF_USE_SPEAKER_BOOST, CONF_VOICE as CONF_VOICE, DEFAULT_MODEL as DEFAULT_MODEL, DEFAULT_SIMILARITY as DEFAULT_SIMILARITY, DEFAULT_STABILITY as DEFAULT_STABILITY, DEFAULT_STYLE as DEFAULT_STYLE, DEFAULT_USE_SPEAKER_BOOST as DEFAULT_USE_SPEAKER_BOOST, DOMAIN as DOMAIN
|
|
4
|
-
from _typeshed import Incomplete
|
|
5
|
-
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
|
6
|
-
from homeassistant.const import CONF_API_KEY as CONF_API_KEY
|
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
-
from homeassistant.helpers.httpx_client import get_async_client as get_async_client
|
|
9
|
-
from homeassistant.helpers.selector import SelectOptionDict as SelectOptionDict, SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig
|
|
10
|
-
from typing import Any
|
|
11
|
-
|
|
12
|
-
USER_STEP_SCHEMA: Incomplete
|
|
13
|
-
_LOGGER: Incomplete
|
|
14
|
-
|
|
15
|
-
async def get_voices_models(hass: HomeAssistant, api_key: str) -> tuple[dict[str, str], dict[str, str]]: ...
|
|
16
|
-
|
|
17
|
-
class ElevenLabsConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
18
|
-
VERSION: int
|
|
19
|
-
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
20
|
-
@staticmethod
|
|
21
|
-
def async_get_options_flow(config_entry: ElevenLabsConfigEntry) -> OptionsFlow: ...
|
|
22
|
-
|
|
23
|
-
class ElevenLabsOptionsFlow(OptionsFlow):
|
|
24
|
-
api_key: str
|
|
25
|
-
voices: dict[str, str]
|
|
26
|
-
models: dict[str, str]
|
|
27
|
-
model: str | None
|
|
28
|
-
voice: str | None
|
|
29
|
-
def __init__(self, config_entry: ElevenLabsConfigEntry) -> None: ...
|
|
30
|
-
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
31
|
-
def elevenlabs_config_option_schema(self) -> vol.Schema: ...
|
|
32
|
-
async def async_step_voice_settings(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
33
|
-
def elevenlabs_config_options_voice_schema(self) -> vol.Schema: ...
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
ATTR_MODEL: str
|
|
2
|
-
CONF_VOICE: str
|
|
3
|
-
CONF_MODEL: str
|
|
4
|
-
CONF_CONFIGURE_VOICE: str
|
|
5
|
-
CONF_STABILITY: str
|
|
6
|
-
CONF_SIMILARITY: str
|
|
7
|
-
CONF_STYLE: str
|
|
8
|
-
CONF_USE_SPEAKER_BOOST: str
|
|
9
|
-
DOMAIN: str
|
|
10
|
-
DEFAULT_MODEL: str
|
|
11
|
-
DEFAULT_STABILITY: float
|
|
12
|
-
DEFAULT_SIMILARITY: float
|
|
13
|
-
DEFAULT_STYLE: int
|
|
14
|
-
DEFAULT_USE_SPEAKER_BOOST: bool
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
from . import ElevenLabsConfigEntry as ElevenLabsConfigEntry
|
|
2
|
-
from .const import ATTR_MODEL as ATTR_MODEL, CONF_SIMILARITY as CONF_SIMILARITY, CONF_STABILITY as CONF_STABILITY, CONF_STYLE as CONF_STYLE, CONF_USE_SPEAKER_BOOST as CONF_USE_SPEAKER_BOOST, CONF_VOICE as CONF_VOICE, DEFAULT_SIMILARITY as DEFAULT_SIMILARITY, DEFAULT_STABILITY as DEFAULT_STABILITY, DEFAULT_STYLE as DEFAULT_STYLE, DEFAULT_USE_SPEAKER_BOOST as DEFAULT_USE_SPEAKER_BOOST, DOMAIN as DOMAIN
|
|
3
|
-
from _typeshed import Incomplete
|
|
4
|
-
from collections.abc import Mapping
|
|
5
|
-
from elevenlabs import AsyncElevenLabs as AsyncElevenLabs
|
|
6
|
-
from elevenlabs.types import Model as Model, Voice as ElevenLabsVoice, VoiceSettings
|
|
7
|
-
from homeassistant.components.tts import ATTR_VOICE as ATTR_VOICE, TextToSpeechEntity as TextToSpeechEntity, TtsAudioType as TtsAudioType, Voice as Voice
|
|
8
|
-
from homeassistant.const import EntityCategory as EntityCategory
|
|
9
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
10
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
11
|
-
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
|
12
|
-
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
13
|
-
from typing import Any
|
|
14
|
-
|
|
15
|
-
_LOGGER: Incomplete
|
|
16
|
-
PARALLEL_UPDATES: int
|
|
17
|
-
|
|
18
|
-
def to_voice_settings(options: Mapping[str, Any]) -> VoiceSettings: ...
|
|
19
|
-
async def async_setup_entry(hass: HomeAssistant, config_entry: ElevenLabsConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
20
|
-
|
|
21
|
-
class ElevenLabsTTSEntity(TextToSpeechEntity):
|
|
22
|
-
_attr_supported_options: Incomplete
|
|
23
|
-
_attr_entity_category: Incomplete
|
|
24
|
-
_client: Incomplete
|
|
25
|
-
_model: Incomplete
|
|
26
|
-
_default_voice_id: Incomplete
|
|
27
|
-
_voices: Incomplete
|
|
28
|
-
_voice_settings: Incomplete
|
|
29
|
-
_attr_unique_id: Incomplete
|
|
30
|
-
_attr_name: Incomplete
|
|
31
|
-
_attr_device_info: Incomplete
|
|
32
|
-
_attr_supported_languages: Incomplete
|
|
33
|
-
_attr_default_language: Incomplete
|
|
34
|
-
def __init__(self, client: AsyncElevenLabs, model: Model, voices: list[ElevenLabsVoice], default_voice_id: str, entry_id: str, title: str, voice_settings: VoiceSettings) -> None: ...
|
|
35
|
-
def async_get_supported_voices(self, language: str) -> list[Voice]: ...
|
|
36
|
-
async def async_get_tts_audio(self, message: str, language: str, options: dict[str, Any]) -> TtsAudioType: ...
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
from . import api as api
|
|
2
|
-
from .const import NEATO_DOMAIN as NEATO_DOMAIN, NEATO_LOGIN as NEATO_LOGIN
|
|
3
|
-
from .hub import NeatoHub as NeatoHub
|
|
4
|
-
from _typeshed import Incomplete
|
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
6
|
-
from homeassistant.const import CONF_TOKEN as CONF_TOKEN, Platform as Platform
|
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
-
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
|
9
|
-
from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
|
|
10
|
-
|
|
11
|
-
_LOGGER: Incomplete
|
|
12
|
-
PLATFORMS: Incomplete
|
|
13
|
-
|
|
14
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
15
|
-
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import pybotvac
|
|
2
|
-
from _typeshed import Incomplete
|
|
3
|
-
from homeassistant import config_entries as config_entries, core as core
|
|
4
|
-
from homeassistant.components.application_credentials import AuthImplementation as AuthImplementation
|
|
5
|
-
from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
|
|
6
|
-
from typing import Any
|
|
7
|
-
|
|
8
|
-
class ConfigEntryAuth(pybotvac.OAuthSession):
|
|
9
|
-
hass: Incomplete
|
|
10
|
-
session: Incomplete
|
|
11
|
-
def __init__(self, hass: core.HomeAssistant, config_entry: config_entries.ConfigEntry, implementation: config_entry_oauth2_flow.AbstractOAuth2Implementation) -> None: ...
|
|
12
|
-
def refresh_tokens(self) -> str: ...
|
|
13
|
-
|
|
14
|
-
class NeatoImplementation(AuthImplementation):
|
|
15
|
-
@property
|
|
16
|
-
def extra_authorize_data(self) -> dict[str, Any]: ...
|
|
17
|
-
async def async_generate_authorize_url(self, flow_id: str) -> str: ...
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
from . import api as api
|
|
2
|
-
from homeassistant.components.application_credentials import AuthorizationServer as AuthorizationServer, ClientCredential as ClientCredential
|
|
3
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
4
|
-
from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
|
|
5
|
-
|
|
6
|
-
async def async_get_auth_implementation(hass: HomeAssistant, auth_domain: str, credential: ClientCredential) -> config_entry_oauth2_flow.AbstractOAuth2Implementation: ...
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
from .const import NEATO_ROBOTS as NEATO_ROBOTS
|
|
2
|
-
from .entity import NeatoEntity as NeatoEntity
|
|
3
|
-
from _typeshed import Incomplete
|
|
4
|
-
from homeassistant.components.button import ButtonEntity as ButtonEntity
|
|
5
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
6
|
-
from homeassistant.const import EntityCategory as EntityCategory
|
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
-
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
|
-
from pybotvac import Robot as Robot
|
|
10
|
-
|
|
11
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
12
|
-
|
|
13
|
-
class NeatoDismissAlertButton(NeatoEntity, ButtonEntity):
|
|
14
|
-
_attr_translation_key: str
|
|
15
|
-
_attr_entity_category: Incomplete
|
|
16
|
-
_attr_unique_id: Incomplete
|
|
17
|
-
def __init__(self, robot: Robot) -> None: ...
|
|
18
|
-
async def async_press(self) -> None: ...
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
from .const import NEATO_LOGIN as NEATO_LOGIN, NEATO_MAP_DATA as NEATO_MAP_DATA, NEATO_ROBOTS as NEATO_ROBOTS, SCAN_INTERVAL_MINUTES as SCAN_INTERVAL_MINUTES
|
|
2
|
-
from .entity import NeatoEntity as NeatoEntity
|
|
3
|
-
from .hub import NeatoHub as NeatoHub
|
|
4
|
-
from _typeshed import Incomplete
|
|
5
|
-
from homeassistant.components.camera import Camera as Camera
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
|
-
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
|
-
from pybotvac.robot import Robot as Robot
|
|
10
|
-
from typing import Any
|
|
11
|
-
|
|
12
|
-
_LOGGER: Incomplete
|
|
13
|
-
SCAN_INTERVAL: Incomplete
|
|
14
|
-
ATTR_GENERATED_AT: str
|
|
15
|
-
|
|
16
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
17
|
-
|
|
18
|
-
class NeatoCleaningMap(NeatoEntity, Camera):
|
|
19
|
-
_attr_translation_key: str
|
|
20
|
-
neato: Incomplete
|
|
21
|
-
_mapdata: Incomplete
|
|
22
|
-
_available: Incomplete
|
|
23
|
-
_robot_serial: str
|
|
24
|
-
_attr_unique_id: Incomplete
|
|
25
|
-
_generated_at: str | None
|
|
26
|
-
_image_url: str | None
|
|
27
|
-
_image: bytes | None
|
|
28
|
-
def __init__(self, neato: NeatoHub, robot: Robot, mapdata: dict[str, Any] | None) -> None: ...
|
|
29
|
-
def camera_image(self, width: int | None = None, height: int | None = None) -> bytes | None: ...
|
|
30
|
-
def update(self) -> None: ...
|
|
31
|
-
@property
|
|
32
|
-
def available(self) -> bool: ...
|
|
33
|
-
@property
|
|
34
|
-
def extra_state_attributes(self) -> dict[str, Any]: ...
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import logging
|
|
2
|
-
from .const import NEATO_DOMAIN as NEATO_DOMAIN
|
|
3
|
-
from collections.abc import Mapping
|
|
4
|
-
from homeassistant.config_entries import ConfigFlowResult as ConfigFlowResult, SOURCE_REAUTH as SOURCE_REAUTH
|
|
5
|
-
from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
|
|
6
|
-
from typing import Any
|
|
7
|
-
|
|
8
|
-
class OAuth2FlowHandler(config_entry_oauth2_flow.AbstractOAuth2FlowHandler, domain=NEATO_DOMAIN):
|
|
9
|
-
DOMAIN = NEATO_DOMAIN
|
|
10
|
-
@property
|
|
11
|
-
def logger(self) -> logging.Logger: ...
|
|
12
|
-
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
13
|
-
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
14
|
-
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
15
|
-
async def async_oauth_create_entry(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
|
|
3
|
-
NEATO_DOMAIN: str
|
|
4
|
-
CONF_VENDOR: str
|
|
5
|
-
NEATO_LOGIN: str
|
|
6
|
-
NEATO_MAP_DATA: str
|
|
7
|
-
NEATO_PERSISTENT_MAPS: str
|
|
8
|
-
NEATO_ROBOTS: str
|
|
9
|
-
SCAN_INTERVAL_MINUTES: int
|
|
10
|
-
MODE: Incomplete
|
|
11
|
-
ACTION: Incomplete
|
|
12
|
-
ERRORS: Incomplete
|
|
13
|
-
ALERTS: Incomplete
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
from .const import NEATO_DOMAIN as NEATO_DOMAIN
|
|
2
|
-
from _typeshed import Incomplete
|
|
3
|
-
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
4
|
-
from homeassistant.helpers.entity import Entity as Entity
|
|
5
|
-
from pybotvac import Robot as Robot
|
|
6
|
-
|
|
7
|
-
class NeatoEntity(Entity):
|
|
8
|
-
_attr_has_entity_name: bool
|
|
9
|
-
robot: Incomplete
|
|
10
|
-
_attr_device_info: DeviceInfo
|
|
11
|
-
def __init__(self, robot: Robot) -> None: ...
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
from .const import NEATO_MAP_DATA as NEATO_MAP_DATA, NEATO_PERSISTENT_MAPS as NEATO_PERSISTENT_MAPS, NEATO_ROBOTS as NEATO_ROBOTS
|
|
2
|
-
from _typeshed import Incomplete
|
|
3
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
4
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
|
-
from homeassistant.util import Throttle as Throttle
|
|
6
|
-
from pybotvac import Account as Account
|
|
7
|
-
from urllib3.response import HTTPResponse
|
|
8
|
-
|
|
9
|
-
_LOGGER: Incomplete
|
|
10
|
-
|
|
11
|
-
class NeatoHub:
|
|
12
|
-
_hass: Incomplete
|
|
13
|
-
my_neato: Account
|
|
14
|
-
def __init__(self, hass: HomeAssistant, neato: Account) -> None: ...
|
|
15
|
-
def update_robots(self) -> None: ...
|
|
16
|
-
def download_map(self, url: str) -> HTTPResponse: ...
|
|
17
|
-
async def async_update_entry_unique_id(self, entry: ConfigEntry) -> str: ...
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
from .const import NEATO_LOGIN as NEATO_LOGIN, NEATO_ROBOTS as NEATO_ROBOTS, SCAN_INTERVAL_MINUTES as SCAN_INTERVAL_MINUTES
|
|
2
|
-
from .entity import NeatoEntity as NeatoEntity
|
|
3
|
-
from .hub import NeatoHub as NeatoHub
|
|
4
|
-
from _typeshed import Incomplete
|
|
5
|
-
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
|
-
from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE
|
|
8
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
|
-
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
|
-
from pybotvac.robot import Robot as Robot
|
|
11
|
-
from typing import Any
|
|
12
|
-
|
|
13
|
-
_LOGGER: Incomplete
|
|
14
|
-
SCAN_INTERVAL: Incomplete
|
|
15
|
-
BATTERY: str
|
|
16
|
-
|
|
17
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
18
|
-
|
|
19
|
-
class NeatoSensor(NeatoEntity, SensorEntity):
|
|
20
|
-
_attr_device_class: Incomplete
|
|
21
|
-
_attr_entity_category: Incomplete
|
|
22
|
-
_attr_native_unit_of_measurement = PERCENTAGE
|
|
23
|
-
_attr_available: bool
|
|
24
|
-
_robot_serial: str
|
|
25
|
-
_attr_unique_id: Incomplete
|
|
26
|
-
_state: dict[str, Any] | None
|
|
27
|
-
def __init__(self, neato: NeatoHub, robot: Robot) -> None: ...
|
|
28
|
-
def update(self) -> None: ...
|
|
29
|
-
@property
|
|
30
|
-
def native_value(self) -> str | None: ...
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
from .const import NEATO_LOGIN as NEATO_LOGIN, NEATO_ROBOTS as NEATO_ROBOTS, SCAN_INTERVAL_MINUTES as SCAN_INTERVAL_MINUTES
|
|
2
|
-
from .entity import NeatoEntity as NeatoEntity
|
|
3
|
-
from .hub import NeatoHub as NeatoHub
|
|
4
|
-
from _typeshed import Incomplete
|
|
5
|
-
from homeassistant.components.switch import SwitchEntity as SwitchEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
|
-
from homeassistant.const import EntityCategory as EntityCategory, STATE_OFF as STATE_OFF, STATE_ON as STATE_ON
|
|
8
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
|
-
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
|
-
from pybotvac.robot import Robot as Robot
|
|
11
|
-
from typing import Any
|
|
12
|
-
|
|
13
|
-
_LOGGER: Incomplete
|
|
14
|
-
SCAN_INTERVAL: Incomplete
|
|
15
|
-
SWITCH_TYPE_SCHEDULE: str
|
|
16
|
-
SWITCH_TYPES: Incomplete
|
|
17
|
-
|
|
18
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
19
|
-
|
|
20
|
-
class NeatoConnectedSwitch(NeatoEntity, SwitchEntity):
|
|
21
|
-
_attr_translation_key: str
|
|
22
|
-
_attr_available: bool
|
|
23
|
-
_attr_entity_category: Incomplete
|
|
24
|
-
type: Incomplete
|
|
25
|
-
_state: dict[str, Any] | None
|
|
26
|
-
_schedule_state: str | None
|
|
27
|
-
_clean_state: Incomplete
|
|
28
|
-
_attr_unique_id: Incomplete
|
|
29
|
-
def __init__(self, neato: NeatoHub, robot: Robot, switch_type: str) -> None: ...
|
|
30
|
-
def update(self) -> None: ...
|
|
31
|
-
@property
|
|
32
|
-
def is_on(self) -> bool: ...
|
|
33
|
-
def turn_on(self, **kwargs: Any) -> None: ...
|
|
34
|
-
def turn_off(self, **kwargs: Any) -> None: ...
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
from .const import ACTION as ACTION, ALERTS as ALERTS, ERRORS as ERRORS, MODE as MODE, NEATO_LOGIN as NEATO_LOGIN, NEATO_MAP_DATA as NEATO_MAP_DATA, NEATO_PERSISTENT_MAPS as NEATO_PERSISTENT_MAPS, NEATO_ROBOTS as NEATO_ROBOTS, SCAN_INTERVAL_MINUTES as SCAN_INTERVAL_MINUTES
|
|
2
|
-
from .entity import NeatoEntity as NeatoEntity
|
|
3
|
-
from .hub import NeatoHub as NeatoHub
|
|
4
|
-
from _typeshed import Incomplete
|
|
5
|
-
from homeassistant.components.vacuum import ATTR_STATUS as ATTR_STATUS, StateVacuumEntity as StateVacuumEntity, VacuumActivity as VacuumActivity, VacuumEntityFeature as VacuumEntityFeature
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
|
-
from homeassistant.const import ATTR_MODE as ATTR_MODE
|
|
8
|
-
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
|
-
from homeassistant.helpers import entity_platform as entity_platform
|
|
10
|
-
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
11
|
-
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
12
|
-
from pybotvac import Robot as Robot
|
|
13
|
-
from typing import Any
|
|
14
|
-
|
|
15
|
-
_LOGGER: Incomplete
|
|
16
|
-
SCAN_INTERVAL: Incomplete
|
|
17
|
-
ATTR_CLEAN_START: str
|
|
18
|
-
ATTR_CLEAN_STOP: str
|
|
19
|
-
ATTR_CLEAN_AREA: str
|
|
20
|
-
ATTR_CLEAN_BATTERY_START: str
|
|
21
|
-
ATTR_CLEAN_BATTERY_END: str
|
|
22
|
-
ATTR_CLEAN_SUSP_COUNT: str
|
|
23
|
-
ATTR_CLEAN_SUSP_TIME: str
|
|
24
|
-
ATTR_CLEAN_PAUSE_TIME: str
|
|
25
|
-
ATTR_CLEAN_ERROR_TIME: str
|
|
26
|
-
ATTR_LAUNCHED_FROM: str
|
|
27
|
-
ATTR_NAVIGATION: str
|
|
28
|
-
ATTR_CATEGORY: str
|
|
29
|
-
ATTR_ZONE: str
|
|
30
|
-
|
|
31
|
-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
32
|
-
|
|
33
|
-
class NeatoConnectedVacuum(NeatoEntity, StateVacuumEntity):
|
|
34
|
-
_attr_supported_features: Incomplete
|
|
35
|
-
_attr_name: Incomplete
|
|
36
|
-
_attr_available: bool
|
|
37
|
-
_mapdata: Incomplete
|
|
38
|
-
_robot_has_map: bool
|
|
39
|
-
_robot_maps: Incomplete
|
|
40
|
-
_robot_serial: str
|
|
41
|
-
_attr_unique_id: str
|
|
42
|
-
_status_state: str | None
|
|
43
|
-
_state: dict[str, Any] | None
|
|
44
|
-
_clean_time_start: str | None
|
|
45
|
-
_clean_time_stop: str | None
|
|
46
|
-
_clean_area: float | None
|
|
47
|
-
_clean_battery_start: int | None
|
|
48
|
-
_clean_battery_end: int | None
|
|
49
|
-
_clean_susp_charge_count: int | None
|
|
50
|
-
_clean_susp_time: int | None
|
|
51
|
-
_clean_pause_time: int | None
|
|
52
|
-
_clean_error_time: int | None
|
|
53
|
-
_launched_from: str | None
|
|
54
|
-
_robot_boundaries: list
|
|
55
|
-
_robot_stats: dict[str, Any] | None
|
|
56
|
-
def __init__(self, neato: NeatoHub, robot: Robot, mapdata: dict[str, Any] | None, persistent_maps: dict[str, Any] | None) -> None: ...
|
|
57
|
-
_attr_activity: Incomplete
|
|
58
|
-
_attr_battery_level: Incomplete
|
|
59
|
-
def update(self) -> None: ...
|
|
60
|
-
@property
|
|
61
|
-
def extra_state_attributes(self) -> dict[str, Any]: ...
|
|
62
|
-
@property
|
|
63
|
-
def device_info(self) -> DeviceInfo: ...
|
|
64
|
-
def start(self) -> None: ...
|
|
65
|
-
def pause(self) -> None: ...
|
|
66
|
-
def return_to_base(self, **kwargs: Any) -> None: ...
|
|
67
|
-
def stop(self, **kwargs: Any) -> None: ...
|
|
68
|
-
def locate(self, **kwargs: Any) -> None: ...
|
|
69
|
-
def clean_spot(self, **kwargs: Any) -> None: ...
|
|
70
|
-
def neato_custom_cleaning(self, mode: str, navigation: str, category: str, zone: str | None = None) -> None: ...
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
from ..db_schema import StateAttributes as StateAttributes, States as States
|
|
2
|
-
from ..filters import Filters as Filters
|
|
3
|
-
from ..models import process_timestamp_to_utc_isoformat as process_timestamp_to_utc_isoformat
|
|
4
|
-
from ..models.legacy import LegacyLazyState as LegacyLazyState, legacy_row_to_compressed_state as legacy_row_to_compressed_state
|
|
5
|
-
from ..util import execute_stmt_lambda_element as execute_stmt_lambda_element, session_scope as session_scope
|
|
6
|
-
from .const import LAST_CHANGED_KEY as LAST_CHANGED_KEY, NEED_ATTRIBUTE_DOMAINS as NEED_ATTRIBUTE_DOMAINS, SIGNIFICANT_DOMAINS as SIGNIFICANT_DOMAINS, SIGNIFICANT_DOMAINS_ENTITY_ID_LIKE as SIGNIFICANT_DOMAINS_ENTITY_ID_LIKE, STATE_KEY as STATE_KEY
|
|
7
|
-
from _typeshed import Incomplete
|
|
8
|
-
from collections.abc import Callable as Callable, Iterable
|
|
9
|
-
from datetime import datetime
|
|
10
|
-
from homeassistant.const import COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE
|
|
11
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, split_entity_id as split_entity_id
|
|
12
|
-
from homeassistant.helpers.recorder import get_instance as get_instance
|
|
13
|
-
from sqlalchemy import Column as Column
|
|
14
|
-
from sqlalchemy.engine.row import Row as Row
|
|
15
|
-
from sqlalchemy.orm.session import Session as Session
|
|
16
|
-
from sqlalchemy.sql.lambdas import StatementLambdaElement as StatementLambdaElement
|
|
17
|
-
from typing import Any
|
|
18
|
-
|
|
19
|
-
_BASE_STATES: Incomplete
|
|
20
|
-
_BASE_STATES_NO_LAST_CHANGED: Incomplete
|
|
21
|
-
_QUERY_STATE_NO_ATTR: Incomplete
|
|
22
|
-
_QUERY_STATE_NO_ATTR_NO_LAST_CHANGED: Incomplete
|
|
23
|
-
_BASE_STATES_PRE_SCHEMA_31: Incomplete
|
|
24
|
-
_BASE_STATES_NO_LAST_CHANGED_PRE_SCHEMA_31: Incomplete
|
|
25
|
-
_QUERY_STATE_NO_ATTR_PRE_SCHEMA_31: Incomplete
|
|
26
|
-
_QUERY_STATE_NO_ATTR_NO_LAST_CHANGED_PRE_SCHEMA_31: Incomplete
|
|
27
|
-
_QUERY_STATES_PRE_SCHEMA_25: Incomplete
|
|
28
|
-
_QUERY_STATES_PRE_SCHEMA_25_NO_LAST_CHANGED: Incomplete
|
|
29
|
-
_QUERY_STATES_PRE_SCHEMA_31: Incomplete
|
|
30
|
-
_QUERY_STATES_NO_LAST_CHANGED_PRE_SCHEMA_31: Incomplete
|
|
31
|
-
_QUERY_STATES: Incomplete
|
|
32
|
-
_QUERY_STATES_NO_LAST_CHANGED: Incomplete
|
|
33
|
-
_FIELD_MAP: Incomplete
|
|
34
|
-
_FIELD_MAP_PRE_SCHEMA_31: Incomplete
|
|
35
|
-
|
|
36
|
-
def _lambda_stmt_and_join_attributes(no_attributes: bool, include_last_changed: bool = True) -> tuple[StatementLambdaElement, bool]: ...
|
|
37
|
-
def get_significant_states(hass: HomeAssistant, start_time: datetime, end_time: datetime | None = None, entity_ids: list[str] | None = None, filters: Filters | None = None, include_start_time_state: bool = True, significant_changes_only: bool = True, minimal_response: bool = False, no_attributes: bool = False, compressed_state_format: bool = False) -> dict[str, list[State | dict[str, Any]]]: ...
|
|
38
|
-
def _significant_states_stmt(start_time: datetime, end_time: datetime | None, entity_ids: list[str], significant_changes_only: bool, no_attributes: bool) -> StatementLambdaElement: ...
|
|
39
|
-
def get_significant_states_with_session(hass: HomeAssistant, session: Session, start_time: datetime, end_time: datetime | None = None, entity_ids: list[str] | None = None, filters: Filters | None = None, include_start_time_state: bool = True, significant_changes_only: bool = True, minimal_response: bool = False, no_attributes: bool = False, compressed_state_format: bool = False) -> dict[str, list[State | dict[str, Any]]]: ...
|
|
40
|
-
def get_full_significant_states_with_session(hass: HomeAssistant, session: Session, start_time: datetime, end_time: datetime | None = None, entity_ids: list[str] | None = None, filters: Filters | None = None, include_start_time_state: bool = True, significant_changes_only: bool = True, no_attributes: bool = False) -> dict[str, list[State]]: ...
|
|
41
|
-
def _state_changed_during_period_stmt(start_time: datetime, end_time: datetime | None, entity_id: str, no_attributes: bool, descending: bool, limit: int | None) -> StatementLambdaElement: ...
|
|
42
|
-
def state_changes_during_period(hass: HomeAssistant, start_time: datetime, end_time: datetime | None = None, entity_id: str | None = None, no_attributes: bool = False, descending: bool = False, limit: int | None = None, include_start_time_state: bool = True) -> dict[str, list[State]]: ...
|
|
43
|
-
def _get_last_state_changes_stmt(number_of_states: int, entity_id: str) -> StatementLambdaElement: ...
|
|
44
|
-
def get_last_state_changes(hass: HomeAssistant, number_of_states: int, entity_id: str) -> dict[str, list[State]]: ...
|
|
45
|
-
def _get_states_for_entities_stmt(run_start_ts: float, utc_point_in_time: datetime, entity_ids: list[str], no_attributes: bool) -> StatementLambdaElement: ...
|
|
46
|
-
def _get_rows_with_session(hass: HomeAssistant, session: Session, utc_point_in_time: datetime, entity_ids: list[str], *, no_attributes: bool = False) -> Iterable[Row]: ...
|
|
47
|
-
def _get_single_entity_states_stmt(utc_point_in_time: datetime, entity_id: str, no_attributes: bool = False) -> StatementLambdaElement: ...
|
|
48
|
-
def _sorted_states_to_dict(hass: HomeAssistant, session: Session, states: Iterable[Row], start_time: datetime, entity_ids: list[str], include_start_time_state: bool = True, minimal_response: bool = False, no_attributes: bool = False, compressed_state_format: bool = False) -> dict[str, list[State | dict[str, Any]]]: ...
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
from ..const import LAST_REPORTED_SCHEMA_VERSION as LAST_REPORTED_SCHEMA_VERSION, MAX_IDS_FOR_INDEXED_GROUP_BY as MAX_IDS_FOR_INDEXED_GROUP_BY
|
|
2
|
-
from ..db_schema import SHARED_ATTR_OR_LEGACY_ATTRIBUTES as SHARED_ATTR_OR_LEGACY_ATTRIBUTES, StateAttributes as StateAttributes, States as States, StatesMeta as StatesMeta
|
|
3
|
-
from ..filters import Filters as Filters
|
|
4
|
-
from ..models import LazyState as LazyState, datetime_to_timestamp_or_none as datetime_to_timestamp_or_none, extract_metadata_ids as extract_metadata_ids, row_to_compressed_state as row_to_compressed_state
|
|
5
|
-
from ..util import execute_stmt_lambda_element as execute_stmt_lambda_element, session_scope as session_scope
|
|
6
|
-
from .const import LAST_CHANGED_KEY as LAST_CHANGED_KEY, NEED_ATTRIBUTE_DOMAINS as NEED_ATTRIBUTE_DOMAINS, SIGNIFICANT_DOMAINS as SIGNIFICANT_DOMAINS, STATE_KEY as STATE_KEY
|
|
7
|
-
from _typeshed import Incomplete
|
|
8
|
-
from collections.abc import Callable as Callable, Iterable
|
|
9
|
-
from datetime import datetime
|
|
10
|
-
from homeassistant.const import COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE
|
|
11
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, split_entity_id as split_entity_id
|
|
12
|
-
from homeassistant.helpers.recorder import get_instance as get_instance
|
|
13
|
-
from homeassistant.util.collection import chunked_or_all as chunked_or_all
|
|
14
|
-
from sqlalchemy import CompoundSelect as CompoundSelect, Select as Select, StatementLambdaElement as StatementLambdaElement, Subquery as Subquery
|
|
15
|
-
from sqlalchemy.engine.row import Row
|
|
16
|
-
from sqlalchemy.orm.session import Session as Session
|
|
17
|
-
from typing import Any
|
|
18
|
-
|
|
19
|
-
_FIELD_MAP: Incomplete
|
|
20
|
-
|
|
21
|
-
def _stmt_and_join_attributes(no_attributes: bool, include_last_changed: bool, include_last_reported: bool) -> Select: ...
|
|
22
|
-
def _stmt_and_join_attributes_for_start_state(no_attributes: bool, include_last_changed: bool, include_last_reported: bool) -> Select: ...
|
|
23
|
-
def _select_from_subquery(subquery: Subquery | CompoundSelect, no_attributes: bool, include_last_changed: bool, include_last_reported: bool) -> Select: ...
|
|
24
|
-
def get_significant_states(hass: HomeAssistant, start_time: datetime, end_time: datetime | None = None, entity_ids: list[str] | None = None, filters: Filters | None = None, include_start_time_state: bool = True, significant_changes_only: bool = True, minimal_response: bool = False, no_attributes: bool = False, compressed_state_format: bool = False) -> dict[str, list[State | dict[str, Any]]]: ...
|
|
25
|
-
def _significant_states_stmt(start_time_ts: float, end_time_ts: float | None, single_metadata_id: int | None, metadata_ids: list[int], metadata_ids_in_significant_domains: list[int], significant_changes_only: bool, no_attributes: bool, include_start_time_state: bool, run_start_ts: float | None, slow_dependent_subquery: bool) -> Select | CompoundSelect: ...
|
|
26
|
-
def get_significant_states_with_session(hass: HomeAssistant, session: Session, start_time: datetime, end_time: datetime | None = None, entity_ids: list[str] | None = None, filters: Filters | None = None, include_start_time_state: bool = True, significant_changes_only: bool = True, minimal_response: bool = False, no_attributes: bool = False, compressed_state_format: bool = False) -> dict[str, list[State | dict[str, Any]]]: ...
|
|
27
|
-
def _generate_significant_states_with_session_stmt(start_time_ts: float, end_time_ts: float | None, single_metadata_id: int | None, metadata_ids: list[int], metadata_ids_in_significant_domains: list[int], significant_changes_only: bool, no_attributes: bool, include_start_time_state: bool, oldest_ts: float | None, slow_dependent_subquery: bool) -> StatementLambdaElement: ...
|
|
28
|
-
def get_full_significant_states_with_session(hass: HomeAssistant, session: Session, start_time: datetime, end_time: datetime | None = None, entity_ids: list[str] | None = None, filters: Filters | None = None, include_start_time_state: bool = True, significant_changes_only: bool = True, no_attributes: bool = False) -> dict[str, list[State]]: ...
|
|
29
|
-
def _state_changed_during_period_stmt(start_time_ts: float, end_time_ts: float | None, single_metadata_id: int, no_attributes: bool, limit: int | None, include_start_time_state: bool, run_start_ts: float | None, include_last_reported: bool) -> Select | CompoundSelect: ...
|
|
30
|
-
def state_changes_during_period(hass: HomeAssistant, start_time: datetime, end_time: datetime | None = None, entity_id: str | None = None, no_attributes: bool = False, descending: bool = False, limit: int | None = None, include_start_time_state: bool = True) -> dict[str, list[State]]: ...
|
|
31
|
-
def _get_last_state_changes_single_stmt(metadata_id: int) -> Select: ...
|
|
32
|
-
def _get_last_state_changes_multiple_stmt(number_of_states: int, metadata_id: int, include_last_reported: bool) -> Select: ...
|
|
33
|
-
def get_last_state_changes(hass: HomeAssistant, number_of_states: int, entity_id: str) -> dict[str, list[State]]: ...
|
|
34
|
-
def _get_start_time_state_for_entities_stmt_dependent_sub_query(epoch_time: float, metadata_ids: list[int], no_attributes: bool, include_last_changed: bool) -> Select: ...
|
|
35
|
-
def _get_start_time_state_for_entities_stmt_group_by(epoch_time: float, metadata_ids: list[int], no_attributes: bool, include_last_changed: bool) -> Select: ...
|
|
36
|
-
def _get_oldest_possible_ts(hass: HomeAssistant, utc_point_in_time: datetime) -> float | None: ...
|
|
37
|
-
def _get_start_time_state_stmt(epoch_time: float, single_metadata_id: int | None, metadata_ids: list[int], no_attributes: bool, include_last_changed: bool, slow_dependent_subquery: bool) -> Select: ...
|
|
38
|
-
def _get_single_entity_start_time_stmt(epoch_time: float, metadata_id: int, no_attributes: bool, include_last_changed: bool, include_last_reported: bool) -> Select: ...
|
|
39
|
-
def _sorted_states_to_dict(states: Iterable[Row], start_time_ts: float | None, entity_ids: list[str], entity_id_to_metadata_id: dict[str, int | None], minimal_response: bool = False, compressed_state_format: bool = False, descending: bool = False, no_attributes: bool = False) -> dict[str, list[State | dict[str, Any]]]: ...
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
from .state_attributes import decode_attributes_from_source as decode_attributes_from_source
|
|
2
|
-
from .time import process_timestamp as process_timestamp
|
|
3
|
-
from _typeshed import Incomplete
|
|
4
|
-
from datetime import datetime
|
|
5
|
-
from homeassistant.const import COMPRESSED_STATE_ATTRIBUTES as COMPRESSED_STATE_ATTRIBUTES, COMPRESSED_STATE_LAST_CHANGED as COMPRESSED_STATE_LAST_CHANGED, COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE
|
|
6
|
-
from homeassistant.core import Context as Context, State as State
|
|
7
|
-
from sqlalchemy.engine.row import Row as Row
|
|
8
|
-
from typing import Any
|
|
9
|
-
|
|
10
|
-
class LegacyLazyState(State):
|
|
11
|
-
__slots__: Incomplete
|
|
12
|
-
_row: Incomplete
|
|
13
|
-
entity_id: Incomplete
|
|
14
|
-
state: Incomplete
|
|
15
|
-
_attributes: dict[str, Any] | None
|
|
16
|
-
_last_updated_ts: float | None
|
|
17
|
-
_last_changed_ts: float | None
|
|
18
|
-
_last_reported_ts: float | None
|
|
19
|
-
_context: Context | None
|
|
20
|
-
attr_cache: Incomplete
|
|
21
|
-
def __init__(self, row: Row, attr_cache: dict[str, dict[str, Any]], start_time: datetime | None, entity_id: str | None = None) -> None: ...
|
|
22
|
-
@property
|
|
23
|
-
def attributes(self) -> dict[str, Any]: ...
|
|
24
|
-
@attributes.setter
|
|
25
|
-
def attributes(self, value: dict[str, Any]) -> None: ...
|
|
26
|
-
@property
|
|
27
|
-
def context(self) -> Context: ...
|
|
28
|
-
@context.setter
|
|
29
|
-
def context(self, value: Context) -> None: ...
|
|
30
|
-
@property
|
|
31
|
-
def last_changed(self) -> datetime: ...
|
|
32
|
-
@last_changed.setter
|
|
33
|
-
def last_changed(self, value: datetime) -> None: ...
|
|
34
|
-
@property
|
|
35
|
-
def last_reported(self) -> datetime: ...
|
|
36
|
-
@last_reported.setter
|
|
37
|
-
def last_reported(self, value: datetime) -> None: ...
|
|
38
|
-
@property
|
|
39
|
-
def last_updated(self) -> datetime: ...
|
|
40
|
-
@last_updated.setter
|
|
41
|
-
def last_updated(self, value: datetime) -> None: ...
|
|
42
|
-
def as_dict(self) -> dict[str, Any]: ...
|
|
43
|
-
|
|
44
|
-
def legacy_row_to_compressed_state(row: Row, attr_cache: dict[str, dict[str, Any]], start_time: datetime | None, entity_id: str | None = None) -> dict[str, Any]: ...
|
|
45
|
-
def decode_attributes_from_row_legacy(row: Row, attr_cache: dict[str, dict[str, Any]]) -> dict[str, Any]: ...
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
from .coordinator import SFRDataUpdateCoordinator as SFRDataUpdateCoordinator
|
|
2
|
-
from dataclasses import dataclass
|
|
3
|
-
from sfrbox_api.bridge import SFRBox as SFRBox
|
|
4
|
-
from sfrbox_api.models import DslInfo as DslInfo, FtthInfo as FtthInfo, SystemInfo as SystemInfo, WanInfo as WanInfo
|
|
5
|
-
|
|
6
|
-
@dataclass
|
|
7
|
-
class DomainData:
|
|
8
|
-
box: SFRBox
|
|
9
|
-
dsl: SFRDataUpdateCoordinator[DslInfo]
|
|
10
|
-
ftth: SFRDataUpdateCoordinator[FtthInfo]
|
|
11
|
-
system: SFRDataUpdateCoordinator[SystemInfo]
|
|
12
|
-
wan: SFRDataUpdateCoordinator[WanInfo]
|
|
File without changes
|
|
File without changes
|