homeassistant-stubs 2025.1.4__py3-none-any.whl → 2025.2.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.
- homeassistant-stubs/auth/mfa_modules/__init__.pyi +2 -4
- homeassistant-stubs/auth/models.pyi +1 -1
- homeassistant-stubs/auth/permissions/__init__.pyi +1 -1
- homeassistant-stubs/auth/providers/__init__.pyi +2 -4
- homeassistant-stubs/backup_restore.pyi +2 -0
- homeassistant-stubs/components/airgradient/button.pyi +4 -1
- homeassistant-stubs/components/airgradient/config_flow.pyi +5 -3
- homeassistant-stubs/components/airgradient/entity.pyi +5 -0
- homeassistant-stubs/components/airgradient/number.pyi +4 -1
- homeassistant-stubs/components/airgradient/select.pyi +4 -1
- homeassistant-stubs/components/airgradient/sensor.pyi +2 -0
- homeassistant-stubs/components/airgradient/switch.pyi +5 -1
- homeassistant-stubs/components/airgradient/update.pyi +2 -1
- homeassistant-stubs/components/airnow/coordinator.pyi +1 -1
- homeassistant-stubs/components/airzone/__init__.pyi +2 -0
- homeassistant-stubs/components/airzone/config_flow.pyi +3 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +1 -1
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
- homeassistant-stubs/components/api/__init__.pyi +1 -1
- homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -1
- homeassistant-stubs/components/apsystems/coordinator.pyi +1 -0
- homeassistant-stubs/components/aranet/sensor.pyi +1 -1
- homeassistant-stubs/components/arcam_fmj/config_flow.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -1
- homeassistant-stubs/components/assist_pipeline/select.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/websocket_api.pyi +2 -2
- homeassistant-stubs/components/assist_satellite/__init__.pyi +1 -1
- homeassistant-stubs/components/assist_satellite/entity.pyi +2 -0
- homeassistant-stubs/components/assist_satellite/intent.pyi +13 -0
- homeassistant-stubs/components/assist_satellite/websocket_api.pyi +0 -2
- homeassistant-stubs/components/automation/__init__.pyi +1 -1
- homeassistant-stubs/components/awair/config_flow.pyi +3 -2
- homeassistant-stubs/components/axis/config_flow.pyi +6 -4
- homeassistant-stubs/components/backup/__init__.pyi +6 -2
- homeassistant-stubs/components/backup/agent.pyi +6 -4
- homeassistant-stubs/components/backup/backup.pyi +1 -0
- homeassistant-stubs/components/backup/config.pyi +44 -1
- homeassistant-stubs/components/backup/http.pyi +7 -0
- homeassistant-stubs/components/backup/manager.pyi +42 -20
- homeassistant-stubs/components/backup/models.pyi +10 -3
- homeassistant-stubs/components/backup/store.pyi +7 -2
- homeassistant-stubs/components/backup/util.pyi +83 -0
- homeassistant-stubs/components/backup/websocket.pyi +5 -2
- homeassistant-stubs/components/baf/config_flow.pyi +2 -2
- homeassistant-stubs/components/bang_olufsen/config_flow.pyi +1 -1
- homeassistant-stubs/components/bang_olufsen/const.pyi +6 -0
- homeassistant-stubs/components/bang_olufsen/event.pyi +23 -0
- homeassistant-stubs/components/bang_olufsen/websocket.pyi +3 -2
- homeassistant-stubs/components/binary_sensor/__init__.pyi +1 -1
- homeassistant-stubs/components/blueprint/importer.pyi +0 -1
- homeassistant-stubs/components/blueprint/models.pyi +0 -1
- homeassistant-stubs/components/blueprint/websocket_api.pyi +0 -1
- homeassistant-stubs/components/bluesound/__init__.pyi +2 -0
- homeassistant-stubs/components/bluesound/config_flow.pyi +2 -3
- homeassistant-stubs/components/bluesound/coordinator.pyi +30 -0
- homeassistant-stubs/components/bluesound/media_player.pyi +10 -25
- homeassistant-stubs/components/bluetooth/__init__.pyi +2 -2
- homeassistant-stubs/components/bluetooth/api.pyi +3 -1
- homeassistant-stubs/components/bluetooth/config_flow.pyi +10 -3
- homeassistant-stubs/components/bluetooth/const.pyi +4 -0
- homeassistant-stubs/components/bluetooth/manager.pyi +5 -1
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -4
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -0
- homeassistant-stubs/components/bluetooth/util.pyi +6 -1
- homeassistant-stubs/components/bluetooth/websocket_api.pyi +46 -0
- homeassistant-stubs/components/bond/config_flow.pyi +2 -2
- homeassistant-stubs/components/braviatv/config_flow.pyi +2 -2
- homeassistant-stubs/components/brother/config_flow.pyi +2 -2
- homeassistant-stubs/components/button/__init__.pyi +1 -1
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +2 -2
- homeassistant-stubs/components/camera/__init__.pyi +1 -1
- homeassistant-stubs/components/canary/__init__.pyi +7 -7
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +2 -4
- homeassistant-stubs/components/canary/camera.pyi +3 -4
- homeassistant-stubs/components/canary/const.pyi +0 -2
- homeassistant-stubs/components/canary/coordinator.pyi +3 -1
- homeassistant-stubs/components/canary/sensor.pyi +3 -4
- homeassistant-stubs/components/climate/__init__.pyi +2 -2
- homeassistant-stubs/components/climate/const.pyi +1 -0
- homeassistant-stubs/components/climate/intent.pyi +9 -1
- homeassistant-stubs/components/cloud/__init__.pyi +1 -1
- homeassistant-stubs/components/cloud/backup.pyi +3 -9
- homeassistant-stubs/components/cloud/const.pyi +0 -1
- homeassistant-stubs/components/config/core.pyi +1 -1
- homeassistant-stubs/components/cookidoo/__init__.pyi +6 -2
- homeassistant-stubs/components/cookidoo/button.pyi +27 -0
- homeassistant-stubs/components/cookidoo/config_flow.pyi +4 -1
- homeassistant-stubs/components/cookidoo/const.pyi +3 -0
- homeassistant-stubs/components/cookidoo/coordinator.pyi +3 -1
- homeassistant-stubs/components/cookidoo/diagnostics.pyi +10 -0
- homeassistant-stubs/components/cookidoo/helpers.pyi +9 -0
- homeassistant-stubs/components/cookidoo/sensor.pyi +34 -0
- homeassistant-stubs/components/cover/__init__.pyi +1 -1
- homeassistant-stubs/components/crownstone/__init__.pyi +6 -5
- homeassistant-stubs/components/crownstone/config_flow.pyi +6 -4
- homeassistant-stubs/components/crownstone/entry_manager.pyi +6 -6
- homeassistant-stubs/components/crownstone/helpers.pyi +2 -1
- homeassistant-stubs/components/crownstone/light.pyi +3 -4
- homeassistant-stubs/components/date/__init__.pyi +1 -1
- homeassistant-stubs/components/datetime/__init__.pyi +1 -1
- homeassistant-stubs/components/deconz/__init__.pyi +5 -4
- homeassistant-stubs/components/deconz/alarm_control_panel.pyi +2 -2
- homeassistant-stubs/components/deconz/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/deconz/button.pyi +2 -2
- homeassistant-stubs/components/deconz/climate.pyi +2 -2
- homeassistant-stubs/components/deconz/config_flow.pyi +3 -6
- homeassistant-stubs/components/deconz/cover.pyi +2 -2
- homeassistant-stubs/components/deconz/device_trigger.pyi +1 -2
- homeassistant-stubs/components/deconz/diagnostics.pyi +2 -3
- homeassistant-stubs/components/deconz/fan.pyi +2 -2
- homeassistant-stubs/components/deconz/hub/api.pyi +2 -2
- homeassistant-stubs/components/deconz/hub/config.pyi +3 -3
- homeassistant-stubs/components/deconz/hub/hub.pyi +4 -6
- homeassistant-stubs/components/deconz/light.pyi +2 -2
- homeassistant-stubs/components/deconz/lock.pyi +2 -3
- homeassistant-stubs/components/deconz/number.pyi +2 -2
- homeassistant-stubs/components/deconz/scene.pyi +2 -3
- homeassistant-stubs/components/deconz/select.pyi +2 -3
- homeassistant-stubs/components/deconz/sensor.pyi +2 -2
- homeassistant-stubs/components/deconz/services.pyi +2 -1
- homeassistant-stubs/components/deconz/siren.pyi +2 -3
- homeassistant-stubs/components/deconz/switch.pyi +2 -3
- homeassistant-stubs/components/deconz/util.pyi +7 -0
- homeassistant-stubs/components/device_tracker/config_entry.pyi +1 -1
- homeassistant-stubs/components/device_tracker/legacy.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/config_flow.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/config_flow.pyi +2 -1
- homeassistant-stubs/components/dhcp/__init__.pyi +6 -7
- homeassistant-stubs/components/discovergy/sensor.pyi +2 -0
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -6
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +2 -1
- homeassistant-stubs/components/dlna_dms/config_flow.pyi +5 -4
- homeassistant-stubs/components/dlna_dms/dms.pyi +3 -2
- homeassistant-stubs/components/doorbird/config_flow.pyi +2 -2
- homeassistant-stubs/components/doorbird/device.pyi +1 -1
- homeassistant-stubs/components/dormakaba_dkey/__init__.pyi +5 -9
- homeassistant-stubs/components/dormakaba_dkey/binary_sensor.pyi +3 -7
- homeassistant-stubs/components/dormakaba_dkey/coordinator.pyi +15 -0
- homeassistant-stubs/components/dormakaba_dkey/entity.pyi +4 -5
- homeassistant-stubs/components/dormakaba_dkey/lock.pyi +3 -7
- homeassistant-stubs/components/dormakaba_dkey/sensor.pyi +3 -7
- homeassistant-stubs/components/dunehd/__init__.pyi +4 -3
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/duotecno/__init__.pyi +4 -3
- homeassistant-stubs/components/duotecno/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/duotecno/climate.pyi +2 -4
- homeassistant-stubs/components/duotecno/cover.pyi +2 -4
- homeassistant-stubs/components/duotecno/light.pyi +2 -4
- homeassistant-stubs/components/duotecno/switch.pyi +2 -4
- homeassistant-stubs/components/eheimdigital/climate.pyi +38 -0
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/const.pyi +4 -0
- homeassistant-stubs/components/electrasmart/__init__.pyi +6 -4
- homeassistant-stubs/components/electrasmart/climate.pyi +2 -2
- homeassistant-stubs/components/electric_kiwi/__init__.pyi +3 -5
- homeassistant-stubs/components/electric_kiwi/const.pyi +0 -2
- homeassistant-stubs/components/electric_kiwi/coordinator.pyi +10 -2
- homeassistant-stubs/components/electric_kiwi/select.pyi +3 -4
- homeassistant-stubs/components/electric_kiwi/sensor.pyi +3 -4
- homeassistant-stubs/components/elevenlabs/const.pyi +1 -0
- homeassistant-stubs/components/elevenlabs/tts.pyi +1 -1
- homeassistant-stubs/components/elgato/config_flow.pyi +3 -2
- homeassistant-stubs/components/elkm1/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
- homeassistant-stubs/components/elkm1/sensor.pyi +5 -5
- homeassistant-stubs/components/energenie_power_sockets/__init__.pyi +5 -4
- homeassistant-stubs/components/energenie_power_sockets/switch.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +5 -5
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +7 -0
- homeassistant-stubs/components/enphase_envoy/select.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/sensor.pyi +1 -4
- homeassistant-stubs/components/esphome/__init__.pyi +1 -0
- homeassistant-stubs/components/esphome/bluetooth.pyi +1 -0
- homeassistant-stubs/components/esphome/config_flow.pyi +5 -3
- homeassistant-stubs/components/esphome/dashboard.pyi +2 -1
- homeassistant-stubs/components/esphome/manager.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +2 -2
- homeassistant-stubs/components/evil_genius_labs/__init__.pyi +3 -5
- homeassistant-stubs/components/evil_genius_labs/coordinator.pyi +4 -1
- homeassistant-stubs/components/evil_genius_labs/diagnostics.pyi +2 -4
- homeassistant-stubs/components/evil_genius_labs/light.pyi +2 -4
- homeassistant-stubs/components/fan/__init__.pyi +1 -1
- homeassistant-stubs/components/feedreader/__init__.pyi +3 -5
- homeassistant-stubs/components/feedreader/coordinator.pyi +5 -3
- homeassistant-stubs/components/filter/__init__.pyi +6 -4
- homeassistant-stubs/components/filter/config_flow.pyi +28 -0
- homeassistant-stubs/components/filter/const.pyi +29 -0
- homeassistant-stubs/components/filter/sensor.pyi +3 -24
- homeassistant-stubs/components/flux_led/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritz/__init__.pyi +9 -7
- homeassistant-stubs/components/fritz/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/fritz/button.pyi +3 -4
- homeassistant-stubs/components/fritz/config_flow.pyi +6 -5
- homeassistant-stubs/components/fritz/const.pyi +0 -3
- homeassistant-stubs/components/fritz/coordinator.pyi +12 -10
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -4
- homeassistant-stubs/components/fritz/diagnostics.pyi +2 -4
- homeassistant-stubs/components/fritz/image.pyi +2 -4
- homeassistant-stubs/components/fritz/sensor.pyi +3 -4
- homeassistant-stubs/components/fritz/services.pyi +5 -8
- homeassistant-stubs/components/fritz/switch.pyi +3 -4
- homeassistant-stubs/components/fritz/update.pyi +2 -4
- homeassistant-stubs/components/fritzbox/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritzbox/coordinator.pyi +1 -1
- homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
- homeassistant-stubs/components/frontend/__init__.pyi +1 -1
- homeassistant-stubs/components/fujitsu_fglair/climate.pyi +2 -8
- homeassistant-stubs/components/fujitsu_fglair/entity.pyi +15 -0
- homeassistant-stubs/components/fujitsu_fglair/sensor.pyi +21 -0
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -1
- homeassistant-stubs/components/fyta/binary_sensor.pyi +23 -0
- homeassistant-stubs/components/fyta/entity.pyi +2 -2
- homeassistant-stubs/components/fyta/image.pyi +18 -0
- homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -0
- homeassistant-stubs/components/geo_location/__init__.pyi +1 -1
- homeassistant-stubs/components/goalzero/config_flow.pyi +2 -2
- homeassistant-stubs/components/google_drive/__init__.pyi +17 -0
- homeassistant-stubs/components/google_drive/api.pyi +35 -0
- homeassistant-stubs/components/google_drive/application_credentials.pyi +5 -0
- homeassistant-stubs/components/google_drive/backup.pyi +28 -0
- homeassistant-stubs/components/google_drive/config_flow.pyi +24 -0
- homeassistant-stubs/components/google_drive/const.pyi +1 -0
- homeassistant-stubs/components/guardian/config_flow.pyi +4 -3
- homeassistant-stubs/components/habitica/__init__.pyi +16 -0
- homeassistant-stubs/components/habitica/binary_sensor.pyi +33 -0
- homeassistant-stubs/components/habitica/button.pyi +53 -0
- homeassistant-stubs/components/habitica/calendar.pyi +56 -0
- homeassistant-stubs/components/habitica/config_flow.pyi +27 -0
- homeassistant-stubs/components/habitica/const.pyi +44 -0
- homeassistant-stubs/components/habitica/coordinator.pyi +29 -0
- homeassistant-stubs/components/habitica/diagnostics.pyi +7 -0
- homeassistant-stubs/components/habitica/entity.pyi +14 -0
- homeassistant-stubs/components/habitica/image.pyi +26 -0
- homeassistant-stubs/components/habitica/sensor.pyi +81 -0
- homeassistant-stubs/components/habitica/services.pyi +24 -0
- homeassistant-stubs/components/habitica/switch.pyi +32 -0
- homeassistant-stubs/components/habitica/todo.pyi +43 -0
- homeassistant-stubs/components/habitica/types.pyi +10 -0
- homeassistant-stubs/components/habitica/util.pyi +15 -0
- homeassistant-stubs/components/heos/__init__.pyi +15 -0
- homeassistant-stubs/components/heos/config_flow.pyi +32 -0
- homeassistant-stubs/components/heos/const.pyi +5 -0
- homeassistant-stubs/components/heos/coordinator.pyi +44 -0
- homeassistant-stubs/components/heos/diagnostics.pyi +14 -0
- homeassistant-stubs/components/heos/media_player.pyi +95 -0
- homeassistant-stubs/components/heos/services.pyi +16 -0
- homeassistant-stubs/components/holiday/config_flow.pyi +3 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +1 -3
- homeassistant-stubs/components/homeassistant_hardware/util.pyi +13 -1
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +4 -2
- homeassistant-stubs/components/homeassistant_sky_connect/util.pyi +2 -2
- homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +1 -0
- homeassistant-stubs/components/homee/__init__.pyi +14 -0
- homeassistant-stubs/components/homee/config_flow.pyi +14 -0
- homeassistant-stubs/components/homee/const.pyi +9 -0
- homeassistant-stubs/components/homee/cover.pyi +43 -0
- homeassistant-stubs/components/homee/entity.pyi +43 -0
- homeassistant-stubs/components/homee/helpers.pyi +6 -0
- homeassistant-stubs/components/homee/sensor.pyi +49 -0
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +3 -2
- homeassistant-stubs/components/homewizard/__init__.pyi +5 -0
- homeassistant-stubs/components/homewizard/config_flow.pyi +19 -19
- homeassistant-stubs/components/homewizard/const.pyi +0 -11
- homeassistant-stubs/components/homewizard/coordinator.pyi +6 -12
- homeassistant-stubs/components/homewizard/number.pyi +0 -1
- homeassistant-stubs/components/homewizard/repairs.pyi +17 -0
- homeassistant-stubs/components/homewizard/sensor.pyi +8 -5
- homeassistant-stubs/components/homewizard/switch.pyi +4 -4
- homeassistant-stubs/components/http/ban.pyi +0 -1
- homeassistant-stubs/components/huawei_lte/config_flow.pyi +2 -2
- homeassistant-stubs/components/humidifier/__init__.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/__init__.pyi +0 -3
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +14 -0
- homeassistant-stubs/components/husqvarna_automower/number.pyi +1 -1
- homeassistant-stubs/components/hydrawise/__init__.pyi +3 -1
- homeassistant-stubs/components/hydrawise/config_flow.pyi +13 -5
- homeassistant-stubs/components/hydrawise/coordinator.pyi +4 -4
- homeassistant-stubs/components/hydrawise/switch.pyi +3 -3
- homeassistant-stubs/components/hyperion/config_flow.pyi +2 -2
- homeassistant-stubs/components/image/__init__.pyi +1 -1
- homeassistant-stubs/components/imgw_pib/__init__.pyi +1 -1
- homeassistant-stubs/components/imgw_pib/sensor.pyi +2 -1
- homeassistant-stubs/components/incomfort/__init__.pyi +18 -0
- homeassistant-stubs/components/incomfort/binary_sensor.pyi +33 -0
- homeassistant-stubs/components/incomfort/climate.pyi +42 -0
- homeassistant-stubs/components/incomfort/config_flow.pyi +37 -0
- homeassistant-stubs/components/incomfort/const.pyi +2 -0
- homeassistant-stubs/components/incomfort/coordinator.pyi +25 -0
- homeassistant-stubs/components/incomfort/diagnostics.pyi +12 -0
- homeassistant-stubs/components/incomfort/entity.pyi +14 -0
- homeassistant-stubs/components/incomfort/errors.pyi +18 -0
- homeassistant-stubs/components/incomfort/sensor.pyi +33 -0
- homeassistant-stubs/components/incomfort/water_heater.pyi +32 -0
- homeassistant-stubs/components/intent/__init__.pyi +1 -1
- homeassistant-stubs/components/intent/timers.pyi +1 -2
- homeassistant-stubs/components/ipp/config_flow.pyi +2 -2
- homeassistant-stubs/components/iron_os/button.pyi +31 -0
- homeassistant-stubs/components/iron_os/coordinator.pyi +4 -1
- homeassistant-stubs/components/iron_os/diagnostics.pyi +6 -0
- homeassistant-stubs/components/iron_os/number.pyi +1 -2
- homeassistant-stubs/components/iron_os/select.pyi +2 -4
- homeassistant-stubs/components/iron_os/switch.pyi +43 -0
- homeassistant-stubs/components/isy994/__init__.pyi +1 -2
- homeassistant-stubs/components/isy994/config_flow.pyi +4 -3
- homeassistant-stubs/components/kaleidescape/config_flow.pyi +2 -2
- homeassistant-stubs/components/knx/binary_sensor.pyi +18 -10
- homeassistant-stubs/components/knx/climate.pyi +10 -2
- homeassistant-stubs/components/knx/const.pyi +2 -0
- homeassistant-stubs/components/knx/entity.pyi +1 -1
- homeassistant-stubs/components/knx/light.pyi +1 -1
- homeassistant-stubs/components/knx/schema.pyi +5 -7
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/storage/const.pyi +1 -0
- homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +4 -2
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +2 -2
- homeassistant-stubs/components/lametric/config_flow.pyi +2 -2
- homeassistant-stubs/components/lawn_mower/__init__.pyi +1 -1
- homeassistant-stubs/components/lcn/__init__.pyi +2 -2
- homeassistant-stubs/components/lcn/climate.pyi +2 -1
- homeassistant-stubs/components/lcn/const.pyi +1 -0
- homeassistant-stubs/components/lcn/schemas.pyi +1 -1
- homeassistant-stubs/components/lektrico/config_flow.pyi +1 -1
- homeassistant-stubs/components/letpot/__init__.pyi +13 -0
- homeassistant-stubs/components/letpot/config_flow.pyi +19 -0
- homeassistant-stubs/components/letpot/const.pyi +6 -0
- homeassistant-stubs/components/letpot/coordinator.pyi +20 -0
- homeassistant-stubs/components/letpot/entity.pyi +10 -0
- homeassistant-stubs/components/letpot/time.pyi +33 -0
- homeassistant-stubs/components/lifx/config_flow.pyi +3 -3
- homeassistant-stubs/components/lifx/coordinator.pyi +1 -1
- homeassistant-stubs/components/lifx/manager.pyi +16 -1
- homeassistant-stubs/components/light/__init__.pyi +1 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +2 -2
- homeassistant-stubs/components/litterrobot/__init__.pyi +2 -6
- homeassistant-stubs/components/litterrobot/binary_sensor.pyi +6 -9
- homeassistant-stubs/components/litterrobot/button.pyi +6 -10
- homeassistant-stubs/components/litterrobot/{hub.pyi → coordinator.pyi} +11 -10
- homeassistant-stubs/components/litterrobot/entity.pyi +5 -7
- homeassistant-stubs/components/litterrobot/select.pyi +5 -14
- homeassistant-stubs/components/litterrobot/sensor.pyi +7 -7
- homeassistant-stubs/components/litterrobot/switch.pyi +7 -9
- homeassistant-stubs/components/litterrobot/time.pyi +3 -6
- homeassistant-stubs/components/litterrobot/update.pyi +1 -1
- homeassistant-stubs/components/litterrobot/vacuum.pyi +1 -5
- homeassistant-stubs/components/lock/__init__.pyi +1 -1
- homeassistant-stubs/components/logbook/models.pyi +1 -1
- homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
- homeassistant-stubs/components/lovelace/__init__.pyi +39 -0
- homeassistant-stubs/components/lovelace/cast.pyi +18 -0
- homeassistant-stubs/components/lovelace/const.pyi +33 -0
- homeassistant-stubs/components/lovelace/dashboard.pyi +83 -0
- homeassistant-stubs/components/lovelace/resources.pyi +42 -0
- homeassistant-stubs/components/lovelace/system_health.pyi +9 -0
- homeassistant-stubs/components/lovelace/websocket.pyi +26 -0
- homeassistant-stubs/components/mastodon/config_flow.pyi +2 -3
- homeassistant-stubs/components/mastodon/notify.pyi +1 -3
- homeassistant-stubs/components/matter/config_flow.pyi +1 -1
- homeassistant-stubs/components/matter/cover.pyi +0 -1
- homeassistant-stubs/components/matter/discovery.pyi +2 -2
- homeassistant-stubs/components/matter/entity.pyi +11 -4
- homeassistant-stubs/components/matter/light.pyi +0 -1
- homeassistant-stubs/components/matter/lock.pyi +0 -2
- homeassistant-stubs/components/matter/models.pyi +10 -1
- homeassistant-stubs/components/matter/number.pyi +1 -1
- homeassistant-stubs/components/matter/select.pyi +32 -2
- homeassistant-stubs/components/matter/sensor.pyi +24 -0
- homeassistant-stubs/components/matter/switch.pyi +15 -2
- homeassistant-stubs/components/matter/vacuum.pyi +0 -1
- homeassistant-stubs/components/matter/valve.pyi +0 -2
- homeassistant-stubs/components/mcp/__init__.pyi +16 -0
- homeassistant-stubs/components/mcp/config_flow.pyi +23 -0
- homeassistant-stubs/components/mcp/const.pyi +1 -0
- homeassistant-stubs/components/mcp/coordinator.pyi +40 -0
- homeassistant-stubs/components/mcp/types.pyi +4 -0
- homeassistant-stubs/components/mcp_server/__init__.pyi +13 -0
- homeassistant-stubs/components/mcp_server/config_flow.pyi +14 -0
- homeassistant-stubs/components/mcp_server/const.pyi +2 -0
- homeassistant-stubs/components/mcp_server/http.pyi +31 -0
- homeassistant-stubs/components/mcp_server/server.pyi +13 -0
- homeassistant-stubs/components/mcp_server/session.pyi +20 -0
- homeassistant-stubs/components/mcp_server/types.pyi +4 -0
- homeassistant-stubs/components/media_player/__init__.pyi +1 -1
- homeassistant-stubs/components/media_source/__init__.pyi +1 -1
- homeassistant-stubs/components/media_source/models.pyi +1 -2
- homeassistant-stubs/components/minecraft_server/__init__.pyi +1 -1
- homeassistant-stubs/components/modbus/__init__.pyi +2 -2
- homeassistant-stubs/components/modbus/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/modbus/climate.pyi +4 -3
- homeassistant-stubs/components/modbus/const.pyi +4 -0
- homeassistant-stubs/components/modbus/cover.pyi +1 -2
- homeassistant-stubs/components/modbus/entity.pyi +15 -8
- homeassistant-stubs/components/modbus/light.pyi +0 -1
- homeassistant-stubs/components/modbus/modbus.pyi +4 -0
- homeassistant-stubs/components/modbus/sensor.pyi +1 -2
- homeassistant-stubs/components/modbus/switch.pyi +0 -1
- homeassistant-stubs/components/modem_callerid/config_flow.pyi +2 -1
- homeassistant-stubs/components/motionmount/__init__.pyi +2 -2
- homeassistant-stubs/components/motionmount/config_flow.pyi +16 -6
- homeassistant-stubs/components/motionmount/entity.pyi +3 -2
- homeassistant-stubs/components/motionmount/select.pyi +2 -0
- homeassistant-stubs/components/mqtt/__init__.pyi +11 -34
- homeassistant-stubs/components/mqtt/alarm_control_panel.pyi +1 -1
- homeassistant-stubs/components/mqtt/config_flow.pyi +3 -5
- homeassistant-stubs/components/mqtt/const.pyi +7 -1
- homeassistant-stubs/components/mqtt/diagnostics.pyi +0 -1
- homeassistant-stubs/components/mqtt/light/schema_basic.pyi +2 -1
- homeassistant-stubs/components/mqtt/light/schema_json.pyi +2 -1
- homeassistant-stubs/components/mqtt/light/schema_template.pyi +2 -1
- homeassistant-stubs/components/music_assistant/config_flow.pyi +2 -2
- homeassistant-stubs/components/nam/config_flow.pyi +2 -2
- homeassistant-stubs/components/nanoleaf/config_flow.pyi +6 -5
- homeassistant-stubs/components/nest/__init__.pyi +3 -4
- homeassistant-stubs/components/nest/api.pyi +2 -2
- homeassistant-stubs/components/nest/climate.pyi +2 -0
- homeassistant-stubs/components/nest/config_flow.pyi +6 -2
- homeassistant-stubs/components/netatmo/button.pyi +25 -0
- homeassistant-stubs/components/netatmo/const.pyi +1 -0
- homeassistant-stubs/components/netatmo/data_handler.pyi +1 -1
- homeassistant-stubs/components/network/system_health.pyi +11 -0
- homeassistant-stubs/components/notify/__init__.pyi +1 -1
- homeassistant-stubs/components/number/__init__.pyi +2 -2
- homeassistant-stubs/components/nut/config_flow.pyi +2 -2
- homeassistant-stubs/components/onboarding/views.pyi +30 -2
- homeassistant-stubs/components/onedrive/__init__.pyi +25 -0
- homeassistant-stubs/components/onedrive/api.pyi +20 -0
- homeassistant-stubs/components/onedrive/application_credentials.pyi +5 -0
- homeassistant-stubs/components/onedrive/backup.pyi +40 -0
- homeassistant-stubs/components/onedrive/config_flow.pyi +19 -0
- homeassistant-stubs/components/onedrive/const.pyi +10 -0
- homeassistant-stubs/components/onewire/__init__.pyi +4 -4
- homeassistant-stubs/components/onewire/binary_sensor.pyi +8 -4
- homeassistant-stubs/components/onewire/config_flow.pyi +12 -7
- homeassistant-stubs/components/onewire/const.pyi +0 -2
- homeassistant-stubs/components/onewire/diagnostics.pyi +1 -1
- homeassistant-stubs/components/onewire/onewirehub.pyi +22 -14
- homeassistant-stubs/components/onewire/select.pyi +27 -0
- homeassistant-stubs/components/onewire/sensor.pyi +7 -4
- homeassistant-stubs/components/onewire/switch.pyi +8 -4
- homeassistant-stubs/components/onkyo/config_flow.pyi +9 -4
- homeassistant-stubs/components/open_meteo/__init__.pyi +4 -8
- homeassistant-stubs/components/open_meteo/coordinator.pyi +15 -0
- homeassistant-stubs/components/open_meteo/diagnostics.pyi +2 -5
- homeassistant-stubs/components/open_meteo/weather.pyi +3 -3
- homeassistant-stubs/components/openai_conversation/conversation.pyi +6 -6
- homeassistant-stubs/components/overkiz/__init__.pyi +1 -1
- homeassistant-stubs/components/overkiz/climate/__init__.pyi +1 -0
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +1 -1
- homeassistant-stubs/components/overkiz/climate/evo_home_controller.pyi +24 -0
- homeassistant-stubs/components/overkiz/config_flow.pyi +4 -3
- homeassistant-stubs/components/overkiz/const.pyi +1 -0
- homeassistant-stubs/components/overkiz/coordinator.pyi +5 -3
- homeassistant-stubs/components/overseerr/__init__.pyi +37 -0
- homeassistant-stubs/components/overseerr/config_flow.pyi +14 -0
- homeassistant-stubs/components/overseerr/const.pyi +12 -0
- homeassistant-stubs/components/overseerr/coordinator.pyi +18 -0
- homeassistant-stubs/components/overseerr/diagnostics.pyi +6 -0
- homeassistant-stubs/components/overseerr/entity.pyi +11 -0
- homeassistant-stubs/components/overseerr/event.pyi +35 -0
- homeassistant-stubs/components/overseerr/sensor.pyi +27 -0
- homeassistant-stubs/components/overseerr/services.pyi +16 -0
- homeassistant-stubs/components/pandora/__init__.pyi +0 -0
- homeassistant-stubs/components/pandora/media_player.pyi +51 -0
- homeassistant-stubs/components/peblar/config_flow.pyi +3 -3
- homeassistant-stubs/components/person/__init__.pyi +103 -0
- homeassistant-stubs/components/person/const.pyi +1 -0
- homeassistant-stubs/components/person/significant_change.pyi +5 -0
- homeassistant-stubs/components/plugwise/config_flow.pyi +1 -1
- homeassistant-stubs/components/powerfox/sensor.pyi +3 -2
- homeassistant-stubs/components/powerwall/__init__.pyi +8 -3
- homeassistant-stubs/components/powerwall/config_flow.pyi +3 -3
- homeassistant-stubs/components/powerwall/const.pyi +2 -0
- homeassistant-stubs/components/proximity/__init__.pyi +2 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +1 -2
- homeassistant-stubs/components/pure_energie/config_flow.pyi +2 -2
- homeassistant-stubs/components/python_script/__init__.pyi +48 -0
- homeassistant-stubs/components/qbus/__init__.pyi +15 -0
- homeassistant-stubs/components/qbus/config_flow.pyi +26 -0
- homeassistant-stubs/components/qbus/const.pyi +7 -0
- homeassistant-stubs/components/qbus/coordinator.pyi +48 -0
- homeassistant-stubs/components/qbus/entity.pyi +29 -0
- homeassistant-stubs/components/qbus/switch.pyi +21 -0
- homeassistant-stubs/components/qnap_qsw/config_flow.pyi +2 -2
- homeassistant-stubs/components/qnap_qsw/sensor.pyi +1 -4
- homeassistant-stubs/components/rabbitair/config_flow.pyi +2 -1
- homeassistant-stubs/components/rainforest_raven/config_flow.pyi +3 -2
- homeassistant-stubs/components/rainmachine/config_flow.pyi +4 -4
- homeassistant-stubs/components/recorder/auto_repairs/statistics/duplicates.pyi +1 -1
- homeassistant-stubs/components/recorder/const.pyi +0 -2
- homeassistant-stubs/components/recorder/core.pyi +2 -2
- homeassistant-stubs/components/recorder/db_schema.pyi +5 -2
- homeassistant-stubs/components/recorder/migration.pyi +1 -1
- homeassistant-stubs/components/recorder/models/state.pyi +1 -1
- homeassistant-stubs/components/recorder/util.pyi +1 -7
- homeassistant-stubs/components/remote/__init__.pyi +1 -1
- homeassistant-stubs/components/reolink/__init__.pyi +1 -0
- homeassistant-stubs/components/reolink/config_flow.pyi +6 -2
- homeassistant-stubs/components/reolink/entity.pyi +1 -1
- homeassistant-stubs/components/reolink/host.pyi +3 -0
- homeassistant-stubs/components/reolink/switch.pyi +5 -1
- homeassistant-stubs/components/reolink/util.pyi +2 -5
- homeassistant-stubs/components/repairs/__init__.pyi +1 -1
- homeassistant-stubs/components/ring/__init__.pyi +4 -15
- homeassistant-stubs/components/ring/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/ring/button.pyi +1 -0
- homeassistant-stubs/components/ring/camera.pyi +1 -0
- homeassistant-stubs/components/ring/config_flow.pyi +2 -2
- homeassistant-stubs/components/ring/coordinator.pyi +14 -4
- homeassistant-stubs/components/ring/entity.pyi +1 -2
- homeassistant-stubs/components/ring/event.pyi +2 -0
- homeassistant-stubs/components/ring/light.pyi +1 -0
- homeassistant-stubs/components/ring/number.pyi +2 -0
- homeassistant-stubs/components/ring/sensor.pyi +2 -0
- homeassistant-stubs/components/ring/siren.pyi +1 -0
- homeassistant-stubs/components/ring/switch.pyi +1 -0
- homeassistant-stubs/components/roborock/__init__.pyi +2 -0
- homeassistant-stubs/components/roborock/const.pyi +4 -0
- homeassistant-stubs/components/roborock/coordinator.pyi +8 -4
- homeassistant-stubs/components/roborock/image.pyi +10 -11
- homeassistant-stubs/components/roborock/roborock_storage.pyi +21 -0
- homeassistant-stubs/components/roborock/sensor.pyi +1 -1
- homeassistant-stubs/components/roborock/vacuum.pyi +5 -1
- homeassistant-stubs/components/roku/config_flow.pyi +4 -3
- homeassistant-stubs/components/romy/config_flow.pyi +2 -2
- homeassistant-stubs/components/russound_rio/config_flow.pyi +6 -2
- homeassistant-stubs/components/russound_rio/const.pyi +0 -2
- homeassistant-stubs/components/russound_rio/media_player.pyi +13 -6
- homeassistant-stubs/components/ruuvi_gateway/config_flow.pyi +2 -2
- homeassistant-stubs/components/samsungtv/config_flow.pyi +6 -4
- homeassistant-stubs/components/scrape/sensor.pyi +2 -0
- homeassistant-stubs/components/script/__init__.pyi +1 -1
- homeassistant-stubs/components/select/__init__.pyi +2 -2
- homeassistant-stubs/components/sensibo/__init__.pyi +3 -3
- homeassistant-stubs/components/sensibo/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/sensibo/climate.pyi +13 -7
- homeassistant-stubs/components/sensibo/config_flow.pyi +1 -1
- homeassistant-stubs/components/sensibo/coordinator.pyi +2 -0
- homeassistant-stubs/components/sensibo/entity.pyi +5 -1
- homeassistant-stubs/components/sensibo/select.pyi +6 -1
- homeassistant-stubs/components/sensibo/sensor.pyi +2 -0
- homeassistant-stubs/components/sensor/__init__.pyi +2 -2
- homeassistant-stubs/components/shelly/__init__.pyi +2 -0
- homeassistant-stubs/components/shelly/binary_sensor.pyi +11 -6
- homeassistant-stubs/components/shelly/climate.pyi +25 -2
- homeassistant-stubs/components/shelly/config_flow.pyi +1 -1
- homeassistant-stubs/components/shelly/const.pyi +3 -0
- homeassistant-stubs/components/shelly/coordinator.pyi +3 -2
- homeassistant-stubs/components/shelly/entity.pyi +4 -1
- homeassistant-stubs/components/shelly/number.pyi +21 -13
- homeassistant-stubs/components/shelly/sensor.pyi +12 -7
- homeassistant-stubs/components/shelly/utils.pyi +1 -1
- homeassistant-stubs/components/siren/__init__.pyi +1 -1
- homeassistant-stubs/components/slack/config_flow.pyi +2 -1
- homeassistant-stubs/components/slack/entity.pyi +3 -5
- homeassistant-stubs/components/slack/notify.pyi +4 -2
- homeassistant-stubs/components/slack/sensor.pyi +2 -2
- homeassistant-stubs/components/slack/utils.pyi +6 -0
- homeassistant-stubs/components/smhi/config_flow.pyi +1 -1
- homeassistant-stubs/components/smhi/weather.pyi +3 -3
- homeassistant-stubs/components/smlight/config_flow.pyi +2 -2
- homeassistant-stubs/components/spotify/__init__.pyi +1 -1
- homeassistant-stubs/components/spotify/browse_media.pyi +1 -1
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -0
- homeassistant-stubs/components/squeezebox/config_flow.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +34 -44
- homeassistant-stubs/components/starlink/coordinator.pyi +1 -0
- homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
- homeassistant-stubs/components/stream/__init__.pyi +3 -15
- homeassistant-stubs/components/stream/const.pyi +9 -1
- homeassistant-stubs/components/stream/exceptions.pyi +13 -0
- homeassistant-stubs/components/stream/worker.pyi +4 -5
- homeassistant-stubs/components/stt/__init__.pyi +1 -1
- homeassistant-stubs/components/suez_water/__init__.pyi +4 -0
- homeassistant-stubs/components/switch/__init__.pyi +1 -1
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +5 -5
- homeassistant-stubs/components/switchbot_cloud/button.pyi +17 -0
- homeassistant-stubs/components/switchbot_cloud/entity.pyi +5 -0
- homeassistant-stubs/components/switchbot_cloud/lock.pyi +2 -3
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +5 -5
- homeassistant-stubs/components/switchbot_cloud/switch.pyi +3 -6
- homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +1 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +29 -0
- homeassistant-stubs/components/synology_dsm/__init__.pyi +5 -2
- homeassistant-stubs/components/synology_dsm/backup.pyi +34 -0
- homeassistant-stubs/components/synology_dsm/common.pyi +5 -2
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +11 -4
- homeassistant-stubs/components/synology_dsm/const.pyi +6 -0
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/__init__.pyi +3 -3
- homeassistant-stubs/components/systemmonitor/config_flow.pyi +0 -4
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -1
- homeassistant-stubs/components/tailwind/config_flow.pyi +3 -3
- homeassistant-stubs/components/technove/binary_sensor.pyi +0 -4
- homeassistant-stubs/components/technove/config_flow.pyi +3 -2
- homeassistant-stubs/components/tedee/coordinator.pyi +1 -1
- homeassistant-stubs/components/text/__init__.pyi +1 -1
- homeassistant-stubs/components/tile/__init__.pyi +4 -15
- homeassistant-stubs/components/tile/binary_sensor.pyi +24 -0
- homeassistant-stubs/components/tile/config_flow.pyi +0 -1
- homeassistant-stubs/components/tile/coordinator.pyi +18 -0
- homeassistant-stubs/components/tile/device_tracker.pyi +6 -20
- homeassistant-stubs/components/tile/diagnostics.pyi +2 -4
- homeassistant-stubs/components/tile/entity.pyi +13 -0
- homeassistant-stubs/components/time/__init__.pyi +1 -1
- homeassistant-stubs/components/todo/__init__.pyi +1 -1
- homeassistant-stubs/components/tolo/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink/__init__.pyi +3 -6
- homeassistant-stubs/components/tplink/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/tplink/button.pyi +2 -1
- homeassistant-stubs/components/tplink/camera.pyi +9 -9
- homeassistant-stubs/components/tplink/climate.pyi +18 -12
- homeassistant-stubs/components/tplink/config_flow.pyi +3 -2
- homeassistant-stubs/components/tplink/const.pyi +1 -1
- homeassistant-stubs/components/tplink/coordinator.pyi +20 -4
- homeassistant-stubs/components/tplink/deprecate.pyi +5 -3
- homeassistant-stubs/components/tplink/entity.pyi +30 -11
- homeassistant-stubs/components/tplink/fan.pyi +15 -7
- homeassistant-stubs/components/tplink/light.pyi +22 -11
- homeassistant-stubs/components/tplink/number.pyi +1 -0
- homeassistant-stubs/components/tplink/select.pyi +1 -0
- homeassistant-stubs/components/tplink/sensor.pyi +7 -2
- homeassistant-stubs/components/tplink/siren.pyi +22 -7
- homeassistant-stubs/components/tplink/switch.pyi +1 -0
- homeassistant-stubs/components/tplink/vacuum.pyi +43 -0
- homeassistant-stubs/components/tradfri/config_flow.pyi +2 -2
- homeassistant-stubs/components/trafikverket_camera/__init__.pyi +2 -2
- homeassistant-stubs/components/trafikverket_camera/camera.pyi +2 -0
- homeassistant-stubs/components/trafikverket_ferry/__init__.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/sensor.pyi +1 -0
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +6 -3
- homeassistant-stubs/components/trafikverket_train/config_flow.pyi +10 -4
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +2 -2
- homeassistant-stubs/components/trafikverket_train/sensor.pyi +1 -0
- homeassistant-stubs/components/trafikverket_weatherstation/__init__.pyi +1 -1
- homeassistant-stubs/components/trafikverket_weatherstation/coordinator.pyi +1 -1
- homeassistant-stubs/components/trafikverket_weatherstation/diagnostics.pyi +5 -0
- homeassistant-stubs/components/trafikverket_weatherstation/sensor.pyi +1 -0
- homeassistant-stubs/components/tts/__init__.pyi +2 -2
- homeassistant-stubs/components/unifi/config_flow.pyi +2 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +1 -1
- homeassistant-stubs/components/unifi/switch.pyi +1 -0
- homeassistant-stubs/components/unifiprotect/__init__.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +4 -3
- homeassistant-stubs/components/unifiprotect/light.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/views.pyi +8 -0
- homeassistant-stubs/components/upcloud/__init__.pyi +6 -12
- homeassistant-stubs/components/upcloud/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/upcloud/config_flow.pyi +3 -2
- homeassistant-stubs/components/upcloud/const.pyi +0 -1
- homeassistant-stubs/components/upcloud/coordinator.pyi +3 -2
- homeassistant-stubs/components/upcloud/entity.pyi +3 -3
- homeassistant-stubs/components/upcloud/switch.pyi +3 -4
- homeassistant-stubs/components/update/__init__.pyi +2 -2
- homeassistant-stubs/components/usb/__init__.pyi +21 -18
- homeassistant-stubs/components/usb/models.pyi +1 -1
- homeassistant-stubs/components/vacuum/__init__.pyi +1 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +2 -2
- homeassistant-stubs/components/velbus/const.pyi +1 -0
- homeassistant-stubs/components/velbus/diagnostics.pyi +1 -3
- homeassistant-stubs/components/velbus/entity.pyi +4 -0
- homeassistant-stubs/components/velbus/services.pyi +5 -1
- homeassistant-stubs/components/wake_word/__init__.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +7 -3
- homeassistant-stubs/components/weather/__init__.pyi +2 -3
- homeassistant-stubs/components/webhook/__init__.pyi +0 -1
- homeassistant-stubs/components/webostv/__init__.pyi +8 -24
- homeassistant-stubs/components/webostv/config_flow.pyi +14 -13
- homeassistant-stubs/components/webostv/const.pyi +0 -1
- homeassistant-stubs/components/webostv/device_trigger.pyi +1 -2
- homeassistant-stubs/components/webostv/diagnostics.pyi +2 -3
- homeassistant-stubs/components/webostv/helpers.pyi +11 -4
- homeassistant-stubs/components/webostv/media_player.pyi +17 -13
- homeassistant-stubs/components/webostv/notify.pyi +6 -4
- homeassistant-stubs/components/webostv/trigger.pyi +2 -0
- homeassistant-stubs/components/wiz/config_flow.pyi +3 -2
- homeassistant-stubs/components/wled/config_flow.pyi +3 -2
- homeassistant-stubs/components/worldclock/sensor.pyi +2 -7
- homeassistant-stubs/components/zeroconf/__init__.pyi +12 -20
- homeassistant-stubs/components/zwave_js/api.pyi +1 -1
- homeassistant-stubs/components/zwave_js/config_flow.pyi +3 -2
- homeassistant-stubs/config_entries.pyi +7 -9
- homeassistant-stubs/const.pyi +2 -0
- homeassistant-stubs/core.pyi +2 -3
- homeassistant-stubs/core_config.pyi +3 -3
- homeassistant-stubs/data_entry_flow.pyi +1 -2
- homeassistant-stubs/helpers/aiohttp_client.pyi +12 -1
- homeassistant-stubs/helpers/area_registry.pyi +11 -4
- homeassistant-stubs/helpers/collection.pyi +5 -7
- homeassistant-stubs/helpers/config_entry_flow.pyi +3 -3
- homeassistant-stubs/helpers/data_entry_flow.pyi +1 -2
- homeassistant-stubs/helpers/deprecation.pyi +2 -2
- homeassistant-stubs/helpers/device_registry.pyi +1 -1
- homeassistant-stubs/helpers/entity.pyi +1 -1
- homeassistant-stubs/helpers/entity_component.pyi +2 -4
- homeassistant-stubs/helpers/entity_registry.pyi +2 -2
- homeassistant-stubs/helpers/frame.pyi +1 -1
- homeassistant-stubs/helpers/httpx_client.pyi +2 -1
- homeassistant-stubs/helpers/intent.pyi +4 -2
- homeassistant-stubs/helpers/llm.pyi +17 -7
- homeassistant-stubs/helpers/script.pyi +1 -1
- homeassistant-stubs/helpers/service_info/dhcp.pyi +8 -0
- homeassistant-stubs/helpers/service_info/ssdp.pyi +34 -0
- homeassistant-stubs/helpers/service_info/usb.pyi +11 -0
- homeassistant-stubs/helpers/service_info/zeroconf.pyi +20 -0
- homeassistant-stubs/helpers/singleton.pyi +6 -2
- homeassistant-stubs/helpers/storage.pyi +1 -1
- homeassistant-stubs/helpers/template.pyi +4 -4
- homeassistant-stubs/helpers/update_coordinator.pyi +3 -5
- homeassistant-stubs/loader.pyi +1 -1
- homeassistant-stubs/scripts/benchmark/__init__.pyi +8 -8
- homeassistant-stubs/util/event_type.pyi +1 -2
- homeassistant-stubs/util/ulid.pyi +1 -1
- homeassistant-stubs/util/yaml/__init__.pyi +1 -1
- homeassistant-stubs/util/yaml/loader.pyi +1 -1
- {homeassistant_stubs-2025.1.4.dist-info → homeassistant_stubs-2025.2.0b0.dist-info}/METADATA +4 -4
- {homeassistant_stubs-2025.1.4.dist-info → homeassistant_stubs-2025.2.0b0.dist-info}/RECORD +719 -584
- homeassistant-stubs/components/dormakaba_dkey/models.pyi +0 -8
- homeassistant-stubs/components/imgw_pib/binary_sensor.pyi +0 -27
- homeassistant-stubs/components/tplink/models.pyi +0 -10
- {homeassistant_stubs-2025.1.4.dist-info → homeassistant_stubs-2025.2.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.4.dist-info → homeassistant_stubs-2025.2.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,103 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from collections.abc import Callable as Callable
|
4
|
+
from homeassistant.auth import EVENT_USER_REMOVED as EVENT_USER_REMOVED
|
5
|
+
from homeassistant.components import persistent_notification as persistent_notification, websocket_api as websocket_api
|
6
|
+
from homeassistant.components.device_tracker import ATTR_SOURCE_TYPE as ATTR_SOURCE_TYPE, SourceType as SourceType
|
7
|
+
from homeassistant.const import ATTR_EDITABLE as ATTR_EDITABLE, ATTR_GPS_ACCURACY as ATTR_GPS_ACCURACY, ATTR_ID as ATTR_ID, ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE as ATTR_LONGITUDE, ATTR_NAME as ATTR_NAME, CONF_ID as CONF_ID, CONF_NAME as CONF_NAME, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, SERVICE_RELOAD as SERVICE_RELOAD, STATE_HOME as STATE_HOME, STATE_NOT_HOME as STATE_NOT_HOME, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
8
|
+
from homeassistant.core import Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, State as State, callback as callback, split_entity_id as split_entity_id
|
9
|
+
from homeassistant.helpers import collection as collection, entity_registry as er, service as service
|
10
|
+
from homeassistant.helpers.entity_component import EntityComponent as EntityComponent
|
11
|
+
from homeassistant.helpers.event import async_track_state_change_event as async_track_state_change_event
|
12
|
+
from homeassistant.helpers.restore_state import RestoreEntity as RestoreEntity
|
13
|
+
from homeassistant.helpers.storage import Store as Store
|
14
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType, VolDictType as VolDictType
|
15
|
+
from homeassistant.loader import bind_hass as bind_hass
|
16
|
+
from typing import Any, Self
|
17
|
+
|
18
|
+
_LOGGER: Incomplete
|
19
|
+
ATTR_SOURCE: str
|
20
|
+
ATTR_USER_ID: str
|
21
|
+
ATTR_DEVICE_TRACKERS: str
|
22
|
+
CONF_DEVICE_TRACKERS: str
|
23
|
+
CONF_USER_ID: str
|
24
|
+
CONF_PICTURE: str
|
25
|
+
STORAGE_KEY = DOMAIN
|
26
|
+
STORAGE_VERSION: int
|
27
|
+
IGNORE_STATES: Incomplete
|
28
|
+
PERSON_SCHEMA: Incomplete
|
29
|
+
CONFIG_SCHEMA: Incomplete
|
30
|
+
|
31
|
+
@bind_hass
|
32
|
+
async def async_create_person(hass: HomeAssistant, name: str, *, user_id: str | None = None, device_trackers: list[str] | None = None) -> None: ...
|
33
|
+
@bind_hass
|
34
|
+
async def async_add_user_device_tracker(hass: HomeAssistant, user_id: str, device_tracker_entity_id: str) -> None: ...
|
35
|
+
@callback
|
36
|
+
def persons_with_entity(hass: HomeAssistant, entity_id: str) -> list[str]: ...
|
37
|
+
@callback
|
38
|
+
def entities_in_person(hass: HomeAssistant, entity_id: str) -> list[str]: ...
|
39
|
+
|
40
|
+
CREATE_FIELDS: VolDictType
|
41
|
+
UPDATE_FIELDS: VolDictType
|
42
|
+
|
43
|
+
class PersonStore(Store):
|
44
|
+
async def _async_migrate_func(self, old_major_version: int, old_minor_version: int, old_data: dict[str, Any]) -> dict[str, Any]: ...
|
45
|
+
|
46
|
+
class PersonStorageCollection(collection.DictStorageCollection):
|
47
|
+
CREATE_SCHEMA: Incomplete
|
48
|
+
UPDATE_SCHEMA: Incomplete
|
49
|
+
yaml_collection: Incomplete
|
50
|
+
def __init__(self, store: Store, id_manager: collection.IDManager, yaml_collection: collection.YamlCollection) -> None: ...
|
51
|
+
async def _async_load_data(self) -> collection.SerializedStorageCollection | None: ...
|
52
|
+
async def async_load(self) -> None: ...
|
53
|
+
@callback
|
54
|
+
def _entity_registry_filter(self, event_data: er.EventEntityRegistryUpdatedData) -> bool: ...
|
55
|
+
async def _entity_registry_updated(self, event: Event[er.EventEntityRegistryUpdatedData]) -> None: ...
|
56
|
+
async def _process_create_data(self, data: dict) -> dict: ...
|
57
|
+
@callback
|
58
|
+
def _get_suggested_id(self, info: dict[str, str]) -> str: ...
|
59
|
+
async def _update_data(self, item: dict, update_data: dict) -> dict: ...
|
60
|
+
async def _validate_user_id(self, user_id: str) -> None: ...
|
61
|
+
|
62
|
+
class PersonStorageCollectionWebsocket(collection.DictStorageCollectionWebsocket):
|
63
|
+
def ws_list_item(self, hass: HomeAssistant, connection: websocket_api.ActiveConnection, msg: dict[str, Any]) -> None: ...
|
64
|
+
|
65
|
+
async def filter_yaml_data(hass: HomeAssistant, persons: list[dict]) -> list[dict]: ...
|
66
|
+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
67
|
+
|
68
|
+
class Person(collection.CollectionEntity, RestoreEntity):
|
69
|
+
_entity_component_unrecorded_attributes: Incomplete
|
70
|
+
_attr_should_poll: bool
|
71
|
+
editable: bool
|
72
|
+
_config: Incomplete
|
73
|
+
_latitude: float | None
|
74
|
+
_longitude: float | None
|
75
|
+
_gps_accuracy: float | None
|
76
|
+
_source: str | None
|
77
|
+
_unsub_track_device: Callable[[], None] | None
|
78
|
+
_attr_state: str | None
|
79
|
+
device_trackers: list[str]
|
80
|
+
_attr_unique_id: Incomplete
|
81
|
+
def __init__(self, config: dict[str, Any]) -> None: ...
|
82
|
+
_attr_name: Incomplete
|
83
|
+
_attr_entity_picture: Incomplete
|
84
|
+
def _set_attrs_from_config(self) -> None: ...
|
85
|
+
@classmethod
|
86
|
+
def from_storage(cls, config: ConfigType) -> Self: ...
|
87
|
+
@classmethod
|
88
|
+
def from_yaml(cls, config: ConfigType) -> Self: ...
|
89
|
+
async def async_added_to_hass(self) -> None: ...
|
90
|
+
async def async_update_config(self, config: ConfigType) -> None: ...
|
91
|
+
@callback
|
92
|
+
def _async_update_config(self, config: ConfigType) -> None: ...
|
93
|
+
@callback
|
94
|
+
def _async_handle_tracker_update(self, event: Event[EventStateChangedData]) -> None: ...
|
95
|
+
@callback
|
96
|
+
def _update_state(self) -> None: ...
|
97
|
+
@callback
|
98
|
+
def _parse_source_state(self, state: State) -> None: ...
|
99
|
+
_attr_extra_state_attributes: Incomplete
|
100
|
+
@callback
|
101
|
+
def _update_extra_state_attributes(self) -> None: ...
|
102
|
+
|
103
|
+
def _get_latest(prev: State | None, curr: State) -> State: ...
|
@@ -0,0 +1 @@
|
|
1
|
+
DOMAIN: str
|
@@ -0,0 +1,5 @@
|
|
1
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
2
|
+
from typing import Any
|
3
|
+
|
4
|
+
@callback
|
5
|
+
def async_check_significant_change(hass: HomeAssistant, old_state: str, old_attrs: dict, new_state: str, new_attrs: dict, **kwargs: Any) -> bool | None: ...
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .const import DEFAULT_PORT as DEFAULT_PORT, DEFAULT_USERNAME as DEFAULT_USERNAME, DOMAIN as DOMAIN, FLOW_SMILE as FLOW_SMILE, FLOW_STRETCH as FLOW_STRETCH, SMILE as SMILE, STRETCH as STRETCH, STRETCH_USERNAME as STRETCH_USERNAME, ZEROCONF_MAP as ZEROCONF_MAP
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from homeassistant.components.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
|
5
4
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, SOURCE_USER as SOURCE_USER
|
6
5
|
from homeassistant.const import ATTR_CONFIGURATION_URL as ATTR_CONFIGURATION_URL, CONF_BASE as CONF_BASE, CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_USERNAME as CONF_USERNAME
|
7
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
8
7
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
|
+
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
|
9
9
|
from plugwise import Smile
|
10
10
|
from typing import Any, Self
|
11
11
|
|
@@ -8,14 +8,15 @@ from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceCla
|
|
8
8
|
from homeassistant.const import UnitOfEnergy as UnitOfEnergy, UnitOfPower as UnitOfPower, UnitOfVolume as UnitOfVolume
|
9
9
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
10
10
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
11
|
-
from powerfox import Device as Device, PowerMeter, WaterMeter
|
11
|
+
from powerfox import Device as Device, HeatMeter, PowerMeter, WaterMeter
|
12
12
|
|
13
13
|
@dataclass(frozen=True, kw_only=True)
|
14
|
-
class PowerfoxSensorEntityDescription[T: (PowerMeter, WaterMeter)](SensorEntityDescription):
|
14
|
+
class PowerfoxSensorEntityDescription[T: (PowerMeter, WaterMeter, HeatMeter)](SensorEntityDescription):
|
15
15
|
value_fn: Callable[[T], float | int | None]
|
16
16
|
|
17
17
|
SENSORS_POWER: tuple[PowerfoxSensorEntityDescription[PowerMeter], ...]
|
18
18
|
SENSORS_WATER: tuple[PowerfoxSensorEntityDescription[WaterMeter], ...]
|
19
|
+
SENSORS_HEAT: tuple[PowerfoxSensorEntityDescription[HeatMeter], ...]
|
19
20
|
|
20
21
|
async def async_setup_entry(hass: HomeAssistant, entry: PowerfoxConfigEntry, async_add_entities: AddEntitiesCallback) -> None: ...
|
21
22
|
|
@@ -1,6 +1,7 @@
|
|
1
|
-
from .const import DOMAIN as DOMAIN, POWERWALL_API_CHANGED as POWERWALL_API_CHANGED, POWERWALL_COORDINATOR as POWERWALL_COORDINATOR, UPDATE_INTERVAL as UPDATE_INTERVAL
|
1
|
+
from .const import AUTH_COOKIE_KEY as AUTH_COOKIE_KEY, CONFIG_ENTRY_COOKIE as CONFIG_ENTRY_COOKIE, DOMAIN as DOMAIN, POWERWALL_API_CHANGED as POWERWALL_API_CHANGED, POWERWALL_COORDINATOR as POWERWALL_COORDINATOR, UPDATE_INTERVAL as UPDATE_INTERVAL
|
2
2
|
from .models import PowerwallBaseInfo as PowerwallBaseInfo, PowerwallConfigEntry as PowerwallConfigEntry, PowerwallData as PowerwallData, PowerwallRuntimeData as PowerwallRuntimeData
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from aiohttp import CookieJar
|
4
5
|
from homeassistant.components import persistent_notification as persistent_notification
|
5
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
6
7
|
from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_PASSWORD as CONF_PASSWORD, Platform as Platform
|
@@ -22,16 +23,20 @@ class PowerwallDataManager:
|
|
22
23
|
password: Incomplete
|
23
24
|
runtime_data: Incomplete
|
24
25
|
power_wall: Incomplete
|
25
|
-
|
26
|
+
cookie_jar: Incomplete
|
27
|
+
entry: Incomplete
|
28
|
+
def __init__(self, hass: HomeAssistant, power_wall: Powerwall, cookie_jar: CookieJar, entry: PowerwallConfigEntry, ip_address: str, password: str | None, runtime_data: PowerwallRuntimeData) -> None: ...
|
26
29
|
@property
|
27
30
|
def api_changed(self) -> int: ...
|
28
31
|
async def _recreate_powerwall_login(self) -> None: ...
|
29
32
|
async def async_update_data(self) -> PowerwallData: ...
|
30
33
|
async def _update_data(self) -> PowerwallData: ...
|
34
|
+
@callback
|
35
|
+
def save_auth_cookie(self) -> None: ...
|
31
36
|
|
32
37
|
async def async_setup_entry(hass: HomeAssistant, entry: PowerwallConfigEntry) -> bool: ...
|
33
38
|
async def async_migrate_entity_unique_ids(hass: HomeAssistant, entry: PowerwallConfigEntry, base_info: PowerwallBaseInfo) -> None: ...
|
34
|
-
async def _login_and_fetch_base_info(power_wall: Powerwall, host: str, password: str | None) -> PowerwallBaseInfo: ...
|
39
|
+
async def _login_and_fetch_base_info(power_wall: Powerwall, host: str, password: str | None, use_auth_cookie: bool) -> PowerwallBaseInfo: ...
|
35
40
|
async def _call_base_info(power_wall: Powerwall, host: str) -> PowerwallBaseInfo: ...
|
36
41
|
async def get_backup_reserve_percentage(power_wall: Powerwall) -> float | None: ...
|
37
42
|
async def _fetch_powerwall_data(power_wall: Powerwall) -> PowerwallData: ...
|
@@ -1,13 +1,13 @@
|
|
1
1
|
from . import async_last_update_was_successful as async_last_update_was_successful
|
2
|
-
from .const import DOMAIN as DOMAIN
|
2
|
+
from .const import CONFIG_ENTRY_COOKIE as CONFIG_ENTRY_COOKIE, DOMAIN as DOMAIN
|
3
3
|
from _typeshed import Incomplete
|
4
4
|
from collections.abc import Mapping
|
5
|
-
from homeassistant.components import dhcp as dhcp
|
6
5
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
7
6
|
from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_PASSWORD as CONF_PASSWORD
|
8
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
9
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
10
9
|
from homeassistant.helpers.aiohttp_client import async_create_clientsession as async_create_clientsession
|
10
|
+
from homeassistant.helpers.service_info.dhcp import DhcpServiceInfo as DhcpServiceInfo
|
11
11
|
from homeassistant.util.network import is_ip_address as is_ip_address
|
12
12
|
from tesla_powerwall import Powerwall, SiteInfoResponse as SiteInfoResponse
|
13
13
|
from typing import Any
|
@@ -25,7 +25,7 @@ class PowerwallConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
25
25
|
title: str | None
|
26
26
|
def __init__(self) -> None: ...
|
27
27
|
async def _async_powerwall_is_offline(self, entry: ConfigEntry) -> bool: ...
|
28
|
-
async def async_step_dhcp(self, discovery_info:
|
28
|
+
async def async_step_dhcp(self, discovery_info: DhcpServiceInfo) -> ConfigFlowResult: ...
|
29
29
|
async def _async_try_connect(self, user_input: dict[str, Any]) -> tuple[dict[str, Any] | None, dict[str, str] | None, dict[str, str]]: ...
|
30
30
|
async def async_step_confirm_discovery(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
31
31
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,7 +1,6 @@
|
|
1
1
|
from .const import CONF_TRACKED_ENTITIES as CONF_TRACKED_ENTITIES
|
2
2
|
from .coordinator import ProximityConfigEntry as ProximityConfigEntry, ProximityDataUpdateCoordinator as ProximityDataUpdateCoordinator
|
3
3
|
from _typeshed import Incomplete
|
4
|
-
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
5
4
|
from homeassistant.const import Platform as Platform
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
6
|
from homeassistant.helpers.event import async_track_entity_registry_updated_event as async_track_entity_registry_updated_event, async_track_state_change_event as async_track_state_change_event
|
@@ -9,5 +8,5 @@ from homeassistant.helpers.event import async_track_entity_registry_updated_even
|
|
9
8
|
_LOGGER: Incomplete
|
10
9
|
|
11
10
|
async def async_setup_entry(hass: HomeAssistant, entry: ProximityConfigEntry) -> bool: ...
|
12
|
-
async def async_unload_entry(hass: HomeAssistant, entry:
|
13
|
-
async def _async_update_listener(hass: HomeAssistant, entry:
|
11
|
+
async def async_unload_entry(hass: HomeAssistant, entry: ProximityConfigEntry) -> bool: ...
|
12
|
+
async def _async_update_listener(hass: HomeAssistant, entry: ProximityConfigEntry) -> None: ...
|
@@ -6,7 +6,6 @@ from homeassistant.const import ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE a
|
|
6
6
|
from homeassistant.core import Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, State as State, callback as callback
|
7
7
|
from homeassistant.helpers import entity_registry as er
|
8
8
|
from homeassistant.helpers.issue_registry import IssueSeverity as IssueSeverity, async_create_issue as async_create_issue
|
9
|
-
from homeassistant.helpers.typing import ConfigType as ConfigType
|
10
9
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
11
10
|
from homeassistant.util.location import distance as distance
|
12
11
|
|
@@ -37,7 +36,7 @@ class ProximityDataUpdateCoordinator(DataUpdateCoordinator[ProximityData]):
|
|
37
36
|
entity_mapping: dict[str, list[str]]
|
38
37
|
data: Incomplete
|
39
38
|
state_change_data: StateChangedData | None
|
40
|
-
def __init__(self, hass: HomeAssistant,
|
39
|
+
def __init__(self, hass: HomeAssistant, config_entry: ProximityConfigEntry) -> None: ...
|
41
40
|
@callback
|
42
41
|
def async_add_entity_mapping(self, tracked_entity_id: str, entity_id: str) -> None: ...
|
43
42
|
async def async_check_proximity_state_change(self, event: Event[EventStateChangedData]) -> None: ...
|
@@ -1,10 +1,10 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from gridnet import Device as Device
|
3
|
-
from homeassistant.components import zeroconf as zeroconf
|
4
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
4
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_NAME as CONF_NAME
|
6
5
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
7
6
|
from homeassistant.helpers.selector import TextSelector as TextSelector
|
7
|
+
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
|
8
8
|
from typing import Any
|
9
9
|
|
10
10
|
class PureEnergieFlowHandler(ConfigFlow, domain=DOMAIN):
|
@@ -12,6 +12,6 @@ class PureEnergieFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
12
12
|
discovered_host: str
|
13
13
|
discovered_device: Device
|
14
14
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
15
|
-
async def async_step_zeroconf(self, discovery_info:
|
15
|
+
async def async_step_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
16
16
|
async def async_step_zeroconf_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
17
17
|
async def _async_get_device(self, host: str) -> Device: ...
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import types
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from collections.abc import Callable as Callable, Mapping, Sequence
|
4
|
+
from homeassistant.const import CONF_DESCRIPTION as CONF_DESCRIPTION, CONF_NAME as CONF_NAME, SERVICE_RELOAD as SERVICE_RELOAD
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse
|
6
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
|
7
|
+
from homeassistant.helpers.service import async_set_service_schema as async_set_service_schema
|
8
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
9
|
+
from homeassistant.loader import bind_hass as bind_hass
|
10
|
+
from homeassistant.util import raise_if_invalid_filename as raise_if_invalid_filename
|
11
|
+
from homeassistant.util.yaml.loader import load_yaml_dict as load_yaml_dict
|
12
|
+
from typing import Any
|
13
|
+
|
14
|
+
_LOGGER: Incomplete
|
15
|
+
DOMAIN: str
|
16
|
+
FOLDER: str
|
17
|
+
CONFIG_SCHEMA: Incomplete
|
18
|
+
ALLOWED_HASS: Incomplete
|
19
|
+
ALLOWED_EVENTBUS: Incomplete
|
20
|
+
ALLOWED_STATEMACHINE: Incomplete
|
21
|
+
ALLOWED_SERVICEREGISTRY: Incomplete
|
22
|
+
ALLOWED_TIME: Incomplete
|
23
|
+
ALLOWED_DATETIME: Incomplete
|
24
|
+
ALLOWED_DT_UTIL: Incomplete
|
25
|
+
CONF_FIELDS: str
|
26
|
+
|
27
|
+
class ScriptError(HomeAssistantError): ...
|
28
|
+
|
29
|
+
def setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
30
|
+
def discover_scripts(hass: HomeAssistant) -> None: ...
|
31
|
+
|
32
|
+
IOPERATOR_TO_OPERATOR: Incomplete
|
33
|
+
|
34
|
+
def guarded_import(name: str, globals: Mapping[str, object] | None = None, locals: Mapping[str, object] | None = None, fromlist: Sequence[str] = (), level: int = 0) -> types.ModuleType: ...
|
35
|
+
def guarded_inplacevar(op: str, target: Any, operand: Any) -> Any: ...
|
36
|
+
@bind_hass
|
37
|
+
def execute_script(hass: HomeAssistant, name: str, data: dict[str, Any] | None = None, return_response: bool = False) -> dict | None: ...
|
38
|
+
@bind_hass
|
39
|
+
def execute(hass: HomeAssistant, filename: str, source: Any, data: dict[str, Any] | None = None, return_response: bool = False) -> dict | None: ...
|
40
|
+
|
41
|
+
class StubPrinter:
|
42
|
+
def __init__(self, _getattr_: Callable) -> None: ...
|
43
|
+
def _call_print(self, *objects: object, **kwargs: Any) -> None: ...
|
44
|
+
|
45
|
+
class TimeWrapper:
|
46
|
+
warned: bool
|
47
|
+
def sleep(self, *args: Any, **kwargs: Any) -> None: ...
|
48
|
+
def __getattr__(self, attr: str) -> Any: ...
|
@@ -0,0 +1,15 @@
|
|
1
|
+
from .const import DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
2
|
+
from .coordinator import QBUS_KEY as QBUS_KEY, QbusConfigCoordinator as QbusConfigCoordinator, QbusConfigEntry as QbusConfigEntry, QbusControllerCoordinator as QbusControllerCoordinator
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.components.mqtt import async_wait_for_mqtt_client as async_wait_for_mqtt_client
|
5
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
|
+
from homeassistant.exceptions import ConfigEntryNotReady as ConfigEntryNotReady
|
7
|
+
from homeassistant.helpers.typing import ConfigType as ConfigType
|
8
|
+
|
9
|
+
_LOGGER: Incomplete
|
10
|
+
CONFIG_SCHEMA: Incomplete
|
11
|
+
|
12
|
+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: ...
|
13
|
+
async def async_setup_entry(hass: HomeAssistant, entry: QbusConfigEntry) -> bool: ...
|
14
|
+
async def async_unload_entry(hass: HomeAssistant, entry: QbusConfigEntry) -> bool: ...
|
15
|
+
def cleanup(hass: HomeAssistant, entry: QbusConfigEntry) -> None: ...
|
@@ -0,0 +1,26 @@
|
|
1
|
+
from .const import CONF_SERIAL_NUMBER as CONF_SERIAL_NUMBER, DOMAIN as DOMAIN
|
2
|
+
from .coordinator import QbusConfigCoordinator as QbusConfigCoordinator
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
|
+
from homeassistant.const import CONF_ID as CONF_ID
|
6
|
+
from homeassistant.helpers.service_info.mqtt import MqttServiceInfo as MqttServiceInfo
|
7
|
+
from qbusmqttapi.discovery import QbusMqttDevice as QbusMqttDevice
|
8
|
+
from typing import Any
|
9
|
+
|
10
|
+
_LOGGER: Incomplete
|
11
|
+
|
12
|
+
class QbusFlowHandler(ConfigFlow, domain=DOMAIN):
|
13
|
+
VERSION: int
|
14
|
+
_message_factory: Incomplete
|
15
|
+
_topic_factory: Incomplete
|
16
|
+
_gateway_topic: Incomplete
|
17
|
+
_config_topic: Incomplete
|
18
|
+
_device_topic: Incomplete
|
19
|
+
_device: QbusMqttDevice | None
|
20
|
+
def __init__(self) -> None: ...
|
21
|
+
async def async_step_mqtt(self, discovery_info: MqttServiceInfo) -> ConfigFlowResult: ...
|
22
|
+
async def async_step_discovery_confirm(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
23
|
+
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
24
|
+
async def _async_handle_gateway_topic(self, discovery_info: MqttServiceInfo) -> ConfigFlowResult: ...
|
25
|
+
async def _async_handle_config_topic(self, discovery_info: MqttServiceInfo) -> ConfigFlowResult: ...
|
26
|
+
async def _async_handle_device_topic(self, discovery_info: MqttServiceInfo) -> ConfigFlowResult: ...
|
@@ -0,0 +1,48 @@
|
|
1
|
+
from .const import CONF_SERIAL_NUMBER as CONF_SERIAL_NUMBER, DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from homeassistant.components.mqtt import ReceiveMessage as ReceiveMessage, async_wait_for_mqtt_client as async_wait_for_mqtt_client
|
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 CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, HomeAssistant as HomeAssistant
|
7
|
+
from homeassistant.helpers.device_registry import format_mac as format_mac
|
8
|
+
from homeassistant.helpers.event import async_call_later as async_call_later
|
9
|
+
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
10
|
+
from homeassistant.util.hass_dict import HassKey as HassKey
|
11
|
+
from qbusmqttapi.discovery import QbusDiscovery as QbusDiscovery, QbusMqttDevice as QbusMqttDevice, QbusMqttOutput
|
12
|
+
|
13
|
+
_LOGGER: Incomplete
|
14
|
+
type QbusConfigEntry = ConfigEntry[QbusControllerCoordinator]
|
15
|
+
QBUS_KEY: HassKey[QbusConfigCoordinator]
|
16
|
+
|
17
|
+
class QbusControllerCoordinator(DataUpdateCoordinator[list[QbusMqttOutput]]):
|
18
|
+
_STATE_REQUEST_DELAY: int
|
19
|
+
config_entry: QbusConfigEntry
|
20
|
+
_message_factory: Incomplete
|
21
|
+
_topic_factory: Incomplete
|
22
|
+
_controller_activated: bool
|
23
|
+
_subscribed_to_controller_state: bool
|
24
|
+
_controller: QbusMqttDevice | None
|
25
|
+
def __init__(self, hass: HomeAssistant, entry: QbusConfigEntry) -> None: ...
|
26
|
+
async def _async_update_data(self) -> list[QbusMqttOutput]: ...
|
27
|
+
def shutdown(self, event: Event | None = None) -> None: ...
|
28
|
+
async def async_update_controller_config(self, config: QbusDiscovery) -> None: ...
|
29
|
+
def _update_device_info(self) -> None: ...
|
30
|
+
async def _async_subscribe_to_controller_state(self) -> None: ...
|
31
|
+
async def _controller_state_received(self, msg: ReceiveMessage) -> None: ...
|
32
|
+
def _request_entity_states(self) -> None: ...
|
33
|
+
def _request_controller_state(self) -> None: ...
|
34
|
+
|
35
|
+
class QbusConfigCoordinator:
|
36
|
+
_qbus_config: QbusDiscovery | None
|
37
|
+
_hass: Incomplete
|
38
|
+
_message_factory: Incomplete
|
39
|
+
_topic_factory: Incomplete
|
40
|
+
_cleanup_callbacks: list[CALLBACK_TYPE]
|
41
|
+
def __init__(self, hass: HomeAssistant) -> None: ...
|
42
|
+
@classmethod
|
43
|
+
def get_or_create(cls, hass: HomeAssistant) -> QbusConfigCoordinator: ...
|
44
|
+
def shutdown(self, event: Event | None = None) -> None: ...
|
45
|
+
async def async_subscribe_to_config(self) -> None: ...
|
46
|
+
async def async_get_or_request_config(self) -> QbusDiscovery | None: ...
|
47
|
+
def store_config(self, config: QbusDiscovery) -> None: ...
|
48
|
+
async def _config_received(self, msg: ReceiveMessage) -> None: ...
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import abc
|
2
|
+
from .const import DOMAIN as DOMAIN, MANUFACTURER as MANUFACTURER
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from abc import ABC, abstractmethod
|
5
|
+
from homeassistant.components.mqtt import ReceiveMessage as ReceiveMessage
|
6
|
+
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo, format_mac as format_mac
|
7
|
+
from homeassistant.helpers.entity import Entity as Entity
|
8
|
+
from qbusmqttapi.discovery import QbusMqttOutput as QbusMqttOutput
|
9
|
+
from qbusmqttapi.state import QbusMqttState as QbusMqttState
|
10
|
+
|
11
|
+
_REFID_REGEX: Incomplete
|
12
|
+
|
13
|
+
def format_ref_id(ref_id: str) -> str | None: ...
|
14
|
+
|
15
|
+
class QbusEntity(Entity, ABC, metaclass=abc.ABCMeta):
|
16
|
+
_attr_has_entity_name: bool
|
17
|
+
_attr_name: Incomplete
|
18
|
+
_attr_should_poll: bool
|
19
|
+
_topic_factory: Incomplete
|
20
|
+
_message_factory: Incomplete
|
21
|
+
_attr_unique_id: Incomplete
|
22
|
+
_attr_device_info: Incomplete
|
23
|
+
_mqtt_output: Incomplete
|
24
|
+
_state_topic: Incomplete
|
25
|
+
def __init__(self, mqtt_output: QbusMqttOutput) -> None: ...
|
26
|
+
async def async_added_to_hass(self) -> None: ...
|
27
|
+
@abstractmethod
|
28
|
+
async def _state_received(self, msg: ReceiveMessage) -> None: ...
|
29
|
+
async def _async_publish_output_state(self, state: QbusMqttState) -> None: ...
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from .coordinator import QbusConfigEntry as QbusConfigEntry
|
2
|
+
from .entity import QbusEntity as QbusEntity
|
3
|
+
from _typeshed import Incomplete
|
4
|
+
from homeassistant.components.mqtt import ReceiveMessage as ReceiveMessage
|
5
|
+
from homeassistant.components.switch import SwitchDeviceClass as SwitchDeviceClass, SwitchEntity as SwitchEntity
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
|
+
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
8
|
+
from qbusmqttapi.discovery import QbusMqttOutput as QbusMqttOutput
|
9
|
+
from typing import Any
|
10
|
+
|
11
|
+
PARALLEL_UPDATES: int
|
12
|
+
|
13
|
+
async def async_setup_entry(hass: HomeAssistant, entry: QbusConfigEntry, add_entities: AddEntitiesCallback) -> None: ...
|
14
|
+
|
15
|
+
class QbusSwitch(QbusEntity, SwitchEntity):
|
16
|
+
_attr_device_class: Incomplete
|
17
|
+
_attr_is_on: bool
|
18
|
+
def __init__(self, mqtt_output: QbusMqttOutput) -> None: ...
|
19
|
+
async def async_turn_on(self, **kwargs: Any) -> None: ...
|
20
|
+
async def async_turn_off(self, **kwargs: Any) -> None: ...
|
21
|
+
async def _state_received(self, msg: ReceiveMessage) -> None: ...
|
@@ -1,11 +1,11 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from _typeshed import Incomplete
|
3
|
-
from homeassistant.components import dhcp as dhcp
|
4
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
4
|
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_URL as CONF_URL, CONF_USERNAME as CONF_USERNAME
|
6
5
|
from homeassistant.data_entry_flow import AbortFlow as AbortFlow
|
7
6
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
8
7
|
from homeassistant.helpers.device_registry import format_mac as format_mac
|
8
|
+
from homeassistant.helpers.service_info.dhcp import DhcpServiceInfo as DhcpServiceInfo
|
9
9
|
from typing import Any
|
10
10
|
|
11
11
|
_LOGGER: Incomplete
|
@@ -14,5 +14,5 @@ class QNapQSWConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
14
14
|
_discovered_mac: str | None
|
15
15
|
_discovered_url: str | None
|
16
16
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
17
|
-
async def async_step_dhcp(self, discovery_info:
|
17
|
+
async def async_step_dhcp(self, discovery_info: DhcpServiceInfo) -> ConfigFlowResult: ...
|
18
18
|
async def async_step_discovered_connection(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -5,11 +5,9 @@ from _typeshed import Incomplete
|
|
5
5
|
from collections.abc import Callable as Callable
|
6
6
|
from dataclasses import dataclass
|
7
7
|
from datetime import datetime
|
8
|
-
from homeassistant.components.automation import automations_with_entity as automations_with_entity
|
9
|
-
from homeassistant.components.script import scripts_with_entity as scripts_with_entity
|
10
8
|
from homeassistant.components.sensor import SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity, SensorEntityDescription as SensorEntityDescription, SensorStateClass as SensorStateClass
|
11
9
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
12
|
-
from homeassistant.const import EntityCategory as EntityCategory, UnitOfDataRate as UnitOfDataRate, UnitOfInformation as UnitOfInformation, UnitOfTemperature as UnitOfTemperature
|
10
|
+
from homeassistant.const import EntityCategory as EntityCategory, UnitOfDataRate as UnitOfDataRate, UnitOfInformation as UnitOfInformation, UnitOfTemperature as UnitOfTemperature
|
13
11
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
14
12
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
15
13
|
from homeassistant.helpers.typing import StateType as StateType, UNDEFINED as UNDEFINED
|
@@ -22,7 +20,6 @@ class QswSensorEntityDescription(SensorEntityDescription, QswEntityDescription):
|
|
22
20
|
sep_key: str = ...
|
23
21
|
value_fn: Callable[[str], datetime | StateType] = ...
|
24
22
|
|
25
|
-
DEPRECATED_UPTIME_SECONDS: Incomplete
|
26
23
|
SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]]
|
27
24
|
LACP_PORT_SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]]
|
28
25
|
PORT_SENSOR_TYPES: Final[tuple[QswSensorEntityDescription, ...]]
|
@@ -5,6 +5,7 @@ from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowRes
|
|
5
5
|
from homeassistant.const import CONF_ACCESS_TOKEN as CONF_ACCESS_TOKEN, CONF_HOST as CONF_HOST, CONF_MAC as CONF_MAC
|
6
6
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
7
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
8
|
+
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
|
8
9
|
from typing import Any
|
9
10
|
|
10
11
|
_LOGGER: Incomplete
|
@@ -15,7 +16,7 @@ class RabbitAirConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
15
16
|
VERSION: int
|
16
17
|
_discovered_host: str | None
|
17
18
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
18
|
-
async def async_step_zeroconf(self, discovery_info:
|
19
|
+
async def async_step_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
19
20
|
|
20
21
|
class CannotConnect(HomeAssistantError): ...
|
21
22
|
class InvalidAccessToken(HomeAssistantError): ...
|
@@ -3,11 +3,12 @@ from homeassistant.components import usb as usb
|
|
3
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
4
4
|
from homeassistant.const import CONF_DEVICE as CONF_DEVICE, CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME
|
5
5
|
from homeassistant.helpers.selector import SelectSelector as SelectSelector, SelectSelectorConfig as SelectSelectorConfig, SelectSelectorMode as SelectSelectorMode
|
6
|
+
from homeassistant.helpers.service_info.usb import UsbServiceInfo as UsbServiceInfo
|
6
7
|
from serial.tools.list_ports_common import ListPortInfo as ListPortInfo
|
7
8
|
from typing import Any
|
8
9
|
|
9
10
|
def _format_id(value: str | int) -> str: ...
|
10
|
-
def _generate_unique_id(info: ListPortInfo |
|
11
|
+
def _generate_unique_id(info: ListPortInfo | UsbServiceInfo) -> str: ...
|
11
12
|
|
12
13
|
class RainforestRavenConfigFlow(ConfigFlow, domain=DOMAIN):
|
13
14
|
_dev_path: str | None
|
@@ -15,5 +16,5 @@ class RainforestRavenConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
15
16
|
def __init__(self) -> None: ...
|
16
17
|
async def _validate_device(self, dev_path: str) -> None: ...
|
17
18
|
async def async_step_meters(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
18
|
-
async def async_step_usb(self, discovery_info:
|
19
|
+
async def async_step_usb(self, discovery_info: UsbServiceInfo) -> ConfigFlowResult: ...
|
19
20
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .const import CONF_ALLOW_INACTIVE_ZONES_TO_RUN as CONF_ALLOW_INACTIVE_ZONES_TO_RUN, CONF_DEFAULT_ZONE_RUN_TIME as CONF_DEFAULT_ZONE_RUN_TIME, CONF_USE_APP_RUN_TIMES as CONF_USE_APP_RUN_TIMES, DEFAULT_PORT as DEFAULT_PORT, DEFAULT_ZONE_RUN as DEFAULT_ZONE_RUN, DOMAIN as DOMAIN
|
3
|
-
from homeassistant.components import zeroconf as zeroconf
|
4
3
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
5
4
|
from homeassistant.const import CONF_IP_ADDRESS as CONF_IP_ADDRESS, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_SSL as CONF_SSL
|
6
5
|
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
6
|
from homeassistant.helpers import aiohttp_client as aiohttp_client
|
7
|
+
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo as ZeroconfServiceInfo
|
8
8
|
from regenmaschine import Client
|
9
9
|
from regenmaschine.controller import Controller as Controller
|
10
10
|
from typing import Any
|
@@ -19,9 +19,9 @@ class RainMachineFlowHandler(ConfigFlow, domain=DOMAIN):
|
|
19
19
|
@staticmethod
|
20
20
|
@callback
|
21
21
|
def async_get_options_flow(config_entry: ConfigEntry) -> RainMachineOptionsFlowHandler: ...
|
22
|
-
async def async_step_homekit(self, discovery_info:
|
23
|
-
async def async_step_zeroconf(self, discovery_info:
|
24
|
-
async def async_step_homekit_zeroconf(self, discovery_info:
|
22
|
+
async def async_step_homekit(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
23
|
+
async def async_step_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
24
|
+
async def async_step_homekit_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> ConfigFlowResult: ...
|
25
25
|
@callback
|
26
26
|
def _async_generate_schema(self) -> vol.Schema: ...
|
27
27
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from ... import Recorder as Recorder
|
2
|
-
from ...const import
|
2
|
+
from ...const import DEFAULT_MAX_BIND_VARS as DEFAULT_MAX_BIND_VARS
|
3
3
|
from ...db_schema import Statistics as Statistics, StatisticsBase as StatisticsBase, StatisticsMeta as StatisticsMeta, StatisticsShortTerm as StatisticsShortTerm
|
4
4
|
from ...util import database_job_retry_wrapper as database_job_retry_wrapper, execute as execute
|
5
5
|
from _typeshed import Incomplete
|
@@ -13,8 +13,6 @@ DOMAIN: str
|
|
13
13
|
CONF_DB_INTEGRITY_CHECK: str
|
14
14
|
MAX_QUEUE_BACKLOG_MIN_VALUE: int
|
15
15
|
MIN_AVAILABLE_MEMORY_FOR_QUEUE_BACKLOG: Incomplete
|
16
|
-
SQLITE_MAX_BIND_VARS: int
|
17
|
-
SQLITE_MODERN_MAX_BIND_VARS: int
|
18
16
|
DEFAULT_MAX_BIND_VARS: int
|
19
17
|
DB_WORKER_PREFIX: str
|
20
18
|
ALL_DOMAIN_EXCLUDE_ATTRS: Incomplete
|
@@ -3,7 +3,7 @@ import psutil_home_assistant as ha_psutil
|
|
3
3
|
import queue
|
4
4
|
import threading
|
5
5
|
from . import migration as migration, statistics as statistics
|
6
|
-
from .const import DB_WORKER_PREFIX as DB_WORKER_PREFIX, DOMAIN as DOMAIN, KEEPALIVE_TIME as KEEPALIVE_TIME, LAST_REPORTED_SCHEMA_VERSION as LAST_REPORTED_SCHEMA_VERSION, MARIADB_PYMYSQL_URL_PREFIX as MARIADB_PYMYSQL_URL_PREFIX, MARIADB_URL_PREFIX as MARIADB_URL_PREFIX, MAX_QUEUE_BACKLOG_MIN_VALUE as MAX_QUEUE_BACKLOG_MIN_VALUE, MIN_AVAILABLE_MEMORY_FOR_QUEUE_BACKLOG as MIN_AVAILABLE_MEMORY_FOR_QUEUE_BACKLOG, MYSQLDB_PYMYSQL_URL_PREFIX as MYSQLDB_PYMYSQL_URL_PREFIX, MYSQLDB_URL_PREFIX as MYSQLDB_URL_PREFIX,
|
6
|
+
from .const import DB_WORKER_PREFIX as DB_WORKER_PREFIX, DEFAULT_MAX_BIND_VARS as DEFAULT_MAX_BIND_VARS, DOMAIN as DOMAIN, KEEPALIVE_TIME as KEEPALIVE_TIME, LAST_REPORTED_SCHEMA_VERSION as LAST_REPORTED_SCHEMA_VERSION, MARIADB_PYMYSQL_URL_PREFIX as MARIADB_PYMYSQL_URL_PREFIX, MARIADB_URL_PREFIX as MARIADB_URL_PREFIX, MAX_QUEUE_BACKLOG_MIN_VALUE as MAX_QUEUE_BACKLOG_MIN_VALUE, MIN_AVAILABLE_MEMORY_FOR_QUEUE_BACKLOG as MIN_AVAILABLE_MEMORY_FOR_QUEUE_BACKLOG, MYSQLDB_PYMYSQL_URL_PREFIX as MYSQLDB_PYMYSQL_URL_PREFIX, MYSQLDB_URL_PREFIX as MYSQLDB_URL_PREFIX, SQLITE_URL_PREFIX as SQLITE_URL_PREFIX, SupportedDialect as SupportedDialect
|
7
7
|
from .db_schema import Base as Base, EventData as EventData, EventTypes as EventTypes, Events as Events, SCHEMA_VERSION as SCHEMA_VERSION, StateAttributes as StateAttributes, States as States, StatesMeta as StatesMeta, Statistics as Statistics, StatisticsShortTerm as StatisticsShortTerm
|
8
8
|
from .executor import DBInterruptibleThreadPoolExecutor as DBInterruptibleThreadPoolExecutor
|
9
9
|
from .models import DatabaseEngine as DatabaseEngine, StatisticData as StatisticData, StatisticMetaData as StatisticMetaData, UnsupportedDialect as UnsupportedDialect
|
@@ -28,7 +28,7 @@ from homeassistant.helpers.start import async_at_started as async_at_started
|
|
28
28
|
from homeassistant.helpers.typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType
|
29
29
|
from homeassistant.util.enum import try_parse_enum as try_parse_enum
|
30
30
|
from homeassistant.util.event_type import EventType as EventType
|
31
|
-
from propcache import cached_property
|
31
|
+
from propcache.api import cached_property
|
32
32
|
from sqlalchemy.engine import Engine as Engine
|
33
33
|
from sqlalchemy.engine.interfaces import DBAPIConnection as DBAPIConnection
|
34
34
|
from sqlalchemy.orm.session import Session as Session
|