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,11 +1,9 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from _typeshed import Incomplete
|
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
3
|
from homeassistant.const import Platform as Platform
|
|
6
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
5
|
|
|
8
6
|
PLATFORMS: Incomplete
|
|
9
7
|
|
|
10
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
11
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
|
8
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry) -> bool: ...
|
|
9
|
+
async def async_unload_entry(hass: HomeAssistant, entry: ToloConfigEntry) -> bool: ...
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
5
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
8
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
7
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
8
|
|
|
11
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
9
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
12
10
|
|
|
13
11
|
class ToloFlowInBinarySensor(ToloSaunaCoordinatorEntity, BinarySensorEntity):
|
|
14
12
|
_attr_entity_category: Incomplete
|
|
15
13
|
_attr_translation_key: str
|
|
16
14
|
_attr_device_class: Incomplete
|
|
17
15
|
_attr_unique_id: Incomplete
|
|
18
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
16
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
19
17
|
@property
|
|
20
18
|
def is_on(self) -> bool: ...
|
|
21
19
|
|
|
@@ -24,6 +22,6 @@ class ToloFlowOutBinarySensor(ToloSaunaCoordinatorEntity, BinarySensorEntity):
|
|
|
24
22
|
_attr_translation_key: str
|
|
25
23
|
_attr_device_class: Incomplete
|
|
26
24
|
_attr_unique_id: Incomplete
|
|
27
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
25
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
28
26
|
@property
|
|
29
27
|
def is_on(self) -> bool: ...
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from homeassistant.components.button import ButtonEntity as ButtonEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
5
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
8
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
7
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
8
|
|
|
11
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
9
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
12
10
|
|
|
13
11
|
class ToloLampNextColorButton(ToloSaunaCoordinatorEntity, ButtonEntity):
|
|
14
12
|
_attr_entity_category: Incomplete
|
|
15
13
|
_attr_translation_key: str
|
|
16
14
|
_attr_unique_id: Incomplete
|
|
17
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
15
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
18
16
|
@property
|
|
19
17
|
def available(self) -> bool: ...
|
|
20
18
|
def press(self) -> None: ...
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from homeassistant.components.climate import ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, FAN_OFF as FAN_OFF, FAN_ON as FAN_ON, HVACAction as HVACAction, HVACMode as HVACMode
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
5
|
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_WHOLE as PRECISION_WHOLE, UnitOfTemperature as UnitOfTemperature
|
|
8
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
7
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
10
8
|
from tololib import TARGET_HUMIDITY_MAX, TARGET_HUMIDITY_MIN, TARGET_TEMPERATURE_MAX, TARGET_TEMPERATURE_MIN
|
|
11
9
|
from typing import Any
|
|
12
10
|
|
|
13
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
11
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
14
12
|
|
|
15
13
|
class SaunaClimate(ToloSaunaCoordinatorEntity, ClimateEntity):
|
|
16
14
|
_attr_fan_modes: Incomplete
|
|
@@ -25,7 +23,7 @@ class SaunaClimate(ToloSaunaCoordinatorEntity, ClimateEntity):
|
|
|
25
23
|
_attr_target_temperature_step: int
|
|
26
24
|
_attr_temperature_unit: Incomplete
|
|
27
25
|
_attr_unique_id: Incomplete
|
|
28
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
26
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
29
27
|
@property
|
|
30
28
|
def current_temperature(self) -> int: ...
|
|
31
29
|
@property
|
|
@@ -8,14 +8,15 @@ from tololib import ToloSettings as ToloSettings, ToloStatus as ToloStatus
|
|
|
8
8
|
from typing import NamedTuple
|
|
9
9
|
|
|
10
10
|
_LOGGER: Incomplete
|
|
11
|
+
type ToloConfigEntry = ConfigEntry[ToloSaunaUpdateCoordinator]
|
|
11
12
|
|
|
12
13
|
class ToloSaunaData(NamedTuple):
|
|
13
14
|
status: ToloStatus
|
|
14
15
|
settings: ToloSettings
|
|
15
16
|
|
|
16
17
|
class ToloSaunaUpdateCoordinator(DataUpdateCoordinator[ToloSaunaData]):
|
|
17
|
-
config_entry:
|
|
18
|
+
config_entry: ToloConfigEntry
|
|
18
19
|
client: Incomplete
|
|
19
|
-
def __init__(self, hass: HomeAssistant, entry:
|
|
20
|
+
def __init__(self, hass: HomeAssistant, entry: ToloConfigEntry) -> None: ...
|
|
20
21
|
async def _async_update_data(self) -> ToloSaunaData: ...
|
|
21
22
|
def _get_tolo_sauna_data(self) -> ToloSaunaData: ...
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
2
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
4
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
6
5
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
|
7
6
|
|
|
8
7
|
class ToloSaunaCoordinatorEntity(CoordinatorEntity[ToloSaunaUpdateCoordinator]):
|
|
9
8
|
_attr_has_entity_name: bool
|
|
10
9
|
_attr_device_info: Incomplete
|
|
11
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
10
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from homeassistant.components.fan import FanEntity as FanEntity, FanEntityFeature as FanEntityFeature
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
6
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
7
|
from typing import Any
|
|
10
8
|
|
|
11
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
9
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
12
10
|
|
|
13
11
|
class ToloFan(ToloSaunaCoordinatorEntity, FanEntity):
|
|
14
12
|
_attr_translation_key: str
|
|
15
13
|
_attr_supported_features: Incomplete
|
|
16
14
|
_attr_unique_id: Incomplete
|
|
17
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
15
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
18
16
|
@property
|
|
19
17
|
def is_on(self) -> bool: ...
|
|
20
18
|
def turn_on(self, percentage: int | None = None, preset_mode: str | None = None, **kwargs: Any) -> None: ...
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from homeassistant.components.light import ColorMode as ColorMode, LightEntity as LightEntity
|
|
6
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
7
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
8
6
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
7
|
from typing import Any
|
|
10
8
|
|
|
11
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
9
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
12
10
|
|
|
13
11
|
class ToloLight(ToloSaunaCoordinatorEntity, LightEntity):
|
|
14
12
|
_attr_color_mode: Incomplete
|
|
15
13
|
_attr_translation_key: str
|
|
16
14
|
_attr_supported_color_modes: Incomplete
|
|
17
15
|
_attr_unique_id: Incomplete
|
|
18
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
16
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry) -> None: ...
|
|
19
17
|
@property
|
|
20
18
|
def is_on(self) -> bool: ...
|
|
21
19
|
def turn_on(self, **kwargs: Any) -> None: ...
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from collections.abc import Callable as Callable
|
|
6
5
|
from dataclasses import dataclass
|
|
7
6
|
from homeassistant.components.number import NumberEntity as NumberEntity, NumberEntityDescription as NumberEntityDescription
|
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
7
|
from homeassistant.const import EntityCategory as EntityCategory, UnitOfTime as UnitOfTime
|
|
10
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
11
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -22,12 +20,12 @@ class ToloNumberEntityDescription(NumberEntityDescription):
|
|
|
22
20
|
|
|
23
21
|
NUMBERS: Incomplete
|
|
24
22
|
|
|
25
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
23
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
26
24
|
|
|
27
25
|
class ToloNumberEntity(ToloSaunaCoordinatorEntity, NumberEntity):
|
|
28
26
|
entity_description: ToloNumberEntityDescription
|
|
29
27
|
_attr_unique_id: Incomplete
|
|
30
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
28
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry, entity_description: ToloNumberEntityDescription) -> None: ...
|
|
31
29
|
@property
|
|
32
30
|
def native_value(self) -> float: ...
|
|
33
31
|
def set_native_value(self, value: float) -> None: ...
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
from .const import AromaTherapySlot as AromaTherapySlot,
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .const import AromaTherapySlot as AromaTherapySlot, LampMode as LampMode
|
|
2
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
3
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Callable as Callable
|
|
6
6
|
from dataclasses import dataclass
|
|
7
7
|
from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
|
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
8
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
10
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
11
10
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -19,13 +18,13 @@ class ToloSelectEntityDescription(SelectEntityDescription):
|
|
|
19
18
|
|
|
20
19
|
SELECTS: Incomplete
|
|
21
20
|
|
|
22
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
21
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
23
22
|
|
|
24
23
|
class ToloSelectEntity(ToloSaunaCoordinatorEntity, SelectEntity):
|
|
25
24
|
_attr_entity_category: Incomplete
|
|
26
25
|
entity_description: ToloSelectEntityDescription
|
|
27
26
|
_attr_unique_id: Incomplete
|
|
28
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
27
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry, entity_description: ToloSelectEntityDescription) -> None: ...
|
|
29
28
|
@property
|
|
30
29
|
def options(self) -> list[str]: ...
|
|
31
30
|
@property
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from collections.abc import Callable as Callable
|
|
6
5
|
from dataclasses import dataclass
|
|
7
6
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
7
|
from homeassistant.const import EntityCategory as EntityCategory, PERCENTAGE as PERCENTAGE, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime
|
|
10
8
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
11
9
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -19,12 +17,12 @@ class ToloSensorEntityDescription(SensorEntityDescription):
|
|
|
19
17
|
|
|
20
18
|
SENSORS: Incomplete
|
|
21
19
|
|
|
22
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
20
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
23
21
|
|
|
24
22
|
class ToloSensorEntity(ToloSaunaCoordinatorEntity, SensorEntity):
|
|
25
23
|
entity_description: ToloSensorEntityDescription
|
|
26
24
|
_attr_unique_id: Incomplete
|
|
27
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
25
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry, entity_description: ToloSensorEntityDescription) -> None: ...
|
|
28
26
|
@property
|
|
29
27
|
def available(self) -> bool: ...
|
|
30
28
|
@property
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
from .
|
|
2
|
-
from .coordinator import ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
1
|
+
from .coordinator import ToloConfigEntry as ToloConfigEntry, ToloSaunaUpdateCoordinator as ToloSaunaUpdateCoordinator
|
|
3
2
|
from .entity import ToloSaunaCoordinatorEntity as ToloSaunaCoordinatorEntity
|
|
4
3
|
from _typeshed import Incomplete
|
|
5
4
|
from collections.abc import Callable as Callable
|
|
6
5
|
from dataclasses import dataclass
|
|
7
6
|
from homeassistant.components.switch import SwitchEntity as SwitchEntity, SwitchEntityDescription as SwitchEntityDescription
|
|
8
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
9
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
10
8
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
11
9
|
from tololib import ToloClient as ToloClient, ToloStatus as ToloStatus
|
|
@@ -18,12 +16,12 @@ class ToloSwitchEntityDescription(SwitchEntityDescription):
|
|
|
18
16
|
|
|
19
17
|
SWITCHES: Incomplete
|
|
20
18
|
|
|
21
|
-
async def async_setup_entry(hass: HomeAssistant, entry:
|
|
19
|
+
async def async_setup_entry(hass: HomeAssistant, entry: ToloConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
22
20
|
|
|
23
21
|
class ToloSwitchEntity(ToloSaunaCoordinatorEntity, SwitchEntity):
|
|
24
22
|
entity_description: ToloSwitchEntityDescription
|
|
25
23
|
_attr_unique_id: Incomplete
|
|
26
|
-
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry:
|
|
24
|
+
def __init__(self, coordinator: ToloSaunaUpdateCoordinator, entry: ToloConfigEntry, entity_description: ToloSwitchEntityDescription) -> None: ...
|
|
27
25
|
@property
|
|
28
26
|
def is_on(self) -> bool: ...
|
|
29
27
|
def turn_on(self, **kwargs: Any) -> None: ...
|
|
@@ -10,5 +10,4 @@ _LOGGER: Incomplete
|
|
|
10
10
|
|
|
11
11
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
12
12
|
async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
|
|
13
|
-
async def config_entry_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
14
13
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
@@ -15,7 +15,7 @@ from homeassistant.helpers.typing import ConfigType
|
|
|
15
15
|
from pathlib import Path
|
|
16
16
|
from propcache.api import cached_property
|
|
17
17
|
from time import monotonic
|
|
18
|
-
from typing import Any,
|
|
18
|
+
from typing import Any, Protocol
|
|
19
19
|
|
|
20
20
|
__all__ = ['ATTR_AUDIO_OUTPUT', 'ATTR_PREFERRED_FORMAT', 'ATTR_PREFERRED_SAMPLE_BYTES', 'ATTR_PREFERRED_SAMPLE_CHANNELS', 'ATTR_PREFERRED_SAMPLE_RATE', 'CONF_LANG', 'DEFAULT_CACHE_DIR', 'PLATFORM_SCHEMA', 'PLATFORM_SCHEMA_BASE', 'Provider', 'ResultStream', 'SampleFormat', 'TTSAudioResponse', 'TextToSpeechEntity', 'TtsAudioType', 'Voice', 'async_default_engine', 'async_get_media_source_audio', 'generate_media_source_id']
|
|
21
21
|
|
|
@@ -73,9 +73,8 @@ class ResultStream:
|
|
|
73
73
|
|
|
74
74
|
class HasLastUsed(Protocol):
|
|
75
75
|
last_used: float
|
|
76
|
-
T = TypeVar('T', bound=HasLastUsed)
|
|
77
76
|
|
|
78
|
-
class DictCleaning
|
|
77
|
+
class DictCleaning[T: HasLastUsed]:
|
|
79
78
|
unsub: CALLBACK_TYPE | None
|
|
80
79
|
hass: Incomplete
|
|
81
80
|
maxage: Incomplete
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from . import UnifiConfigEntry as UnifiConfigEntry
|
|
2
|
+
from .entity import UnifiEntity as UnifiEntity, UnifiEntityDescription as UnifiEntityDescription, async_device_available_fn as async_device_available_fn, async_device_device_info_fn as async_device_device_info_fn
|
|
3
|
+
from .hub import UnifiHub as UnifiHub
|
|
4
|
+
from _typeshed import Incomplete
|
|
5
|
+
from aiounifi.interfaces.api_handlers import APIHandler as APIHandler, ItemEvent
|
|
6
|
+
from aiounifi.models.api import ApiItem as ApiItem
|
|
7
|
+
from aiounifi.models.device import Device
|
|
8
|
+
from collections.abc import Callable as Callable, Coroutine
|
|
9
|
+
from dataclasses import dataclass
|
|
10
|
+
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_RGB_COLOR as ATTR_RGB_COLOR, ColorMode as ColorMode, LightEntity as LightEntity, LightEntityDescription as LightEntityDescription, LightEntityFeature as LightEntityFeature
|
|
11
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
12
|
+
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
13
|
+
from homeassistant.util.color import rgb_hex_to_rgb_list as rgb_hex_to_rgb_list
|
|
14
|
+
from typing import Any
|
|
15
|
+
|
|
16
|
+
@callback
|
|
17
|
+
def async_device_led_supported_fn(hub: UnifiHub, obj_id: str) -> bool: ...
|
|
18
|
+
@callback
|
|
19
|
+
def async_device_led_is_on_fn(hub: UnifiHub, device: Device) -> bool: ...
|
|
20
|
+
async def async_device_led_control_fn(hub: UnifiHub, obj_id: str, turn_on: bool, **kwargs: Any) -> None: ...
|
|
21
|
+
|
|
22
|
+
@dataclass(frozen=True, kw_only=True)
|
|
23
|
+
class UnifiLightEntityDescription[HandlerT: APIHandler, ApiItemT: ApiItem](LightEntityDescription, UnifiEntityDescription[HandlerT, ApiItemT]):
|
|
24
|
+
control_fn: Callable[[UnifiHub, str, bool], Coroutine[Any, Any, None]]
|
|
25
|
+
is_on_fn: Callable[[UnifiHub, ApiItemT], bool]
|
|
26
|
+
|
|
27
|
+
ENTITY_DESCRIPTIONS: tuple[UnifiLightEntityDescription, ...]
|
|
28
|
+
|
|
29
|
+
async def async_setup_entry(hass: HomeAssistant, config_entry: UnifiConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
30
|
+
|
|
31
|
+
class UnifiLightEntity[HandlerT: APIHandler, ApiItemT: ApiItem](UnifiEntity[HandlerT, ApiItemT], LightEntity):
|
|
32
|
+
entity_description: UnifiLightEntityDescription[HandlerT, ApiItemT]
|
|
33
|
+
_attr_supported_features: Incomplete
|
|
34
|
+
_attr_color_mode: Incomplete
|
|
35
|
+
_attr_supported_color_modes: Incomplete
|
|
36
|
+
@callback
|
|
37
|
+
def async_initiate_state(self) -> None: ...
|
|
38
|
+
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
|
39
|
+
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
|
40
|
+
_attr_is_on: Incomplete
|
|
41
|
+
_attr_brightness: Incomplete
|
|
42
|
+
_attr_rgb_color: Incomplete
|
|
43
|
+
@callback
|
|
44
|
+
def async_update_state(self, event: ItemEvent, obj_id: str) -> None: ...
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
from .coordinator import UptimeRobotConfigEntry as UptimeRobotConfigEntry
|
|
2
2
|
from .entity import UptimeRobotEntity as UptimeRobotEntity
|
|
3
|
+
from .utils import new_device_listener as new_device_listener
|
|
3
4
|
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
|
|
4
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
6
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
7
|
+
from pyuptimerobot import UptimeRobotMonitor as UptimeRobotMonitor
|
|
6
8
|
|
|
7
9
|
PARALLEL_UPDATES: int
|
|
8
10
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
from .coordinator import UptimeRobotConfigEntry as UptimeRobotConfigEntry
|
|
2
2
|
from .entity import UptimeRobotEntity as UptimeRobotEntity
|
|
3
|
+
from .utils import new_device_listener as new_device_listener
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
5
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription
|
|
5
6
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
8
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
|
+
from pyuptimerobot import UptimeRobotMonitor as UptimeRobotMonitor
|
|
8
10
|
|
|
9
11
|
SENSORS_INFO: Incomplete
|
|
10
12
|
PARALLEL_UPDATES: int
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
from .const import API_ATTR_OK as API_ATTR_OK, DOMAIN as DOMAIN
|
|
2
2
|
from .coordinator import UptimeRobotConfigEntry as UptimeRobotConfigEntry
|
|
3
3
|
from .entity import UptimeRobotEntity as UptimeRobotEntity
|
|
4
|
+
from .utils import new_device_listener as new_device_listener
|
|
4
5
|
from homeassistant.components.switch import SwitchDeviceClass as SwitchDeviceClass, SwitchEntity as SwitchEntity, SwitchEntityDescription as SwitchEntityDescription
|
|
5
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
7
8
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
9
|
+
from pyuptimerobot import UptimeRobotMonitor as UptimeRobotMonitor
|
|
8
10
|
from typing import Any
|
|
9
11
|
|
|
10
12
|
PARALLEL_UPDATES: int
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
from .coordinator import UptimeRobotDataUpdateCoordinator as UptimeRobotDataUpdateCoordinator
|
|
2
|
+
from collections.abc import Callable as Callable
|
|
3
|
+
from pyuptimerobot import UptimeRobotMonitor as UptimeRobotMonitor
|
|
4
|
+
|
|
5
|
+
def new_device_listener(coordinator: UptimeRobotDataUpdateCoordinator, new_devices_callback: Callable[[list[UptimeRobotMonitor]], None]) -> Callable[[], None]: ...
|
|
@@ -47,6 +47,8 @@ class USBDiscovery:
|
|
|
47
47
|
def async_register_initial_scan_callback(self, callback: CALLBACK_TYPE) -> CALLBACK_TYPE: ...
|
|
48
48
|
@hass_callback
|
|
49
49
|
def async_register_port_event_callback(self, callback: PORT_EVENT_CALLBACK_TYPE) -> CALLBACK_TYPE: ...
|
|
50
|
+
@hass_callback
|
|
51
|
+
def async_get_usb_matchers_for_device(self, device: USBDevice) -> list[USBMatcher]: ...
|
|
50
52
|
async def _async_process_discovered_usb_device(self, device: USBDevice) -> None: ...
|
|
51
53
|
async def _async_process_ports(self, usb_devices: Sequence[USBDevice]) -> None: ...
|
|
52
54
|
@hass_callback
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
from .models import USBDevice as USBDevice
|
|
2
2
|
from collections.abc import Sequence
|
|
3
|
+
from homeassistant.helpers.service_info.usb import UsbServiceInfo as UsbServiceInfo
|
|
4
|
+
from homeassistant.loader import USBMatcher as USBMatcher
|
|
3
5
|
from serial.tools.list_ports_common import ListPortInfo as ListPortInfo
|
|
4
6
|
|
|
5
7
|
def usb_device_from_port(port: ListPortInfo) -> USBDevice: ...
|
|
6
8
|
def scan_serial_ports() -> Sequence[USBDevice]: ...
|
|
9
|
+
def usb_device_from_path(device_path: str) -> USBDevice | None: ...
|
|
10
|
+
def _fnmatch_lower(name: str | None, pattern: str) -> bool: ...
|
|
11
|
+
def usb_device_matches_matcher(device: USBDevice, matcher: USBMatcher) -> bool: ...
|
|
12
|
+
def usb_unique_id_from_service_info(usb_info: UsbServiceInfo) -> str: ...
|
|
13
|
+
def usb_service_info_from_device(usb_device: USBDevice) -> UsbServiceInfo: ...
|
|
@@ -59,21 +59,6 @@ class VacuumEntityFeature(IntFlag):
|
|
|
59
59
|
STATE = 4096
|
|
60
60
|
START = 8192
|
|
61
61
|
|
|
62
|
-
_DEPRECATED_SUPPORT_TURN_ON: Incomplete
|
|
63
|
-
_DEPRECATED_SUPPORT_TURN_OFF: Incomplete
|
|
64
|
-
_DEPRECATED_SUPPORT_PAUSE: Incomplete
|
|
65
|
-
_DEPRECATED_SUPPORT_STOP: Incomplete
|
|
66
|
-
_DEPRECATED_SUPPORT_RETURN_HOME: Incomplete
|
|
67
|
-
_DEPRECATED_SUPPORT_FAN_SPEED: Incomplete
|
|
68
|
-
_DEPRECATED_SUPPORT_BATTERY: Incomplete
|
|
69
|
-
_DEPRECATED_SUPPORT_STATUS: Incomplete
|
|
70
|
-
_DEPRECATED_SUPPORT_SEND_COMMAND: Incomplete
|
|
71
|
-
_DEPRECATED_SUPPORT_LOCATE: Incomplete
|
|
72
|
-
_DEPRECATED_SUPPORT_CLEAN_SPOT: Incomplete
|
|
73
|
-
_DEPRECATED_SUPPORT_MAP: Incomplete
|
|
74
|
-
_DEPRECATED_SUPPORT_STATE: Incomplete
|
|
75
|
-
_DEPRECATED_SUPPORT_START: Incomplete
|
|
76
|
-
|
|
77
62
|
@bind_hass
|
|
78
63
|
def is_on(hass: HomeAssistant, entity_id: str) -> bool: ...
|
|
79
64
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from _typeshed import Incomplete
|
|
2
|
+
from homeassistant.components.camera import Camera as Camera, CameraEntityFeature as CameraEntityFeature
|
|
3
|
+
from homeassistant.const import CONF_AUTHENTICATION as CONF_AUTHENTICATION, CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_SSL as CONF_SSL, CONF_USERNAME as CONF_USERNAME, CONF_VERIFY_SSL as CONF_VERIFY_SSL, HTTP_BASIC_AUTHENTICATION as HTTP_BASIC_AUTHENTICATION, HTTP_DIGEST_AUTHENTICATION as HTTP_DIGEST_AUTHENTICATION
|
|
4
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
5
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
|
6
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, DiscoveryInfoType as DiscoveryInfoType
|
|
7
|
+
from libpyvivotek import VivotekCamera
|
|
8
|
+
|
|
9
|
+
CONF_FRAMERATE: str
|
|
10
|
+
CONF_SECURITY_LEVEL: str
|
|
11
|
+
CONF_STREAM_PATH: str
|
|
12
|
+
DEFAULT_CAMERA_BRAND: str
|
|
13
|
+
DEFAULT_NAME: str
|
|
14
|
+
DEFAULT_EVENT_0_KEY: str
|
|
15
|
+
DEFAULT_SECURITY_LEVEL: str
|
|
16
|
+
DEFAULT_STREAM_SOURCE: str
|
|
17
|
+
PLATFORM_SCHEMA: Incomplete
|
|
18
|
+
|
|
19
|
+
def setup_platform(hass: HomeAssistant, config: ConfigType, add_entities: AddEntitiesCallback, discovery_info: DiscoveryInfoType | None = None) -> None: ...
|
|
20
|
+
|
|
21
|
+
class VivotekCam(Camera):
|
|
22
|
+
_attr_brand = DEFAULT_CAMERA_BRAND
|
|
23
|
+
_attr_supported_features: Incomplete
|
|
24
|
+
_cam: Incomplete
|
|
25
|
+
_attr_frame_interval: Incomplete
|
|
26
|
+
_attr_name: Incomplete
|
|
27
|
+
_stream_source: Incomplete
|
|
28
|
+
def __init__(self, config: ConfigType, cam: VivotekCamera, stream_source: str) -> None: ...
|
|
29
|
+
def camera_image(self, width: int | None = None, height: int | None = None) -> bytes | None: ...
|
|
30
|
+
async def stream_source(self) -> str: ...
|
|
31
|
+
_attr_motion_detection_enabled: Incomplete
|
|
32
|
+
def disable_motion_detection(self) -> None: ...
|
|
33
|
+
def enable_motion_detection(self) -> None: ...
|
|
34
|
+
_attr_model: Incomplete
|
|
35
|
+
def update(self) -> None: ...
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
from .const import CONF_DEVICE_DETAILS as CONF_DEVICE_DETAILS, DEVICE_TYPE as DEVICE_TYPE, DEVICE_URL as DEVICE_URL, _LOGGER as _LOGGER
|
|
1
2
|
from .coordinator import VodafoneConfigEntry as VodafoneConfigEntry, VodafoneStationRouter as VodafoneStationRouter
|
|
2
3
|
from .utils import async_client_session as async_client_session
|
|
3
4
|
from _typeshed import Incomplete
|
|
4
|
-
from homeassistant.const import CONF_HOST as CONF_HOST,
|
|
5
|
+
from homeassistant.const import CONF_HOST as CONF_HOST, Platform as Platform
|
|
5
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
6
7
|
|
|
7
8
|
PLATFORMS: Incomplete
|
|
8
9
|
|
|
9
10
|
async def async_setup_entry(hass: HomeAssistant, entry: VodafoneConfigEntry) -> bool: ...
|
|
11
|
+
async def async_migrate_entry(hass: HomeAssistant, entry: VodafoneConfigEntry) -> bool: ...
|
|
10
12
|
async def async_unload_entry(hass: HomeAssistant, entry: VodafoneConfigEntry) -> bool: ...
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import voluptuous as vol
|
|
2
|
-
from .const import DEFAULT_HOST as DEFAULT_HOST, DEFAULT_USERNAME as DEFAULT_USERNAME, DOMAIN as DOMAIN, _LOGGER as _LOGGER
|
|
2
|
+
from .const import CONF_DEVICE_DETAILS as CONF_DEVICE_DETAILS, DEFAULT_HOST as DEFAULT_HOST, DEFAULT_USERNAME as DEFAULT_USERNAME, DEVICE_TYPE as DEVICE_TYPE, DEVICE_URL as DEVICE_URL, DOMAIN as DOMAIN, _LOGGER as _LOGGER
|
|
3
3
|
from .coordinator import VodafoneConfigEntry as VodafoneConfigEntry
|
|
4
4
|
from .utils import async_client_session as async_client_session
|
|
5
5
|
from _typeshed import Incomplete
|
|
@@ -14,10 +14,11 @@ def user_form_schema(user_input: dict[str, Any] | None) -> vol.Schema: ...
|
|
|
14
14
|
|
|
15
15
|
STEP_REAUTH_DATA_SCHEMA: Incomplete
|
|
16
16
|
|
|
17
|
-
async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str,
|
|
17
|
+
async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str, Any]: ...
|
|
18
18
|
|
|
19
19
|
class VodafoneStationConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
20
20
|
VERSION: int
|
|
21
|
+
MINOR_VERSION: int
|
|
21
22
|
@staticmethod
|
|
22
23
|
@callback
|
|
23
24
|
def async_get_options_flow(config_entry: VodafoneConfigEntry) -> VodafoneStationOptionsFlowHandler: ...
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
from .const import DOMAIN as DOMAIN, SCAN_INTERVAL as SCAN_INTERVAL, _LOGGER as _LOGGER
|
|
1
|
+
from .const import CONF_DEVICE_DETAILS as CONF_DEVICE_DETAILS, DEVICE_TYPE as DEVICE_TYPE, DEVICE_URL as DEVICE_URL, DOMAIN as DOMAIN, SCAN_INTERVAL as SCAN_INTERVAL, _LOGGER as _LOGGER
|
|
2
2
|
from .helpers import cleanup_device_tracker as cleanup_device_tracker
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from aiohttp import ClientSession as ClientSession
|
|
5
|
-
from aiovodafone import VodafoneStationDevice as VodafoneStationDevice
|
|
5
|
+
from aiovodafone.api import VodafoneStationDevice as VodafoneStationDevice
|
|
6
6
|
from dataclasses import dataclass
|
|
7
7
|
from datetime import datetime
|
|
8
8
|
from homeassistant.components.device_tracker import DEFAULT_CONSIDER_HOME as DEFAULT_CONSIDER_HOME
|
|
9
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
10
|
+
from homeassistant.const import CONF_HOST as CONF_HOST
|
|
10
11
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
11
12
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
|
12
13
|
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
|
|
@@ -29,11 +30,10 @@ class UpdateCoordinatorDataType:
|
|
|
29
30
|
|
|
30
31
|
class VodafoneStationRouter(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|
31
32
|
config_entry: VodafoneConfigEntry
|
|
32
|
-
_host: Incomplete
|
|
33
33
|
api: Incomplete
|
|
34
34
|
_id: Incomplete
|
|
35
35
|
previous_devices: Incomplete
|
|
36
|
-
def __init__(self, hass: HomeAssistant,
|
|
36
|
+
def __init__(self, hass: HomeAssistant, config_entry: VodafoneConfigEntry, session: ClientSession) -> None: ...
|
|
37
37
|
def _calculate_update_time_and_consider_home(self, device: VodafoneStationDevice, utc_point_in_time: datetime) -> tuple[datetime | None, bool]: ...
|
|
38
38
|
async def _async_update_data(self) -> UpdateCoordinatorDataType: ...
|
|
39
39
|
@property
|
|
@@ -12,4 +12,6 @@ from volvocarsapi.models import VolvoCarsVehicle as VolvoCarsVehicle
|
|
|
12
12
|
async def async_setup_entry(hass: HomeAssistant, entry: VolvoConfigEntry) -> bool: ...
|
|
13
13
|
async def async_unload_entry(hass: HomeAssistant, entry: VolvoConfigEntry) -> bool: ...
|
|
14
14
|
async def _async_auth_and_create_api(hass: HomeAssistant, entry: VolvoConfigEntry) -> VolvoCarsApi: ...
|
|
15
|
+
async def _async_create_context(api: VolvoCarsApi) -> VolvoContext: ...
|
|
15
16
|
async def _async_load_vehicle(api: VolvoCarsApi) -> VolvoCarsVehicle: ...
|
|
17
|
+
async def _async_load_supported_commands(api: VolvoCarsApi) -> list[str]: ...
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from .const import API_NONE_VALUE as API_NONE_VALUE
|
|
2
|
-
from .coordinator import
|
|
2
|
+
from .coordinator import VolvoConfigEntry as VolvoConfigEntry
|
|
3
3
|
from .entity import VolvoEntity as VolvoEntity, VolvoEntityDescription as VolvoEntityDescription
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from dataclasses import dataclass, field
|
|
@@ -36,7 +36,5 @@ async def async_setup_entry(hass: HomeAssistant, entry: VolvoConfigEntry, async_
|
|
|
36
36
|
|
|
37
37
|
class VolvoBinarySensor(VolvoEntity, BinarySensorEntity):
|
|
38
38
|
entity_description: VolvoBinarySensorDescription
|
|
39
|
-
_attr_extra_state_attributes: Incomplete
|
|
40
|
-
def __init__(self, coordinator: VolvoBaseCoordinator, description: VolvoBinarySensorDescription) -> None: ...
|
|
41
39
|
_attr_is_on: Incomplete
|
|
42
40
|
def _update_state(self, api_field: VolvoCarsApiBaseModel | None) -> None: ...
|