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
|
@@ -3,7 +3,7 @@ from .entity import EsphomeAssistEntity as EsphomeAssistEntity, EsphomeEntity as
|
|
|
3
3
|
from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry, RuntimeEntryData as RuntimeEntryData
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from aioesphomeapi import EntityInfo as EntityInfo, SelectInfo, SelectState
|
|
6
|
-
from homeassistant.components.assist_pipeline
|
|
6
|
+
from homeassistant.components.assist_pipeline import AssistPipelineSelect as AssistPipelineSelect, VadSensitivitySelect as VadSensitivitySelect
|
|
7
7
|
from homeassistant.components.assist_satellite import AssistSatelliteConfiguration as AssistSatelliteConfiguration
|
|
8
8
|
from homeassistant.components.select import SelectEntity as SelectEntity, SelectEntityDescription as SelectEntityDescription
|
|
9
9
|
from homeassistant.const import EntityCategory as EntityCategory
|
|
@@ -7,7 +7,7 @@ from _typeshed import Incomplete
|
|
|
7
7
|
from datetime import datetime
|
|
8
8
|
from evohomeasync2.schemas.const import SystemMode as EvoSystemMode
|
|
9
9
|
from homeassistant.components.climate import ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACMode as HVACMode, PRESET_AWAY as PRESET_AWAY, PRESET_ECO as PRESET_ECO, PRESET_HOME as PRESET_HOME, PRESET_NONE as PRESET_NONE
|
|
10
|
-
from homeassistant.const import ATTR_MODE as ATTR_MODE, PRECISION_TENTHS as PRECISION_TENTHS, UnitOfTemperature as UnitOfTemperature
|
|
10
|
+
from homeassistant.const import ATTR_MODE as ATTR_MODE, ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_TENTHS as PRECISION_TENTHS, UnitOfTemperature as UnitOfTemperature
|
|
11
11
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
12
12
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
13
13
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
|
@@ -4,6 +4,6 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
|
4
4
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
5
5
|
|
|
6
6
|
type FastdotcomConfigEntry = ConfigEntry[FastdotcomDataUpdateCoordinator]
|
|
7
|
-
class FastdotcomDataUpdateCoordinator(DataUpdateCoordinator[float]):
|
|
7
|
+
class FastdotcomDataUpdateCoordinator(DataUpdateCoordinator[dict[str, float] | None]):
|
|
8
8
|
def __init__(self, hass: HomeAssistant, entry: FastdotcomConfigEntry) -> None: ...
|
|
9
|
-
async def _async_update_data(self) -> float: ...
|
|
9
|
+
async def _async_update_data(self) -> dict[str, float] | None: ...
|
|
@@ -21,4 +21,4 @@ class SpeedtestSensor(CoordinatorEntity[FastdotcomDataUpdateCoordinator], Sensor
|
|
|
21
21
|
_attr_device_info: Incomplete
|
|
22
22
|
def __init__(self, entry_id: str, coordinator: FastdotcomDataUpdateCoordinator) -> None: ...
|
|
23
23
|
@property
|
|
24
|
-
def native_value(self) -> float: ...
|
|
24
|
+
def native_value(self) -> float | None: ...
|
|
@@ -4,4 +4,3 @@ from homeassistant.core import HomeAssistant as HomeAssistant
|
|
|
4
4
|
|
|
5
5
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
6
6
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
7
|
-
async def update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
from .coordinator import FireflyConfigEntry as FireflyConfigEntry, FireflyDataUpdateCoordinator as FireflyDataUpdateCoordinator
|
|
2
|
+
from homeassistant.const import Platform as Platform
|
|
3
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
4
|
+
|
|
5
|
+
_PLATFORMS: list[Platform]
|
|
6
|
+
|
|
7
|
+
async def async_setup_entry(hass: HomeAssistant, entry: FireflyConfigEntry) -> bool: ...
|
|
8
|
+
async def async_unload_entry(hass: HomeAssistant, entry: FireflyConfigEntry) -> bool: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from collections.abc import Mapping
|
|
4
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
|
5
|
+
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_URL as CONF_URL, CONF_VERIFY_SSL as CONF_VERIFY_SSL
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
8
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
_LOGGER: Incomplete
|
|
12
|
+
STEP_USER_DATA_SCHEMA: Incomplete
|
|
13
|
+
|
|
14
|
+
async def _validate_input(hass: HomeAssistant, data: dict[str, Any]) -> bool: ...
|
|
15
|
+
|
|
16
|
+
class FireflyConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
17
|
+
VERSION: int
|
|
18
|
+
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
19
|
+
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
20
|
+
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
21
|
+
|
|
22
|
+
class CannotConnect(HomeAssistantError): ...
|
|
23
|
+
class InvalidAuth(HomeAssistantError): ...
|
|
24
|
+
class FireflyClientTimeout(HomeAssistantError): ...
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from dataclasses import dataclass
|
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
|
+
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_URL as CONF_URL, CONF_VERIFY_SSL as CONF_VERIFY_SSL
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed, ConfigEntryNotReady as ConfigEntryNotReady
|
|
8
|
+
from homeassistant.helpers.aiohttp_client import async_create_clientsession as async_create_clientsession
|
|
9
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
10
|
+
from pyfirefly.models import Account as Account, Bill as Bill, Budget as Budget, Category as Category, Currency as Currency
|
|
11
|
+
|
|
12
|
+
_LOGGER: Incomplete
|
|
13
|
+
type FireflyConfigEntry = ConfigEntry[FireflyDataUpdateCoordinator]
|
|
14
|
+
DEFAULT_SCAN_INTERVAL: Incomplete
|
|
15
|
+
|
|
16
|
+
@dataclass
|
|
17
|
+
class FireflyCoordinatorData:
|
|
18
|
+
accounts: list[Account]
|
|
19
|
+
categories: list[Category]
|
|
20
|
+
category_details: list[Category]
|
|
21
|
+
budgets: list[Budget]
|
|
22
|
+
bills: list[Bill]
|
|
23
|
+
primary_currency: Currency
|
|
24
|
+
|
|
25
|
+
class FireflyDataUpdateCoordinator(DataUpdateCoordinator[FireflyCoordinatorData]):
|
|
26
|
+
config_entry: FireflyConfigEntry
|
|
27
|
+
firefly: Incomplete
|
|
28
|
+
def __init__(self, hass: HomeAssistant, config_entry: FireflyConfigEntry) -> None: ...
|
|
29
|
+
async def _async_setup(self) -> None: ...
|
|
30
|
+
async def _async_update_data(self) -> FireflyCoordinatorData: ...
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from . import FireflyConfigEntry as FireflyConfigEntry
|
|
2
|
+
from .coordinator import FireflyDataUpdateCoordinator as FireflyDataUpdateCoordinator
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.components.diagnostics import async_redact_data as async_redact_data
|
|
5
|
+
from homeassistant.const import CONF_API_KEY as CONF_API_KEY, CONF_URL as CONF_URL
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
TO_REDACT: Incomplete
|
|
10
|
+
|
|
11
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, entry: FireflyConfigEntry) -> dict[str, Any]: ...
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER, NAME as NAME
|
|
2
|
+
from .coordinator import FireflyDataUpdateCoordinator as FireflyDataUpdateCoordinator
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.const import CONF_URL as CONF_URL
|
|
5
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
|
6
|
+
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
|
7
|
+
from pyfirefly.models import Account as Account, Budget as Budget, Category as Category
|
|
8
|
+
|
|
9
|
+
class FireflyBaseEntity(CoordinatorEntity[FireflyDataUpdateCoordinator]):
|
|
10
|
+
_attr_has_entity_name: bool
|
|
11
|
+
_attr_device_info: Incomplete
|
|
12
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator) -> None: ...
|
|
13
|
+
|
|
14
|
+
class FireflyAccountBaseEntity(FireflyBaseEntity):
|
|
15
|
+
_account: Incomplete
|
|
16
|
+
_attr_device_info: Incomplete
|
|
17
|
+
_attr_unique_id: Incomplete
|
|
18
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, account: Account, key: str) -> None: ...
|
|
19
|
+
|
|
20
|
+
class FireflyCategoryBaseEntity(FireflyBaseEntity):
|
|
21
|
+
_category: Incomplete
|
|
22
|
+
_attr_device_info: Incomplete
|
|
23
|
+
_attr_unique_id: Incomplete
|
|
24
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, category: Category, key: str) -> None: ...
|
|
25
|
+
|
|
26
|
+
class FireflyBudgetBaseEntity(FireflyBaseEntity):
|
|
27
|
+
_budget: Incomplete
|
|
28
|
+
_attr_device_info: Incomplete
|
|
29
|
+
_attr_unique_id: Incomplete
|
|
30
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, budget: Budget, key: str) -> None: ...
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
from .coordinator import FireflyConfigEntry as FireflyConfigEntry, FireflyDataUpdateCoordinator as FireflyDataUpdateCoordinator
|
|
2
|
+
from .entity import FireflyAccountBaseEntity as FireflyAccountBaseEntity, FireflyBudgetBaseEntity as FireflyBudgetBaseEntity, FireflyCategoryBaseEntity as FireflyCategoryBaseEntity
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorStateClass as SensorStateClass, StateType as StateType
|
|
5
|
+
from homeassistant.const import EntityCategory as EntityCategory
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
8
|
+
from pyfirefly.models import Account as Account, Budget as Budget, Category as Category
|
|
9
|
+
|
|
10
|
+
ACCOUNT_ROLE_MAPPING: Incomplete
|
|
11
|
+
ACCOUNT_TYPE_ICONS: Incomplete
|
|
12
|
+
ACCOUNT_BALANCE: str
|
|
13
|
+
ACCOUNT_ROLE: str
|
|
14
|
+
ACCOUNT_TYPE: str
|
|
15
|
+
CATEGORY: str
|
|
16
|
+
BUDGET: str
|
|
17
|
+
|
|
18
|
+
async def async_setup_entry(hass: HomeAssistant, entry: FireflyConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
19
|
+
|
|
20
|
+
class FireflyAccountBalanceSensor(FireflyAccountBaseEntity, SensorEntity):
|
|
21
|
+
_attr_translation_key: str
|
|
22
|
+
_attr_device_class: Incomplete
|
|
23
|
+
_attr_state_class: Incomplete
|
|
24
|
+
_account: Incomplete
|
|
25
|
+
_attr_native_unit_of_measurement: Incomplete
|
|
26
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, account: Account, key: str) -> None: ...
|
|
27
|
+
@property
|
|
28
|
+
def native_value(self) -> StateType: ...
|
|
29
|
+
|
|
30
|
+
class FireflyAccountRoleSensor(FireflyAccountBaseEntity, SensorEntity):
|
|
31
|
+
_attr_translation_key: str
|
|
32
|
+
_attr_entity_category: Incomplete
|
|
33
|
+
_attr_entity_registry_enabled_default: bool
|
|
34
|
+
_account: Incomplete
|
|
35
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, account: Account, key: str) -> None: ...
|
|
36
|
+
@property
|
|
37
|
+
def native_value(self) -> StateType: ...
|
|
38
|
+
|
|
39
|
+
class FireflyAccountTypeSensor(FireflyAccountBaseEntity, SensorEntity):
|
|
40
|
+
_attr_translation_key: str
|
|
41
|
+
_attr_entity_category: Incomplete
|
|
42
|
+
_attr_entity_registry_enabled_default: bool
|
|
43
|
+
_attr_icon: Incomplete
|
|
44
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, account: Account, key: str) -> None: ...
|
|
45
|
+
@property
|
|
46
|
+
def native_value(self) -> StateType: ...
|
|
47
|
+
|
|
48
|
+
class FireflyCategorySensor(FireflyCategoryBaseEntity, SensorEntity):
|
|
49
|
+
_attr_translation_key: str
|
|
50
|
+
_attr_device_class: Incomplete
|
|
51
|
+
_attr_state_class: Incomplete
|
|
52
|
+
_category: Incomplete
|
|
53
|
+
_attr_native_unit_of_measurement: Incomplete
|
|
54
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, category: Category, key: str) -> None: ...
|
|
55
|
+
@property
|
|
56
|
+
def native_value(self) -> StateType: ...
|
|
57
|
+
|
|
58
|
+
class FireflyBudgetSensor(FireflyBudgetBaseEntity, SensorEntity):
|
|
59
|
+
_attr_translation_key: str
|
|
60
|
+
_attr_device_class: Incomplete
|
|
61
|
+
_attr_state_class: Incomplete
|
|
62
|
+
_budget: Incomplete
|
|
63
|
+
_attr_native_unit_of_measurement: Incomplete
|
|
64
|
+
def __init__(self, coordinator: FireflyDataUpdateCoordinator, budget: Budget, key: str) -> None: ...
|
|
65
|
+
@property
|
|
66
|
+
def native_value(self) -> StateType: ...
|
|
@@ -6,6 +6,7 @@ from collections.abc import Callable as Callable, Mapping
|
|
|
6
6
|
from dataclasses import dataclass, field
|
|
7
7
|
from datetime import datetime
|
|
8
8
|
from fritzconnection import FritzConnection
|
|
9
|
+
from fritzconnection.lib.fritzcall import FritzCall
|
|
9
10
|
from fritzconnection.lib.fritzhosts import FritzHosts
|
|
10
11
|
from fritzconnection.lib.fritzstatus import FritzStatus
|
|
11
12
|
from fritzconnection.lib.fritzwlan import FritzGuestWLAN
|
|
@@ -46,6 +47,7 @@ class FritzBoxTools(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|
|
46
47
|
fritz_guest_wifi: FritzGuestWLAN
|
|
47
48
|
fritz_hosts: FritzHosts
|
|
48
49
|
fritz_status: FritzStatus
|
|
50
|
+
fritz_call: FritzCall
|
|
49
51
|
host: Incomplete
|
|
50
52
|
mesh_role: Incomplete
|
|
51
53
|
mesh_wifi_uplink: bool
|
|
@@ -102,6 +104,7 @@ class FritzBoxTools(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|
|
102
104
|
async def async_trigger_reboot(self) -> None: ...
|
|
103
105
|
async def async_trigger_reconnect(self) -> None: ...
|
|
104
106
|
async def async_trigger_set_guest_password(self, password: str | None, length: int) -> None: ...
|
|
107
|
+
async def async_trigger_dial(self, number: str, max_ring_seconds: int) -> None: ...
|
|
105
108
|
async def async_trigger_cleanup(self) -> None: ...
|
|
106
109
|
|
|
107
110
|
class AvmWrapper(FritzBoxTools):
|
|
@@ -3,7 +3,7 @@ from _typeshed import Incomplete
|
|
|
3
3
|
from collections.abc import Callable as Callable
|
|
4
4
|
from dataclasses import dataclass
|
|
5
5
|
from datetime import datetime
|
|
6
|
-
from typing import TypedDict
|
|
6
|
+
from typing import NotRequired, TypedDict
|
|
7
7
|
|
|
8
8
|
@dataclass
|
|
9
9
|
class Device:
|
|
@@ -22,7 +22,7 @@ class Interface(TypedDict):
|
|
|
22
22
|
ssid: str | None
|
|
23
23
|
type: str
|
|
24
24
|
|
|
25
|
-
HostAttributes = TypedDict('HostAttributes', {'Index': int, 'IPAddress': str, 'MACAddress': str, 'Active': bool, 'HostName': str, 'InterfaceType': str, 'X_AVM-DE_Port': int, 'X_AVM-DE_Speed': int, 'X_AVM-DE_UpdateAvailable': bool, 'X_AVM-DE_UpdateSuccessful': str, 'X_AVM-DE_InfoURL': str | None, 'X_AVM-DE_MACAddressList': str | None, 'X_AVM-DE_Model': str | None, 'X_AVM-DE_URL': str | None, 'X_AVM-DE_Guest': bool, 'X_AVM-DE_RequestClient': str, 'X_AVM-DE_VPN': bool, 'X_AVM-DE_WANAccess': str, 'X_AVM-DE_Disallow': bool, 'X_AVM-DE_IsMeshable': str, 'X_AVM-DE_Priority': str, 'X_AVM-DE_FriendlyName': str, 'X_AVM-DE_FriendlyNameIsWriteable': str})
|
|
25
|
+
HostAttributes = TypedDict('HostAttributes', {'Index': int, 'IPAddress': str, 'MACAddress': str, 'Active': bool, 'HostName': str, 'InterfaceType': str, 'X_AVM-DE_Port': int, 'X_AVM-DE_Speed': int, 'X_AVM-DE_UpdateAvailable': bool, 'X_AVM-DE_UpdateSuccessful': str, 'X_AVM-DE_InfoURL': str | None, 'X_AVM-DE_MACAddressList': str | None, 'X_AVM-DE_Model': str | None, 'X_AVM-DE_URL': str | None, 'X_AVM-DE_Guest': bool, 'X_AVM-DE_RequestClient': str, 'X_AVM-DE_VPN': bool, 'X_AVM-DE_WANAccess': NotRequired[str], 'X_AVM-DE_Disallow': bool, 'X_AVM-DE_IsMeshable': str, 'X_AVM-DE_Priority': str, 'X_AVM-DE_FriendlyName': str, 'X_AVM-DE_FriendlyNameIsWriteable': str})
|
|
26
26
|
|
|
27
27
|
class HostInfo(TypedDict):
|
|
28
28
|
mac: str
|
|
@@ -8,7 +8,10 @@ from homeassistant.helpers.service import async_extract_config_entry_ids as asyn
|
|
|
8
8
|
_LOGGER: Incomplete
|
|
9
9
|
SERVICE_SET_GUEST_WIFI_PW: str
|
|
10
10
|
SERVICE_SCHEMA_SET_GUEST_WIFI_PW: Incomplete
|
|
11
|
+
SERVICE_DIAL: str
|
|
12
|
+
SERVICE_SCHEMA_DIAL: Incomplete
|
|
11
13
|
|
|
12
14
|
async def _async_set_guest_wifi_password(service_call: ServiceCall) -> None: ...
|
|
15
|
+
async def _async_dial(service_call: ServiceCall) -> None: ...
|
|
13
16
|
@callback
|
|
14
17
|
def async_setup_services(hass: HomeAssistant) -> None: ...
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
from .const import
|
|
1
|
+
from .const import DOMAIN as DOMAIN, LOGGER as LOGGER
|
|
2
2
|
from .coordinator import FritzboxConfigEntry as FritzboxConfigEntry, FritzboxDataUpdateCoordinator as FritzboxDataUpdateCoordinator
|
|
3
3
|
from .entity import FritzBoxDeviceEntity as FritzBoxDeviceEntity
|
|
4
|
-
from .model import ClimateExtraAttributes as ClimateExtraAttributes
|
|
5
4
|
from .sensor import value_scheduled_preset as value_scheduled_preset
|
|
6
5
|
from _typeshed import Incomplete
|
|
7
6
|
from homeassistant.components.climate import ATTR_HVAC_MODE as ATTR_HVAC_MODE, ClimateEntity as ClimateEntity, ClimateEntityFeature as ClimateEntityFeature, HVACMode as HVACMode, PRESET_BOOST as PRESET_BOOST, PRESET_COMFORT as PRESET_COMFORT, PRESET_ECO as PRESET_ECO
|
|
8
|
-
from homeassistant.const import
|
|
7
|
+
from homeassistant.const import ATTR_TEMPERATURE as ATTR_TEMPERATURE, PRECISION_HALVES as PRECISION_HALVES, UnitOfTemperature as UnitOfTemperature
|
|
9
8
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
10
9
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
11
10
|
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
@@ -48,6 +47,4 @@ class FritzboxThermostat(FritzBoxDeviceEntity, ClimateEntity):
|
|
|
48
47
|
@property
|
|
49
48
|
def preset_mode(self) -> str | None: ...
|
|
50
49
|
async def async_set_preset_mode(self, preset_mode: str) -> None: ...
|
|
51
|
-
@property
|
|
52
|
-
def extra_state_attributes(self) -> ClimateExtraAttributes: ...
|
|
53
50
|
def check_active_or_lock_mode(self) -> None: ...
|
|
@@ -33,5 +33,4 @@ _LOGGER: Incomplete
|
|
|
33
33
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
34
34
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
35
35
|
async def async_migrate_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool: ...
|
|
36
|
-
async def config_entry_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
37
36
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
@@ -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: ...
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from .const import CONF_REPOSITORIES as CONF_REPOSITORIES, DOMAIN as DOMAIN, LOGGER as LOGGER
|
|
2
|
+
from .coordinator import GitHubDataUpdateCoordinator as GitHubDataUpdateCoordinator, GithubConfigEntry as GithubConfigEntry
|
|
3
|
+
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, Platform as Platform
|
|
4
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
5
|
+
from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE as SERVER_SOFTWARE, async_get_clientsession as async_get_clientsession
|
|
6
|
+
|
|
7
|
+
PLATFORMS: list[Platform]
|
|
8
|
+
|
|
9
|
+
async def async_setup_entry(hass: HomeAssistant, entry: GithubConfigEntry) -> bool: ...
|
|
10
|
+
@callback
|
|
11
|
+
def async_cleanup_device_registry(hass: HomeAssistant, entry: GithubConfigEntry) -> None: ...
|
|
12
|
+
async def async_unload_entry(hass: HomeAssistant, entry: GithubConfigEntry) -> bool: ...
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
from .const import CLIENT_ID as CLIENT_ID, CONF_REPOSITORIES as CONF_REPOSITORIES, DEFAULT_REPOSITORIES as DEFAULT_REPOSITORIES, DOMAIN as DOMAIN, LOGGER as LOGGER
|
|
3
|
+
from aiogithubapi import GitHubDeviceAPI, GitHubLoginDeviceModel as GitHubLoginDeviceModel, GitHubLoginOauthModel as GitHubLoginOauthModel
|
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlowWithReload as OptionsFlowWithReload
|
|
5
|
+
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
|
7
|
+
from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE as SERVER_SOFTWARE, async_get_clientsession as async_get_clientsession
|
|
8
|
+
from typing import Any
|
|
9
|
+
|
|
10
|
+
async def get_repositories(hass: HomeAssistant, access_token: str) -> list[str]: ...
|
|
11
|
+
|
|
12
|
+
class GitHubConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
13
|
+
VERSION: int
|
|
14
|
+
login_task: asyncio.Task | None
|
|
15
|
+
_device: GitHubDeviceAPI | None
|
|
16
|
+
_login: GitHubLoginOauthModel | None
|
|
17
|
+
_login_device: GitHubLoginDeviceModel | None
|
|
18
|
+
def __init__(self) -> None: ...
|
|
19
|
+
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
20
|
+
async def async_step_device(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
21
|
+
async def async_step_repositories(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
22
|
+
async def async_step_could_not_register(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
23
|
+
@staticmethod
|
|
24
|
+
@callback
|
|
25
|
+
def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlowHandler: ...
|
|
26
|
+
|
|
27
|
+
class OptionsFlowHandler(OptionsFlowWithReload):
|
|
28
|
+
async def async_step_init(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from .const import FALLBACK_UPDATE_INTERVAL as FALLBACK_UPDATE_INTERVAL, LOGGER as LOGGER, REFRESH_EVENT_TYPES as REFRESH_EVENT_TYPES
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from aiogithubapi import GitHubAPI as GitHubAPI, GitHubEventModel as GitHubEventModel, GitHubException, GitHubResponseModel as GitHubResponseModel
|
|
4
|
+
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
|
5
|
+
from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
7
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
|
8
|
+
from typing import Any
|
|
9
|
+
|
|
10
|
+
GRAPHQL_REPOSITORY_QUERY: str
|
|
11
|
+
type GithubConfigEntry = ConfigEntry[dict[str, GitHubDataUpdateCoordinator]]
|
|
12
|
+
|
|
13
|
+
class GitHubDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|
14
|
+
config_entry: GithubConfigEntry
|
|
15
|
+
repository: Incomplete
|
|
16
|
+
_client: Incomplete
|
|
17
|
+
_last_response: GitHubResponseModel[dict[str, Any]] | None
|
|
18
|
+
_subscription_id: str | None
|
|
19
|
+
data: Incomplete
|
|
20
|
+
def __init__(self, hass: HomeAssistant, config_entry: GithubConfigEntry, client: GitHubAPI, repository: str) -> None: ...
|
|
21
|
+
async def _async_update_data(self) -> GitHubResponseModel[dict[str, Any]]: ...
|
|
22
|
+
async def _handle_event(self, event: GitHubEventModel) -> None: ...
|
|
23
|
+
@staticmethod
|
|
24
|
+
async def _handle_error(error: GitHubException) -> None: ...
|
|
25
|
+
async def subscribe(self) -> None: ...
|
|
26
|
+
def unsubscribe(self, *args: Any) -> None: ...
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
from .coordinator import GithubConfigEntry as GithubConfigEntry
|
|
2
|
+
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN
|
|
3
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
4
|
+
from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE as SERVER_SOFTWARE, async_get_clientsession as async_get_clientsession
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
async def async_get_config_entry_diagnostics(hass: HomeAssistant, config_entry: GithubConfigEntry) -> dict[str, Any]: ...
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
|
2
|
+
from .coordinator import GitHubDataUpdateCoordinator as GitHubDataUpdateCoordinator, GithubConfigEntry as GithubConfigEntry
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from collections.abc import Callable as Callable, Mapping
|
|
5
|
+
from dataclasses import dataclass
|
|
6
|
+
from homeassistant.components.sensor import SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
|
7
|
+
from homeassistant.const import EntityCategory as EntityCategory
|
|
8
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
9
|
+
from homeassistant.helpers.device_registry import DeviceEntryType as DeviceEntryType, DeviceInfo as DeviceInfo
|
|
10
|
+
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback
|
|
11
|
+
from homeassistant.helpers.typing import StateType as StateType
|
|
12
|
+
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
|
13
|
+
from typing import Any
|
|
14
|
+
|
|
15
|
+
@dataclass(frozen=True, kw_only=True)
|
|
16
|
+
class GitHubSensorEntityDescription(SensorEntityDescription):
|
|
17
|
+
value_fn: Callable[[dict[str, Any]], StateType]
|
|
18
|
+
attr_fn: Callable[[dict[str, Any]], Mapping[str, Any] | None] = ...
|
|
19
|
+
avabl_fn: Callable[[dict[str, Any]], bool] = ...
|
|
20
|
+
|
|
21
|
+
SENSOR_DESCRIPTIONS: tuple[GitHubSensorEntityDescription, ...]
|
|
22
|
+
|
|
23
|
+
async def async_setup_entry(hass: HomeAssistant, entry: GithubConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...
|
|
24
|
+
|
|
25
|
+
class GitHubSensorEntity(CoordinatorEntity[GitHubDataUpdateCoordinator], SensorEntity):
|
|
26
|
+
_attr_attribution: str
|
|
27
|
+
_attr_has_entity_name: bool
|
|
28
|
+
entity_description: GitHubSensorEntityDescription
|
|
29
|
+
_attr_unique_id: Incomplete
|
|
30
|
+
_attr_device_info: Incomplete
|
|
31
|
+
def __init__(self, coordinator: GitHubDataUpdateCoordinator, entity_description: GitHubSensorEntityDescription) -> None: ...
|
|
32
|
+
@property
|
|
33
|
+
def available(self) -> bool: ...
|
|
34
|
+
@property
|
|
35
|
+
def native_value(self) -> StateType: ...
|
|
36
|
+
@property
|
|
37
|
+
def extra_state_attributes(self) -> Mapping[str, Any] | None: ...
|
|
@@ -4,8 +4,7 @@ from _typeshed import Incomplete
|
|
|
4
4
|
from aiohttp import ClientSession as ClientSession
|
|
5
5
|
from go2rtc_client import Go2RtcRestClient
|
|
6
6
|
from go2rtc_client.ws import Go2RtcWsClient, ReceiveMessages as ReceiveMessages
|
|
7
|
-
from homeassistant.components.camera import Camera as Camera, CameraWebRTCProvider as CameraWebRTCProvider, WebRTCError as WebRTCError, WebRTCMessage as WebRTCMessage, WebRTCSendMessage as WebRTCSendMessage, async_register_webrtc_provider as async_register_webrtc_provider
|
|
8
|
-
from homeassistant.components.camera.prefs import get_dynamic_camera_stream_settings as get_dynamic_camera_stream_settings
|
|
7
|
+
from homeassistant.components.camera import Camera as Camera, CameraWebRTCProvider as CameraWebRTCProvider, WebRTCError as WebRTCError, WebRTCMessage as WebRTCMessage, WebRTCSendMessage as WebRTCSendMessage, async_register_webrtc_provider as async_register_webrtc_provider, get_dynamic_camera_stream_settings as get_dynamic_camera_stream_settings
|
|
9
8
|
from homeassistant.components.stream import Orientation as Orientation
|
|
10
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, SOURCE_SYSTEM as SOURCE_SYSTEM
|
|
11
10
|
from homeassistant.const import CONF_URL as CONF_URL, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
|
|
@@ -3,7 +3,7 @@ from .const import CONF_LANGUAGE_CODE as CONF_LANGUAGE_CODE, DEFAULT_NAME as DEF
|
|
|
3
3
|
from .helpers import GoogleAssistantSDKConfigEntry as GoogleAssistantSDKConfigEntry, default_language_code as default_language_code
|
|
4
4
|
from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Mapping
|
|
6
|
-
from homeassistant.config_entries import ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, SOURCE_REAUTH as SOURCE_REAUTH
|
|
6
|
+
from homeassistant.config_entries import ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, SOURCE_REAUTH as SOURCE_REAUTH, SOURCE_RECONFIGURE as SOURCE_RECONFIGURE
|
|
7
7
|
from homeassistant.core import callback as callback
|
|
8
8
|
from homeassistant.helpers import config_entry_oauth2_flow as config_entry_oauth2_flow
|
|
9
9
|
from typing import Any
|
|
@@ -16,6 +16,7 @@ class OAuth2FlowHandler(config_entry_oauth2_flow.AbstractOAuth2FlowHandler, doma
|
|
|
16
16
|
def logger(self) -> logging.Logger: ...
|
|
17
17
|
@property
|
|
18
18
|
def extra_authorize_data(self) -> dict[str, Any]: ...
|
|
19
|
+
async def async_step_reconfigure(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
19
20
|
async def async_step_reauth(self, entry_data: Mapping[str, Any]) -> ConfigFlowResult: ...
|
|
20
21
|
async def async_step_reauth_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
|
21
22
|
async def async_oauth_create_entry(self, data: dict[str, Any]) -> ConfigFlowResult: ...
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
from . import GoogleSheetsConfigEntry as GoogleSheetsConfigEntry
|
|
2
2
|
from .const import DOMAIN as DOMAIN
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
|
+
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
|
4
5
|
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_TOKEN as CONF_TOKEN
|
|
5
|
-
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, callback as callback
|
|
6
|
-
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse, callback as callback
|
|
7
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
|
|
7
8
|
from homeassistant.helpers.selector import ConfigEntrySelector as ConfigEntrySelector
|
|
9
|
+
from homeassistant.util.json import JsonObjectType as JsonObjectType
|
|
8
10
|
|
|
9
11
|
DATA: str
|
|
10
12
|
DATA_CONFIG_ENTRY: str
|
|
13
|
+
ROWS: str
|
|
11
14
|
WORKSHEET: str
|
|
12
15
|
SERVICE_APPEND_SHEET: str
|
|
16
|
+
SERVICE_GET_SHEET: str
|
|
13
17
|
SHEET_SERVICE_SCHEMA: Incomplete
|
|
18
|
+
get_SHEET_SERVICE_SCHEMA: Incomplete
|
|
14
19
|
|
|
15
20
|
def _append_to_sheet(call: ServiceCall, entry: GoogleSheetsConfigEntry) -> None: ...
|
|
21
|
+
def _get_from_sheet(call: ServiceCall, entry: GoogleSheetsConfigEntry) -> JsonObjectType: ...
|
|
16
22
|
async def _async_append_to_sheet(call: ServiceCall) -> None: ...
|
|
23
|
+
async def _async_get_from_sheet(call: ServiceCall) -> ServiceResponse: ...
|
|
17
24
|
@callback
|
|
18
25
|
def async_setup_services(hass: HomeAssistant) -> None: ...
|
|
@@ -29,7 +29,6 @@ get_entity_ids: Incomplete
|
|
|
29
29
|
@bind_hass
|
|
30
30
|
def groups_with_entity(hass: HomeAssistant, entity_id: str) -> list[str]: ...
|
|
31
31
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
32
|
-
async def config_entry_update_listener(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
33
32
|
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: ...
|
|
34
33
|
async def async_remove_entry(hass: HomeAssistant, entry: ConfigEntry) -> None: ...
|
|
35
34
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
|
@@ -12,6 +12,7 @@ from .media_player import MediaPlayerGroup as MediaPlayerGroup, async_create_pre
|
|
|
12
12
|
from .notify import async_create_preview_notify as async_create_preview_notify
|
|
13
13
|
from .sensor import async_create_preview_sensor as async_create_preview_sensor
|
|
14
14
|
from .switch import async_create_preview_switch as async_create_preview_switch
|
|
15
|
+
from .valve import async_create_preview_valve as async_create_preview_valve
|
|
15
16
|
from _typeshed import Incomplete
|
|
16
17
|
from collections.abc import Callable, Coroutine, Mapping
|
|
17
18
|
from homeassistant.components import websocket_api as websocket_api
|
|
@@ -53,6 +54,7 @@ CREATE_PREVIEW_ENTITY: dict[str, Callable[[HomeAssistant, str, dict[str, Any]],
|
|
|
53
54
|
class GroupConfigFlowHandler(SchemaConfigFlowHandler, domain=DOMAIN):
|
|
54
55
|
config_flow = CONFIG_FLOW
|
|
55
56
|
options_flow = OPTIONS_FLOW
|
|
57
|
+
options_flow_reloads: bool
|
|
56
58
|
@callback
|
|
57
59
|
def async_config_entry_title(self, options: Mapping[str, Any]) -> str: ...
|
|
58
60
|
@callback
|
|
@@ -30,6 +30,9 @@ class GroupEntity(Entity, metaclass=abc.ABCMeta):
|
|
|
30
30
|
@abstractmethod
|
|
31
31
|
@callback
|
|
32
32
|
def async_update_group_state(self) -> None: ...
|
|
33
|
+
_attr_assumed_state: bool
|
|
34
|
+
@callback
|
|
35
|
+
def _update_assumed_state_from_members(self) -> None: ...
|
|
33
36
|
@callback
|
|
34
37
|
def async_update_supported_features(self, entity_id: str, new_state: State | None) -> None: ...
|
|
35
38
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from .entity import GroupEntity as GroupEntity
|
|
2
|
-
from .util import find_state_attributes as find_state_attributes, mean_tuple as mean_tuple, reduce_attribute as reduce_attribute
|
|
2
|
+
from .util import find_state_attributes as find_state_attributes, mean_circle as mean_circle, mean_tuple as mean_tuple, reduce_attribute as reduce_attribute
|
|
3
3
|
from _typeshed import Incomplete
|
|
4
4
|
from homeassistant.components import light as light
|
|
5
5
|
from homeassistant.components.light import ATTR_BRIGHTNESS as ATTR_BRIGHTNESS, ATTR_COLOR_MODE as ATTR_COLOR_MODE, ATTR_COLOR_TEMP_KELVIN as ATTR_COLOR_TEMP_KELVIN, ATTR_EFFECT as ATTR_EFFECT, ATTR_EFFECT_LIST as ATTR_EFFECT_LIST, ATTR_FLASH as ATTR_FLASH, ATTR_HS_COLOR as ATTR_HS_COLOR, ATTR_MAX_COLOR_TEMP_KELVIN as ATTR_MAX_COLOR_TEMP_KELVIN, ATTR_MIN_COLOR_TEMP_KELVIN as ATTR_MIN_COLOR_TEMP_KELVIN, ATTR_RGBWW_COLOR as ATTR_RGBWW_COLOR, ATTR_RGBW_COLOR as ATTR_RGBW_COLOR, ATTR_RGB_COLOR as ATTR_RGB_COLOR, ATTR_SUPPORTED_COLOR_MODES as ATTR_SUPPORTED_COLOR_MODES, ATTR_TRANSITION as ATTR_TRANSITION, ATTR_WHITE as ATTR_WHITE, ATTR_XY_COLOR as ATTR_XY_COLOR, ColorMode as ColorMode, LightEntity as LightEntity, LightEntityFeature as LightEntityFeature, filter_supported_color_modes as filter_supported_color_modes
|
|
@@ -6,6 +6,7 @@ def find_state_attributes(states: list[State], key: str) -> Iterator[Any]: ...
|
|
|
6
6
|
def find_state(states: list[State]) -> Iterator[Any]: ...
|
|
7
7
|
def mean_int(*args: Any) -> int: ...
|
|
8
8
|
def mean_tuple(*args: Any) -> tuple[float | Any, ...]: ...
|
|
9
|
+
def mean_circle(*args: Any) -> tuple[float | Any, ...]: ...
|
|
9
10
|
def attribute_equal(states: list[State], key: str) -> bool: ...
|
|
10
11
|
def most_frequent_attribute(states: list[State], key: str) -> Any | None: ...
|
|
11
12
|
def states_equal(states: list[State]) -> bool: ...
|