homeassistant-stubs 2025.1.0b8__py3-none-any.whl → 2025.1.1__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/__init__.pyi +2 -2
- homeassistant-stubs/auth/auth_store.pyi +4 -4
- homeassistant-stubs/auth/mfa_modules/notify.pyi +5 -5
- homeassistant-stubs/auth/mfa_modules/totp.pyi +1 -1
- homeassistant-stubs/auth/models.pyi +3 -0
- homeassistant-stubs/auth/providers/__init__.pyi +4 -4
- homeassistant-stubs/auth/providers/command_line.pyi +1 -1
- homeassistant-stubs/auth/providers/homeassistant.pyi +2 -2
- homeassistant-stubs/bootstrap.pyi +2 -1
- homeassistant-stubs/components/abode/camera.pyi +2 -1
- homeassistant-stubs/components/abode/config_flow.pyi +3 -3
- homeassistant-stubs/components/acaia/config_flow.pyi +2 -2
- homeassistant-stubs/components/acmeda/config_flow.pyi +1 -2
- homeassistant-stubs/components/acmeda/hub.pyi +4 -3
- homeassistant-stubs/components/actiontec/device_tracker.pyi +4 -4
- homeassistant-stubs/components/aftership/sensor.pyi +2 -2
- homeassistant-stubs/components/airgradient/config_flow.pyi +3 -2
- homeassistant-stubs/components/airgradient/update.pyi +2 -0
- homeassistant-stubs/components/airq/sensor.pyi +1 -1
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/airvisual/config_flow.pyi +2 -2
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +6 -1
- homeassistant-stubs/components/alert/entity.pyi +1 -1
- homeassistant-stubs/components/alexa/auth.pyi +3 -2
- homeassistant-stubs/components/alexa/config.pyi +3 -3
- homeassistant-stubs/components/alexa/intent.pyi +5 -5
- homeassistant-stubs/components/alexa/resources.pyi +5 -5
- homeassistant-stubs/components/alexa/state_report.pyi +6 -6
- homeassistant-stubs/components/amazon_polly/tts.pyi +2 -2
- homeassistant-stubs/components/amberelectric/config_flow.pyi +3 -4
- homeassistant-stubs/components/ambient_network/config_flow.pyi +1 -2
- homeassistant-stubs/components/ambient_station/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/__init__.pyi +1 -1
- homeassistant-stubs/components/amcrest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/amcrest/camera.pyi +9 -8
- homeassistant-stubs/components/analytics/analytics.pyi +1 -1
- homeassistant-stubs/components/androidtv/config_flow.pyi +4 -4
- homeassistant-stubs/components/androidtv/media_player.pyi +8 -7
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +2 -1
- homeassistant-stubs/components/anova/coordinator.pyi +1 -1
- homeassistant-stubs/components/apple_tv/config_flow.pyi +2 -2
- homeassistant-stubs/components/apple_tv/media_player.pyi +2 -2
- homeassistant-stubs/components/aranet/config_flow.pyi +3 -3
- homeassistant-stubs/components/arris_tg2492lg/device_tracker.pyi +1 -1
- homeassistant-stubs/components/aruba/device_tracker.pyi +4 -4
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +4 -2
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +4 -4
- homeassistant-stubs/components/assist_satellite/entity.pyi +0 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +6 -6
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
- homeassistant-stubs/components/asuswrt/router.pyi +8 -8
- homeassistant-stubs/components/auth/indieauth.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +15 -1
- homeassistant-stubs/components/automation/trace.pyi +1 -2
- homeassistant-stubs/components/axis/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/axis/config_flow.pyi +2 -2
- homeassistant-stubs/components/axis/hub/entity_loader.pyi +3 -3
- homeassistant-stubs/components/axis/hub/hub.pyi +2 -1
- homeassistant-stubs/components/backup/agent.pyi +2 -0
- homeassistant-stubs/components/backup/backup.pyi +1 -1
- homeassistant-stubs/components/backup/manager.pyi +11 -11
- homeassistant-stubs/components/backup/store.pyi +1 -1
- homeassistant-stubs/components/baf/config_flow.pyi +1 -1
- homeassistant-stubs/components/bang_olufsen/entity.pyi +10 -9
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +13 -13
- homeassistant-stubs/components/bayesian/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/binary_sensor/__init__.pyi +4 -2
- homeassistant-stubs/components/blue_current/__init__.pyi +3 -2
- homeassistant-stubs/components/blueprint/models.pyi +1 -1
- homeassistant-stubs/components/bluesound/config_flow.pyi +2 -2
- homeassistant-stubs/components/bluesound/media_player.pyi +10 -9
- homeassistant-stubs/components/bluetooth/active_update_coordinator.pyi +3 -3
- homeassistant-stubs/components/bluetooth/active_update_processor.pyi +2 -2
- homeassistant-stubs/components/bluetooth/config_flow.pyi +4 -4
- homeassistant-stubs/components/bluetooth/manager.pyi +1 -1
- homeassistant-stubs/components/bluetooth/match.pyi +13 -11
- homeassistant-stubs/components/bluetooth/passive_update_coordinator.pyi +1 -2
- homeassistant-stubs/components/bluetooth/passive_update_processor.pyi +4 -4
- homeassistant-stubs/components/bluetooth/storage.pyi +2 -3
- homeassistant-stubs/components/bluetooth/update_coordinator.pyi +1 -1
- homeassistant-stubs/components/bmw_connected_drive/config_flow.pyi +2 -2
- homeassistant-stubs/components/bmw_connected_drive/coordinator.pyi +1 -1
- homeassistant-stubs/components/bond/config_flow.pyi +1 -1
- homeassistant-stubs/components/bond/entity.pyi +1 -1
- homeassistant-stubs/components/bond/fan.pyi +3 -3
- homeassistant-stubs/components/bond/utils.pyi +5 -5
- homeassistant-stubs/components/braviatv/config_flow.pyi +3 -3
- homeassistant-stubs/components/braviatv/coordinator.pyi +14 -13
- homeassistant-stubs/components/brother/config_flow.pyi +3 -2
- homeassistant-stubs/components/bthome/config_flow.pyi +3 -4
- homeassistant-stubs/components/button/__init__.pyi +4 -2
- homeassistant-stubs/components/calendar/__init__.pyi +0 -1
- homeassistant-stubs/components/calendar/trigger.pyi +3 -3
- homeassistant-stubs/components/cambridge_audio/config_flow.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +24 -9
- homeassistant-stubs/components/camera/prefs.pyi +1 -1
- homeassistant-stubs/components/canary/alarm_control_panel.pyi +1 -1
- homeassistant-stubs/components/canary/camera.pyi +3 -3
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
- homeassistant-stubs/components/cert_expiry/coordinator.pyi +1 -1
- homeassistant-stubs/components/clickatell/notify.pyi +2 -2
- homeassistant-stubs/components/clicksend/notify.pyi +4 -4
- homeassistant-stubs/components/climate/__init__.pyi +26 -1
- homeassistant-stubs/components/cloud/alexa_config.pyi +3 -3
- homeassistant-stubs/components/cloud/backup.pyi +1 -0
- homeassistant-stubs/components/cloud/client.pyi +4 -4
- homeassistant-stubs/components/cloud/prefs.pyi +2 -2
- homeassistant-stubs/components/command_line/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/command_line/cover.pyi +3 -2
- homeassistant-stubs/components/command_line/sensor.pyi +4 -3
- homeassistant-stubs/components/command_line/switch.pyi +2 -1
- homeassistant-stubs/components/configurator/__init__.pyi +1 -1
- homeassistant-stubs/components/counter/__init__.pyi +2 -2
- homeassistant-stubs/components/cover/__init__.pyi +8 -2
- homeassistant-stubs/components/crownstone/config_flow.pyi +4 -4
- homeassistant-stubs/components/crownstone/entry_manager.pyi +3 -2
- homeassistant-stubs/components/date/__init__.pyi +4 -1
- homeassistant-stubs/components/datetime/__init__.pyi +4 -1
- homeassistant-stubs/components/deconz/button.pyi +1 -1
- homeassistant-stubs/components/deconz/deconz_event.pyi +1 -1
- homeassistant-stubs/components/deconz/entity.pyi +1 -1
- homeassistant-stubs/components/deconz/hub/hub.pyi +6 -6
- homeassistant-stubs/components/deconz/light.pyi +2 -2
- homeassistant-stubs/components/demo/cover.pyi +4 -4
- homeassistant-stubs/components/demo/fan.pyi +4 -4
- homeassistant-stubs/components/demo/geo_location.pyi +1 -1
- homeassistant-stubs/components/demo/media_player.pyi +2 -2
- homeassistant-stubs/components/demo/remote.pyi +1 -1
- homeassistant-stubs/components/demo/vacuum.pyi +1 -1
- homeassistant-stubs/components/derivative/sensor.pyi +3 -2
- homeassistant-stubs/components/device_tracker/config_entry.pyi +10 -2
- homeassistant-stubs/components/device_tracker/legacy.pyi +6 -4
- homeassistant-stubs/components/devolo_home_control/entity.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/binary_sensor.pyi +1 -2
- homeassistant-stubs/components/devolo_home_network/image.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/update.pyi +1 -1
- homeassistant-stubs/components/dhcp/__init__.pyi +5 -3
- homeassistant-stubs/components/dlna_dmr/config_flow.pyi +7 -7
- homeassistant-stubs/components/dlna_dmr/media_player.pyi +1 -1
- homeassistant-stubs/components/dlna_dms/config_flow.pyi +4 -4
- homeassistant-stubs/components/dlna_dms/dms.pyi +2 -0
- homeassistant-stubs/components/doorbird/camera.pyi +1 -1
- homeassistant-stubs/components/doorbird/config_flow.pyi +1 -1
- homeassistant-stubs/components/doorbird/device.pyi +9 -3
- homeassistant-stubs/components/dormakaba_dkey/config_flow.pyi +4 -3
- homeassistant-stubs/components/dsmr/config_flow.pyi +1 -1
- homeassistant-stubs/components/dsmr/sensor.pyi +1 -1
- homeassistant-stubs/components/dunehd/media_player.pyi +2 -2
- homeassistant-stubs/components/ecovacs/controller.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +3 -3
- homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -1
- homeassistant-stubs/components/ecowitt/entity.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +1 -1
- homeassistant-stubs/components/eheimdigital/coordinator.pyi +2 -2
- homeassistant-stubs/components/electrasmart/config_flow.pyi +6 -5
- homeassistant-stubs/components/electric_kiwi/coordinator.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +5 -5
- homeassistant-stubs/components/elkm1/alarm_control_panel.pyi +5 -5
- homeassistant-stubs/components/elkm1/config_flow.pyi +2 -2
- homeassistant-stubs/components/elkm1/entity.pyi +1 -1
- homeassistant-stubs/components/emulated_hue/config.pyi +12 -12
- homeassistant-stubs/components/emulated_hue/upnp.pyi +1 -1
- homeassistant-stubs/components/energy/data.pyi +2 -2
- homeassistant-stubs/components/energy/sensor.pyi +3 -3
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/assist_satellite.pyi +4 -4
- homeassistant-stubs/components/esphome/bluetooth.pyi +1 -2
- homeassistant-stubs/components/esphome/camera.pyi +2 -1
- homeassistant-stubs/components/esphome/config_flow.pyi +8 -8
- homeassistant-stubs/components/esphome/coordinator.pyi +1 -1
- homeassistant-stubs/components/esphome/dashboard.pyi +5 -4
- homeassistant-stubs/components/esphome/domain_data.pyi +1 -3
- homeassistant-stubs/components/esphome/entity.pyi +1 -1
- homeassistant-stubs/components/esphome/enum_mapper.pyi +1 -1
- homeassistant-stubs/components/esphome/manager.pyi +3 -3
- homeassistant-stubs/components/esphome/select.pyi +1 -1
- homeassistant-stubs/components/event/__init__.pyi +5 -3
- homeassistant-stubs/components/evohome/__init__.pyi +7 -5
- homeassistant-stubs/components/evohome/coordinator.pyi +1 -1
- homeassistant-stubs/components/evohome/entity.pyi +3 -3
- homeassistant-stubs/components/fan/__init__.pyi +8 -1
- homeassistant-stubs/components/feedreader/coordinator.pyi +6 -6
- homeassistant-stubs/components/filter/sensor.pyi +7 -6
- homeassistant-stubs/components/fitbit/api.pyi +1 -1
- homeassistant-stubs/components/flux_led/config_flow.pyi +2 -3
- homeassistant-stubs/components/flux_led/entity.pyi +2 -2
- homeassistant-stubs/components/flux_led/number.pyi +4 -2
- homeassistant-stubs/components/fritz/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritz/coordinator.pyi +22 -19
- homeassistant-stubs/components/fritz/device_tracker.pyi +2 -1
- homeassistant-stubs/components/fritz/entity.pyi +3 -4
- homeassistant-stubs/components/fritz/image.pyi +1 -1
- homeassistant-stubs/components/fritz/switch.pyi +1 -1
- homeassistant-stubs/components/fritzbox/config_flow.pyi +3 -3
- homeassistant-stubs/components/fritzbox/coordinator.pyi +2 -2
- homeassistant-stubs/components/fritzbox/light.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +1 -1
- homeassistant-stubs/components/fritzbox_callmonitor/sensor.pyi +4 -3
- homeassistant-stubs/components/fronius/__init__.pyi +8 -8
- homeassistant-stubs/components/fronius/config_flow.pyi +1 -1
- homeassistant-stubs/components/fronius/coordinator.pyi +1 -1
- homeassistant-stubs/components/frontend/__init__.pyi +4 -1
- homeassistant-stubs/components/fully_kiosk/config_flow.pyi +1 -2
- homeassistant-stubs/components/fully_kiosk/switch.pyi +2 -2
- homeassistant-stubs/components/fyta/coordinator.pyi +2 -2
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +2 -2
- homeassistant-stubs/components/generic_thermostat/climate.pyi +1 -1
- homeassistant-stubs/components/geo_location/__init__.pyi +5 -0
- homeassistant-stubs/components/glances/coordinator.pyi +1 -1
- homeassistant-stubs/components/go2rtc/__init__.pyi +2 -2
- homeassistant-stubs/components/go2rtc/server.pyi +5 -4
- homeassistant-stubs/components/google/api.pyi +5 -5
- homeassistant-stubs/components/google/calendar.pyi +1 -1
- homeassistant-stubs/components/google/config_flow.pyi +1 -1
- homeassistant-stubs/components/google/coordinator.pyi +1 -1
- homeassistant-stubs/components/google/store.pyi +1 -1
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +4 -3
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +3 -3
- homeassistant-stubs/components/govee_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/govee_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/greeneye_monitor/sensor.pyi +5 -5
- homeassistant-stubs/components/group/cover.pyi +2 -2
- homeassistant-stubs/components/group/entity.pyi +5 -5
- homeassistant-stubs/components/group/fan.pyi +2 -2
- homeassistant-stubs/components/group/media_player.pyi +1 -1
- homeassistant-stubs/components/group/registry.pyi +4 -4
- homeassistant-stubs/components/group/sensor.pyi +4 -4
- homeassistant-stubs/components/guardian/__init__.pyi +2 -2
- homeassistant-stubs/components/guardian/config_flow.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +2 -2
- homeassistant-stubs/components/history_stats/coordinator.pyi +2 -2
- homeassistant-stubs/components/history_stats/data.pyi +2 -2
- homeassistant-stubs/components/holiday/config_flow.pyi +1 -1
- homeassistant-stubs/components/homeassistant/exposed_entities.pyi +2 -2
- homeassistant-stubs/components/homeassistant/repairs.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -5
- homeassistant-stubs/components/homeassistant_hardware/silabs_multiprotocol_addon.pyi +9 -9
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +2 -2
- homeassistant-stubs/components/homekit/__init__.pyi +7 -6
- homeassistant-stubs/components/homekit/accessories.pyi +2 -2
- homeassistant-stubs/components/homekit/aidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/config_flow.pyi +3 -3
- homeassistant-stubs/components/homekit/iidmanager.pyi +3 -3
- homeassistant-stubs/components/homekit/type_cameras.pyi +1 -1
- homeassistant-stubs/components/homekit/type_covers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_fans.pyi +2 -2
- homeassistant-stubs/components/homekit/type_humidifiers.pyi +1 -1
- homeassistant-stubs/components/homekit/type_lights.pyi +2 -2
- homeassistant-stubs/components/homekit/type_media_players.pyi +2 -2
- homeassistant-stubs/components/homekit/type_remotes.pyi +2 -2
- homeassistant-stubs/components/homekit/type_switches.pyi +1 -1
- homeassistant-stubs/components/homekit/type_thermostats.pyi +3 -3
- homeassistant-stubs/components/homekit/type_triggers.pyi +1 -1
- homeassistant-stubs/components/homekit_controller/config_flow.pyi +7 -7
- homeassistant-stubs/components/homekit_controller/storage.pyi +1 -1
- homeassistant-stubs/components/http/__init__.pyi +3 -3
- homeassistant-stubs/components/http/ban.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/entity.pyi +1 -1
- homeassistant-stubs/components/humidifier/__init__.pyi +11 -2
- homeassistant-stubs/components/husqvarna_automower/api.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +1 -1
- homeassistant-stubs/components/hyperion/camera.pyi +1 -1
- homeassistant-stubs/components/hyperion/config_flow.pyi +5 -4
- homeassistant-stubs/components/hyperion/light.pyi +6 -6
- homeassistant-stubs/components/hyperion/sensor.pyi +1 -1
- homeassistant-stubs/components/ibeacon/coordinator.pyi +14 -14
- homeassistant-stubs/components/idasen_desk/config_flow.pyi +2 -2
- homeassistant-stubs/components/image/__init__.pyi +6 -2
- homeassistant-stubs/components/image_processing/__init__.pyi +4 -5
- homeassistant-stubs/components/imap/coordinator.pyi +8 -7
- homeassistant-stubs/components/integration/sensor.pyi +7 -7
- homeassistant-stubs/components/intent/timers.pyi +6 -3
- homeassistant-stubs/components/ipp/config_flow.pyi +1 -1
- homeassistant-stubs/components/iron_os/config_flow.pyi +2 -3
- homeassistant-stubs/components/islamic_prayer_times/coordinator.pyi +1 -1
- homeassistant-stubs/components/isy994/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/isy994/button.pyi +1 -1
- homeassistant-stubs/components/isy994/config_flow.pyi +2 -2
- homeassistant-stubs/components/isy994/entity.pyi +5 -5
- homeassistant-stubs/components/isy994/light.pyi +1 -1
- homeassistant-stubs/components/isy994/number.pyi +2 -2
- homeassistant-stubs/components/isy994/select.pyi +1 -1
- homeassistant-stubs/components/isy994/sensor.pyi +2 -2
- homeassistant-stubs/components/isy994/switch.pyi +1 -1
- homeassistant-stubs/components/jellyfin/config_flow.pyi +1 -1
- homeassistant-stubs/components/jellyfin/coordinator.pyi +8 -8
- homeassistant-stubs/components/jellyfin/entity.pyi +5 -5
- homeassistant-stubs/components/jellyfin/media_player.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +1 -1
- homeassistant-stubs/components/knocki/coordinator.pyi +1 -1
- homeassistant-stubs/components/knx/__init__.pyi +7 -6
- homeassistant-stubs/components/knx/climate.pyi +3 -3
- homeassistant-stubs/components/knx/config_flow.pyi +10 -9
- homeassistant-stubs/components/knx/cover.pyi +1 -1
- homeassistant-stubs/components/knx/device.pyi +1 -1
- homeassistant-stubs/components/knx/expose.pyi +7 -6
- homeassistant-stubs/components/knx/fan.pyi +1 -1
- homeassistant-stubs/components/knx/light.pyi +6 -4
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/storage/config_store.pyi +1 -1
- homeassistant-stubs/components/knx/telegrams.pyi +3 -2
- homeassistant-stubs/components/kraken/__init__.pyi +2 -2
- homeassistant-stubs/components/lacrosse/sensor.pyi +1 -1
- homeassistant-stubs/components/lacrosse_view/config_flow.pyi +2 -2
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +3 -3
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +1 -1
- homeassistant-stubs/components/lawn_mower/__init__.pyi +3 -1
- homeassistant-stubs/components/lcn/entity.pyi +3 -3
- homeassistant-stubs/components/ld2410_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/ld2410_ble/coordinator.pyi +1 -1
- homeassistant-stubs/components/led_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/lektrico/coordinator.pyi +3 -3
- homeassistant-stubs/components/lifx/__init__.pyi +1 -1
- homeassistant-stubs/components/lifx/config_flow.pyi +2 -3
- homeassistant-stubs/components/lifx/coordinator.pyi +7 -1
- homeassistant-stubs/components/lifx/light.pyi +3 -2
- homeassistant-stubs/components/lifx/manager.pyi +1 -1
- homeassistant-stubs/components/light/__init__.pyi +19 -2
- homeassistant-stubs/components/linear_garage_door/config_flow.pyi +1 -1
- homeassistant-stubs/components/linkplay/config_flow.pyi +1 -1
- homeassistant-stubs/components/lock/__init__.pyi +10 -1
- homeassistant-stubs/components/logbook/models.pyi +7 -0
- homeassistant-stubs/components/logbook/processor.pyi +3 -3
- homeassistant-stubs/components/logger/helpers.pyi +1 -1
- homeassistant-stubs/components/lookin/__init__.pyi +2 -2
- homeassistant-stubs/components/lookin/config_flow.pyi +2 -2
- homeassistant-stubs/components/lookin/entity.pyi +2 -2
- homeassistant-stubs/components/lookin/media_player.pyi +1 -1
- homeassistant-stubs/components/madvr/sensor.pyi +1 -1
- homeassistant-stubs/components/manual/alarm_control_panel.pyi +6 -6
- homeassistant-stubs/components/matrix/__init__.pyi +4 -4
- homeassistant-stubs/components/matter/adapter.pyi +2 -2
- homeassistant-stubs/components/matter/climate.pyi +1 -1
- homeassistant-stubs/components/matter/config_flow.pyi +4 -3
- homeassistant-stubs/components/matter/entity.pyi +4 -2
- homeassistant-stubs/components/media_player/__init__.pyi +37 -3
- homeassistant-stubs/components/met_eireann/__init__.pyi +3 -3
- homeassistant-stubs/components/mikrotik/coordinator.pyi +4 -4
- homeassistant-stubs/components/mikrotik/device.pyi +3 -3
- homeassistant-stubs/components/min_max/sensor.pyi +11 -11
- homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/climate.pyi +4 -4
- homeassistant-stubs/components/modbus/entity.pyi +5 -5
- homeassistant-stubs/components/modbus/modbus.pyi +4 -3
- homeassistant-stubs/components/modbus/sensor.pyi +1 -1
- homeassistant-stubs/components/modem_callerid/config_flow.pyi +1 -1
- homeassistant-stubs/components/mold_indicator/sensor.pyi +6 -6
- homeassistant-stubs/components/mopeka/config_flow.pyi +4 -3
- homeassistant-stubs/components/motionmount/config_flow.pyi +1 -1
- homeassistant-stubs/components/motionmount/select.pyi +1 -1
- homeassistant-stubs/components/mqtt/client.pyi +13 -12
- homeassistant-stubs/components/mqtt/config_flow.pyi +4 -3
- homeassistant-stubs/components/mqtt/entity.pyi +10 -10
- homeassistant-stubs/components/mqtt/models.pyi +3 -3
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/util.pyi +2 -2
- homeassistant-stubs/components/mqtt/vacuum.pyi +1 -1
- homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -2
- homeassistant-stubs/components/music_assistant/media_player.pyi +1 -1
- homeassistant-stubs/components/mysensors/config_flow.pyi +1 -1
- homeassistant-stubs/components/mysensors/entity.pyi +7 -7
- homeassistant-stubs/components/mysensors/light.pyi +1 -1
- homeassistant-stubs/components/nasweb/coordinator.pyi +4 -4
- homeassistant-stubs/components/neato/camera.pyi +4 -4
- homeassistant-stubs/components/neato/entity.pyi +1 -1
- homeassistant-stubs/components/neato/hub.pyi +1 -1
- homeassistant-stubs/components/neato/sensor.pyi +3 -2
- homeassistant-stubs/components/neato/switch.pyi +2 -2
- homeassistant-stubs/components/neato/vacuum.pyi +18 -18
- homeassistant-stubs/components/nest/camera.pyi +4 -4
- homeassistant-stubs/components/nest/config_flow.pyi +5 -5
- homeassistant-stubs/components/nest/media_source.pyi +2 -2
- homeassistant-stubs/components/netatmo/data_handler.pyi +3 -2
- homeassistant-stubs/components/netatmo/entity.pyi +2 -1
- homeassistant-stubs/components/network/network.pyi +2 -2
- homeassistant-stubs/components/nextdns/config_flow.pyi +2 -2
- homeassistant-stubs/components/nextdns/sensor.pyi +1 -1
- homeassistant-stubs/components/nightscout/sensor.pyi +2 -1
- homeassistant-stubs/components/nissan_leaf/__init__.pyi +6 -6
- homeassistant-stubs/components/nordpool/coordinator.pyi +1 -1
- homeassistant-stubs/components/notify/__init__.pyi +2 -1
- homeassistant-stubs/components/number/__init__.pyi +18 -11
- homeassistant-stubs/components/nut/__init__.pyi +3 -3
- homeassistant-stubs/components/nut/config_flow.pyi +4 -4
- homeassistant-stubs/components/onewire/config_flow.pyi +1 -1
- homeassistant-stubs/components/onewire/entity.pyi +2 -2
- homeassistant-stubs/components/onewire/onewirehub.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/conversation.pyi +1 -1
- homeassistant-stubs/components/openexchangerates/config_flow.pyi +1 -2
- homeassistant-stubs/components/opensky/coordinator.pyi +1 -1
- homeassistant-stubs/components/openuv/config_flow.pyi +1 -1
- homeassistant-stubs/components/oralb/config_flow.pyi +4 -4
- homeassistant-stubs/components/overkiz/climate/atlantic_pass_apc_zone_control_zone.pyi +4 -1
- homeassistant-stubs/components/overkiz/coordinator.pyi +2 -2
- homeassistant-stubs/components/overkiz/light.pyi +1 -1
- homeassistant-stubs/components/overkiz/water_heater/domestic_hot_water_production.pyi +1 -1
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -1
- homeassistant-stubs/components/plugwise/coordinator.pyi +2 -2
- homeassistant-stubs/components/powerwall/config_flow.pyi +2 -2
- homeassistant-stubs/components/private_ble_device/coordinator.pyi +8 -8
- homeassistant-stubs/components/private_ble_device/entity.pyi +1 -1
- homeassistant-stubs/components/prometheus/__init__.pyi +3 -3
- homeassistant-stubs/components/proximity/coordinator.pyi +8 -8
- homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
- homeassistant-stubs/components/pushbullet/api.pyi +1 -1
- homeassistant-stubs/components/radarr/coordinator.pyi +2 -2
- homeassistant-stubs/components/rainforest_raven/config_flow.pyi +2 -3
- homeassistant-stubs/components/rainmachine/coordinator.pyi +1 -1
- homeassistant-stubs/components/rainmachine/sensor.pyi +2 -2
- homeassistant-stubs/components/recollect_waste/calendar.pyi +1 -1
- homeassistant-stubs/components/recorder/core.pyi +26 -22
- homeassistant-stubs/components/recorder/executor.pyi +1 -1
- homeassistant-stubs/components/recorder/models/legacy.pyi +5 -5
- homeassistant-stubs/components/recorder/models/state.pyi +12 -2
- homeassistant-stubs/components/recorder/table_managers/__init__.pyi +1 -1
- homeassistant-stubs/components/recorder/table_managers/event_types.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/recorder_runs.pyi +2 -2
- homeassistant-stubs/components/recorder/table_managers/states.pyi +4 -5
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +2 -1
- homeassistant-stubs/components/remote/__init__.pyi +4 -1
- homeassistant-stubs/components/renault/config_flow.pyi +1 -1
- homeassistant-stubs/components/renault/renault_hub.pyi +2 -2
- homeassistant-stubs/components/renault/renault_vehicle.pyi +1 -1
- homeassistant-stubs/components/reolink/__init__.pyi +1 -0
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/media_source.pyi +2 -3
- homeassistant-stubs/components/reolink/update.pyi +3 -3
- homeassistant-stubs/components/reolink/util.pyi +2 -0
- homeassistant-stubs/components/reolink/views.pyi +21 -0
- homeassistant-stubs/components/rest/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rest/data.pyi +4 -4
- homeassistant-stubs/components/rest/switch.pyi +10 -10
- homeassistant-stubs/components/rfxtrx/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/config_flow.pyi +5 -5
- homeassistant-stubs/components/rfxtrx/cover.pyi +1 -1
- homeassistant-stubs/components/rfxtrx/entity.pyi +1 -1
- homeassistant-stubs/components/ridwell/calendar.pyi +1 -1
- homeassistant-stubs/components/ridwell/config_flow.pyi +2 -2
- homeassistant-stubs/components/ridwell/coordinator.pyi +1 -1
- homeassistant-stubs/components/ring/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/ring/camera.pyi +4 -4
- homeassistant-stubs/components/ring/coordinator.pyi +5 -5
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roborock/coordinator.pyi +10 -4
- homeassistant-stubs/components/ruuvi_gateway/coordinator.pyi +1 -1
- homeassistant-stubs/components/ruuvitag_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/samsungtv/__init__.pyi +2 -1
- homeassistant-stubs/components/samsungtv/bridge.pyi +16 -14
- homeassistant-stubs/components/samsungtv/config_flow.pyi +15 -14
- homeassistant-stubs/components/samsungtv/coordinator.pyi +4 -3
- homeassistant-stubs/components/samsungtv/entity.pyi +2 -2
- homeassistant-stubs/components/samsungtv/media_player.pyi +8 -5
- homeassistant-stubs/components/schlage/coordinator.pyi +1 -1
- homeassistant-stubs/components/script/__init__.pyi +16 -0
- homeassistant-stubs/components/search/__init__.pyi +2 -1
- homeassistant-stubs/components/select/__init__.pyi +4 -2
- homeassistant-stubs/components/sensirion_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/sensor/__init__.pyi +17 -9
- homeassistant-stubs/components/sensoterra/coordinator.pyi +1 -1
- homeassistant-stubs/components/shelly/climate.pyi +8 -7
- homeassistant-stubs/components/shelly/coordinator.pyi +19 -15
- homeassistant-stubs/components/shelly/cover.pyi +1 -1
- homeassistant-stubs/components/shelly/entity.pyi +6 -6
- homeassistant-stubs/components/shelly/light.pyi +1 -1
- homeassistant-stubs/components/shelly/number.pyi +1 -1
- homeassistant-stubs/components/shelly/sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/switch.pyi +2 -2
- homeassistant-stubs/components/shelly/update.pyi +2 -2
- homeassistant-stubs/components/shelly/valve.pyi +1 -1
- homeassistant-stubs/components/shopping_list/__init__.pyi +2 -2
- homeassistant-stubs/components/simplepush/notify.pyi +4 -4
- homeassistant-stubs/components/simplisafe/__init__.pyi +8 -6
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/simplisafe/config_flow.pyi +1 -1
- homeassistant-stubs/components/simplisafe/sensor.pyi +1 -1
- homeassistant-stubs/components/siren/__init__.pyi +4 -2
- homeassistant-stubs/components/skybell/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/smhi/weather.pyi +2 -2
- homeassistant-stubs/components/smlight/config_flow.pyi +2 -1
- homeassistant-stubs/components/smlight/coordinator.pyi +1 -1
- homeassistant-stubs/components/smlight/sensor.pyi +1 -1
- homeassistant-stubs/components/smlight/update.pyi +2 -2
- homeassistant-stubs/components/snooz/config_flow.pyi +4 -4
- homeassistant-stubs/components/solarlog/config_flow.pyi +2 -3
- homeassistant-stubs/components/solarlog/coordinator.pyi +2 -2
- homeassistant-stubs/components/sonarr/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +1 -2
- homeassistant-stubs/components/speedtestdotnet/coordinator.pyi +1 -1
- homeassistant-stubs/components/speedtestdotnet/sensor.pyi +2 -2
- homeassistant-stubs/components/spotify/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/config_flow.pyi +1 -1
- homeassistant-stubs/components/squeezebox/coordinator.pyi +1 -1
- homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
- homeassistant-stubs/components/ssdp/__init__.pyi +9 -8
- homeassistant-stubs/components/statistics/sensor.pyi +15 -15
- homeassistant-stubs/components/steamist/config_flow.pyi +2 -2
- homeassistant-stubs/components/stream/__init__.pyi +5 -4
- homeassistant-stubs/components/stream/core.pyi +7 -6
- homeassistant-stubs/components/stream/diagnostics.pyi +3 -3
- homeassistant-stubs/components/stream/recorder.pyi +1 -1
- homeassistant-stubs/components/stream/worker.pyi +6 -4
- homeassistant-stubs/components/sun/entity.pyi +4 -4
- homeassistant-stubs/components/switch/__init__.pyi +3 -2
- homeassistant-stubs/components/switchbee/climate.pyi +1 -1
- homeassistant-stubs/components/switchbee/coordinator.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/light.pyi +2 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/common.pyi +19 -11
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +4 -4
- homeassistant-stubs/components/synology_dsm/coordinator.pyi +1 -1
- homeassistant-stubs/components/synology_dsm/entity.pyi +5 -5
- homeassistant-stubs/components/synology_dsm/sensor.pyi +2 -3
- homeassistant-stubs/components/system_log/__init__.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -2
- homeassistant-stubs/components/systemmonitor/sensor.pyi +3 -3
- homeassistant-stubs/components/tag/__init__.pyi +1 -1
- homeassistant-stubs/components/tautulli/coordinator.pyi +3 -3
- homeassistant-stubs/components/tcp/entity.pyi +4 -3
- homeassistant-stubs/components/tedee/coordinator.pyi +3 -3
- homeassistant-stubs/components/text/__init__.pyi +10 -5
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -3
- homeassistant-stubs/components/tibber/sensor.pyi +5 -4
- homeassistant-stubs/components/tile/config_flow.pyi +2 -2
- homeassistant-stubs/components/tilt_ble/config_flow.pyi +4 -4
- homeassistant-stubs/components/time/__init__.pyi +4 -1
- homeassistant-stubs/components/timer/__init__.pyi +7 -7
- homeassistant-stubs/components/tod/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/todo/__init__.pyi +2 -0
- homeassistant-stubs/components/tplink/camera.pyi +2 -2
- homeassistant-stubs/components/tplink/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink/siren.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/config_flow.pyi +2 -2
- homeassistant-stubs/components/tplink_omada/controller.pyi +1 -1
- homeassistant-stubs/components/trace/models.pyi +10 -9
- homeassistant-stubs/components/tractive/__init__.pyi +2 -1
- homeassistant-stubs/components/tractive/device_tracker.pyi +3 -3
- homeassistant-stubs/components/tradfri/config_flow.pyi +1 -1
- homeassistant-stubs/components/tradfri/coordinator.pyi +1 -1
- homeassistant-stubs/components/tradfri/entity.pyi +1 -1
- homeassistant-stubs/components/trafikverket_ferry/coordinator.pyi +5 -5
- homeassistant-stubs/components/trafikverket_train/coordinator.pyi +4 -4
- homeassistant-stubs/components/transmission/coordinator.pyi +5 -5
- homeassistant-stubs/components/trend/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/tts/__init__.pyi +10 -5
- homeassistant-stubs/components/tts/notify.pyi +2 -2
- homeassistant-stubs/components/twentemilieu/calendar.pyi +1 -1
- homeassistant-stubs/components/unifi/__init__.pyi +3 -3
- homeassistant-stubs/components/unifi/config_flow.pyi +3 -2
- homeassistant-stubs/components/unifi/device_tracker.pyi +3 -0
- homeassistant-stubs/components/unifi/hub/entity_helper.pyi +4 -4
- homeassistant-stubs/components/unifi/hub/entity_loader.pyi +2 -2
- homeassistant-stubs/components/unifi/hub/websocket.pyi +3 -2
- homeassistant-stubs/components/unifiprotect/camera.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/data.pyi +4 -3
- homeassistant-stubs/components/update/__init__.pyi +15 -4
- homeassistant-stubs/components/usb/__init__.pyi +7 -4
- homeassistant-stubs/components/uvc/camera.pyi +2 -2
- homeassistant-stubs/components/vacuum/__init__.pyi +8 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +1 -2
- homeassistant-stubs/components/velbus/sensor.pyi +1 -1
- homeassistant-stubs/components/waqi/config_flow.pyi +1 -1
- homeassistant-stubs/components/water_heater/__init__.pyi +9 -2
- homeassistant-stubs/components/watttime/config_flow.pyi +3 -2
- homeassistant-stubs/components/weather/__init__.pyi +20 -2
- homeassistant-stubs/components/webostv/config_flow.pyi +1 -1
- homeassistant-stubs/components/webostv/media_player.pyi +1 -1
- homeassistant-stubs/components/websocket_api/connection.pyi +7 -6
- homeassistant-stubs/components/websocket_api/http.pyi +9 -7
- homeassistant-stubs/components/wemo/__init__.pyi +6 -6
- homeassistant-stubs/components/wemo/coordinator.pyi +1 -1
- homeassistant-stubs/components/withings/coordinator.pyi +2 -2
- homeassistant-stubs/components/wiz/config_flow.pyi +1 -1
- homeassistant-stubs/components/wled/coordinator.pyi +1 -1
- homeassistant-stubs/components/workday/repairs.pyi +3 -3
- homeassistant-stubs/components/xiaomi_ble/config_flow.pyi +3 -3
- homeassistant-stubs/components/yale_smart_alarm/coordinator.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/entity.pyi +3 -3
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +4 -3
- homeassistant-stubs/components/zeroconf/__init__.pyi +2 -2
- homeassistant-stubs/components/zone/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/climate.pyi +6 -6
- homeassistant-stubs/components/zwave_js/config_flow.pyi +14 -13
- homeassistant-stubs/components/zwave_js/event.pyi +1 -1
- homeassistant-stubs/components/zwave_js/light.pyi +8 -8
- homeassistant-stubs/components/zwave_js/number.pyi +1 -1
- homeassistant-stubs/components/zwave_js/repairs.pyi +2 -3
- homeassistant-stubs/components/zwave_js/switch.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +8 -8
- homeassistant-stubs/config_entries.pyi +11 -8
- homeassistant-stubs/core.pyi +50 -28
- homeassistant-stubs/core_config.pyi +18 -18
- homeassistant-stubs/data_entry_flow.pyi +6 -5
- homeassistant-stubs/helpers/area_registry.pyi +4 -2
- homeassistant-stubs/helpers/category_registry.pyi +1 -1
- homeassistant-stubs/helpers/check_config.pyi +2 -3
- homeassistant-stubs/helpers/collection.pyi +6 -6
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +2 -2
- homeassistant-stubs/helpers/debounce.pyi +3 -2
- homeassistant-stubs/helpers/device_registry.pyi +9 -5
- homeassistant-stubs/helpers/discovery_flow.pyi +1 -1
- homeassistant-stubs/helpers/dispatcher.pyi +8 -8
- homeassistant-stubs/helpers/entity.pyi +43 -14
- homeassistant-stubs/helpers/entity_component.pyi +3 -3
- homeassistant-stubs/helpers/entity_platform.pyi +12 -12
- homeassistant-stubs/helpers/entity_registry.pyi +13 -6
- homeassistant-stubs/helpers/entityfilter.pyi +1 -1
- homeassistant-stubs/helpers/event.pyi +6 -6
- homeassistant-stubs/helpers/frame.pyi +4 -0
- homeassistant-stubs/helpers/icon.pyi +2 -2
- homeassistant-stubs/helpers/intent.pyi +15 -12
- homeassistant-stubs/helpers/issue_registry.pyi +1 -1
- homeassistant-stubs/helpers/normalized_name_base_registry.pyi +1 -2
- homeassistant-stubs/helpers/ratelimit.pyi +4 -3
- homeassistant-stubs/helpers/restore_state.pyi +3 -3
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -1
- homeassistant-stubs/helpers/script.pyi +16 -10
- homeassistant-stubs/helpers/script_variables.pyi +1 -1
- homeassistant-stubs/helpers/service.pyi +1 -1
- homeassistant-stubs/helpers/significant_change.pyi +1 -1
- homeassistant-stubs/helpers/storage.pyi +12 -9
- homeassistant-stubs/helpers/template.pyi +22 -18
- homeassistant-stubs/helpers/trace.pyi +6 -6
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -2
- homeassistant-stubs/helpers/update_coordinator.pyi +10 -7
- homeassistant-stubs/loader.pyi +23 -4
- homeassistant-stubs/requirements.pyi +4 -3
- homeassistant-stubs/util/aiohttp.pyi +2 -2
- homeassistant-stubs/util/async_.pyi +1 -1
- homeassistant-stubs/util/frozen_dataclass_compat.pyi +3 -1
- homeassistant-stubs/util/logging.pyi +7 -7
- homeassistant-stubs/util/signal_type.pyi +1 -1
- homeassistant-stubs/util/timeout.pyi +29 -30
- homeassistant-stubs/util/yaml/loader.pyi +4 -1
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +646 -645
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b8.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -21,8 +21,8 @@ async def validate_input(hass: HomeAssistant, data: dict[str, str]) -> dict[str,
|
|
21
21
|
|
22
22
|
class PowerwallConfigFlow(ConfigFlow, domain=DOMAIN):
|
23
23
|
VERSION: int
|
24
|
-
ip_address:
|
25
|
-
title:
|
24
|
+
ip_address: str | None
|
25
|
+
title: str | None
|
26
26
|
def __init__(self) -> None: ...
|
27
27
|
async def _async_powerwall_is_offline(self, entry: ConfigEntry) -> bool: ...
|
28
28
|
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
|
@@ -14,14 +14,14 @@ def async_last_service_info(hass: HomeAssistant, irk: bytes) -> bluetooth.Blueto
|
|
14
14
|
|
15
15
|
class PrivateDevicesCoordinator:
|
16
16
|
hass: Incomplete
|
17
|
-
_irks:
|
18
|
-
_unavailable_callbacks:
|
19
|
-
_service_info_callbacks:
|
20
|
-
_mac_to_irk:
|
21
|
-
_irk_to_mac:
|
22
|
-
_ignored:
|
23
|
-
_unavailability_trackers:
|
24
|
-
_listener_cancel:
|
17
|
+
_irks: dict[bytes, Cipher]
|
18
|
+
_unavailable_callbacks: dict[bytes, list[UnavailableCallback]]
|
19
|
+
_service_info_callbacks: dict[bytes, list[bluetooth.BluetoothCallback]]
|
20
|
+
_mac_to_irk: dict[str, bytes]
|
21
|
+
_irk_to_mac: dict[bytes, str]
|
22
|
+
_ignored: dict[str, Cancellable]
|
23
|
+
_unavailability_trackers: dict[bytes, Cancellable]
|
24
|
+
_listener_cancel: Cancellable | None
|
25
25
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
26
26
|
def _async_ensure_started(self) -> None: ...
|
27
27
|
def _async_ensure_stopped(self) -> None: ...
|
@@ -16,7 +16,7 @@ class BasePrivateDeviceEntity(Entity, metaclass=abc.ABCMeta):
|
|
16
16
|
_attr_device_info: Incomplete
|
17
17
|
_entry: Incomplete
|
18
18
|
_irk: Incomplete
|
19
|
-
_last_info:
|
19
|
+
_last_info: bluetooth.BluetoothServiceInfoBleak | None
|
20
20
|
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
21
21
|
async def async_added_to_hass(self) -> None: ...
|
22
22
|
@abstractmethod
|
@@ -51,10 +51,10 @@ class PrometheusMetrics:
|
|
51
51
|
_override_metric: Incomplete
|
52
52
|
_default_metric: Incomplete
|
53
53
|
_filter: Incomplete
|
54
|
-
_sensor_metric_handlers:
|
54
|
+
_sensor_metric_handlers: list[Callable[[State, str | None], str | None]]
|
55
55
|
metrics_prefix: Incomplete
|
56
|
-
_metrics:
|
57
|
-
_metrics_by_entity_id:
|
56
|
+
_metrics: dict[str, MetricWrapperBase]
|
57
|
+
_metrics_by_entity_id: dict[str, set[MetricNameWithLabelValues]]
|
58
58
|
_climate_units: Incomplete
|
59
59
|
def __init__(self, entity_filter: entityfilter.EntityFilter, namespace: str, climate_units: UnitOfTemperature, component_config: EntityValues, override_metric: str | None, default_metric: str | None) -> None: ...
|
60
60
|
def handle_state_changed_event(self, event: Event[EventStateChangedData]) -> None: ...
|
@@ -30,15 +30,15 @@ DEFAULT_PROXIMITY_DATA: dict[str, str | int | None]
|
|
30
30
|
|
31
31
|
class ProximityDataUpdateCoordinator(DataUpdateCoordinator[ProximityData]):
|
32
32
|
config_entry: ProximityConfigEntry
|
33
|
-
ignored_zone_ids:
|
34
|
-
tracked_entities:
|
35
|
-
tolerance:
|
36
|
-
proximity_zone_id:
|
37
|
-
proximity_zone_name:
|
38
|
-
unit_of_measurement:
|
39
|
-
entity_mapping:
|
33
|
+
ignored_zone_ids: list[str]
|
34
|
+
tracked_entities: list[str]
|
35
|
+
tolerance: int
|
36
|
+
proximity_zone_id: str
|
37
|
+
proximity_zone_name: str
|
38
|
+
unit_of_measurement: str
|
39
|
+
entity_mapping: dict[str, list[str]]
|
40
40
|
data: Incomplete
|
41
|
-
state_change_data:
|
41
|
+
state_change_data: StateChangedData | None
|
42
42
|
def __init__(self, hass: HomeAssistant, friendly_name: str, config: ConfigType) -> None: ...
|
43
43
|
def async_add_entity_mapping(self, tracked_entity_id: str, entity_id: str) -> None: ...
|
44
44
|
async def async_check_proximity_state_change(self, event: Event[EventStateChangedData]) -> None: ...
|
@@ -38,7 +38,7 @@ async def async_validate_coordinates(hass: HomeAssistant, api_key: str, latitude
|
|
38
38
|
|
39
39
|
class PurpleAirConfigFlow(ConfigFlow, domain=DOMAIN):
|
40
40
|
VERSION: int
|
41
|
-
_flow_data:
|
41
|
+
_flow_data: dict[str, Any]
|
42
42
|
def __init__(self) -> None: ...
|
43
43
|
@staticmethod
|
44
44
|
def async_get_options_flow(config_entry: ConfigEntry) -> PurpleAirOptionsFlowHandler: ...
|
@@ -49,7 +49,7 @@ class PurpleAirConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
49
49
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
50
50
|
|
51
51
|
class PurpleAirOptionsFlowHandler(OptionsFlow):
|
52
|
-
_flow_data:
|
52
|
+
_flow_data: dict[str, Any]
|
53
53
|
def __init__(self) -> None: ...
|
54
54
|
@property
|
55
55
|
def settings_schema(self) -> vol.Schema: ...
|
@@ -8,7 +8,7 @@ from typing import Any
|
|
8
8
|
class PushBulletNotificationProvider(Listener):
|
9
9
|
hass: Incomplete
|
10
10
|
pushbullet: Incomplete
|
11
|
-
data:
|
11
|
+
data: dict[str, Any]
|
12
12
|
daemon: bool
|
13
13
|
def __init__(self, hass: HomeAssistant, pushbullet: PushBullet) -> None: ...
|
14
14
|
def update_data(self, data: dict[str, Any]) -> None: ...
|
@@ -52,8 +52,8 @@ class QueueDataUpdateCoordinator(RadarrDataUpdateCoordinator):
|
|
52
52
|
|
53
53
|
class CalendarUpdateCoordinator(RadarrDataUpdateCoordinator[None]):
|
54
54
|
_update_interval: Incomplete
|
55
|
-
event:
|
56
|
-
_events:
|
55
|
+
event: RadarrEvent | None
|
56
|
+
_events: list[RadarrEvent]
|
57
57
|
def __init__(self, hass: HomeAssistant, host_configuration: PyArrHostConfiguration, api_client: RadarrClient) -> None: ...
|
58
58
|
async def _fetch_data(self) -> None: ...
|
59
59
|
async def async_get_events(self, start_date: datetime, end_date: datetime) -> list[RadarrEvent]: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .const import DEFAULT_NAME as DEFAULT_NAME, DOMAIN as DOMAIN
|
2
|
-
from _typeshed import Incomplete
|
3
2
|
from homeassistant.components import usb as usb
|
4
3
|
from homeassistant.config_entries import ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult
|
5
4
|
from homeassistant.const import CONF_DEVICE as CONF_DEVICE, CONF_MAC as CONF_MAC, CONF_NAME as CONF_NAME
|
@@ -11,8 +10,8 @@ def _format_id(value: str | int) -> str: ...
|
|
11
10
|
def _generate_unique_id(info: ListPortInfo | usb.UsbServiceInfo) -> str: ...
|
12
11
|
|
13
12
|
class RainforestRavenConfigFlow(ConfigFlow, domain=DOMAIN):
|
14
|
-
_dev_path:
|
15
|
-
_meter_macs:
|
13
|
+
_dev_path: str | None
|
14
|
+
_meter_macs: set[str]
|
16
15
|
def __init__(self) -> None: ...
|
17
16
|
async def _validate_device(self, dev_path: str) -> None: ...
|
18
17
|
async def async_step_meters(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -14,7 +14,7 @@ SIGNAL_REBOOT_REQUESTED: str
|
|
14
14
|
class RainMachineDataUpdateCoordinator(DataUpdateCoordinator[dict]):
|
15
15
|
config_entry: RainMachineConfigEntry
|
16
16
|
_rebooting: bool
|
17
|
-
_signal_handler_unsubs:
|
17
|
+
_signal_handler_unsubs: list[Callable[[], None]]
|
18
18
|
signal_reboot_completed: Incomplete
|
19
19
|
signal_reboot_requested: Incomplete
|
20
20
|
def __init__(self, hass: HomeAssistant, *, entry: RainMachineConfigEntry, name: str, api_category: str, update_interval: timedelta, update_method: Callable[[], Coroutine[Any, Any, dict]]) -> None: ...
|
@@ -40,8 +40,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: RainMachineConfigEntry,
|
|
40
40
|
|
41
41
|
class TimeRemainingSensor(RainMachineEntity, RestoreSensor):
|
42
42
|
entity_description: RainMachineSensorCompletionTimerDescription
|
43
|
-
_current_run_state:
|
44
|
-
_previous_run_state:
|
43
|
+
_current_run_state: RunStates | None
|
44
|
+
_previous_run_state: RunStates | None
|
45
45
|
def __init__(self, entry: ConfigEntry, data: RainMachineData, description: RainMachineSensorCompletionTimerDescription) -> None: ...
|
46
46
|
@property
|
47
47
|
def activity_data(self) -> dict[str, Any]: ...
|
@@ -17,7 +17,7 @@ class ReCollectWasteCalendar(ReCollectWasteEntity, CalendarEntity):
|
|
17
17
|
_attr_name: Incomplete
|
18
18
|
_attr_translation_key: str
|
19
19
|
_attr_unique_id: Incomplete
|
20
|
-
_event:
|
20
|
+
_event: CalendarEvent | None
|
21
21
|
def __init__(self, coordinator: DataUpdateCoordinator[list[PickupEvent]], entry: ConfigEntry) -> None: ...
|
22
22
|
@property
|
23
23
|
def event(self) -> CalendarEvent | None: ...
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import asyncio
|
2
|
+
import psutil_home_assistant as ha_psutil
|
3
|
+
import queue
|
2
4
|
import threading
|
3
5
|
from . import migration as migration, statistics as statistics
|
4
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, SQLITE_MAX_BIND_VARS as SQLITE_MAX_BIND_VARS, SQLITE_URL_PREFIX as SQLITE_URL_PREFIX, SupportedDialect as SupportedDialect
|
@@ -26,6 +28,7 @@ from homeassistant.helpers.start import async_at_started as async_at_started
|
|
26
28
|
from homeassistant.helpers.typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType
|
27
29
|
from homeassistant.util.enum import try_parse_enum as try_parse_enum
|
28
30
|
from homeassistant.util.event_type import EventType as EventType
|
31
|
+
from propcache import cached_property
|
29
32
|
from sqlalchemy.engine import Engine as Engine
|
30
33
|
from sqlalchemy.engine.interfaces import DBAPIConnection as DBAPIConnection
|
31
34
|
from sqlalchemy.orm.session import Session as Session
|
@@ -49,26 +52,26 @@ MAX_DB_EXECUTOR_WORKERS: Incomplete
|
|
49
52
|
class Recorder(threading.Thread):
|
50
53
|
stop_requested: bool
|
51
54
|
hass: Incomplete
|
52
|
-
thread_id:
|
53
|
-
recorder_and_worker_thread_ids:
|
55
|
+
thread_id: int | None
|
56
|
+
recorder_and_worker_thread_ids: set[int]
|
54
57
|
auto_purge: Incomplete
|
55
58
|
auto_repack: Incomplete
|
56
59
|
keep_days: Incomplete
|
57
60
|
is_running: bool
|
58
|
-
_hass_started:
|
61
|
+
_hass_started: asyncio.Future[object]
|
59
62
|
commit_interval: Incomplete
|
60
|
-
_queue:
|
63
|
+
_queue: queue.SimpleQueue[RecorderTask | Event]
|
61
64
|
db_url: Incomplete
|
62
65
|
db_max_retries: Incomplete
|
63
66
|
db_retry_wait: Incomplete
|
64
|
-
database_engine:
|
65
|
-
async_db_connected:
|
66
|
-
async_db_ready:
|
67
|
+
database_engine: DatabaseEngine | None
|
68
|
+
async_db_connected: asyncio.Future[bool]
|
69
|
+
async_db_ready: asyncio.Future[bool]
|
67
70
|
async_recorder_ready: Incomplete
|
68
71
|
_queue_watch: Incomplete
|
69
|
-
engine:
|
70
|
-
max_backlog:
|
71
|
-
_psutil:
|
72
|
+
engine: Engine | None
|
73
|
+
max_backlog: int
|
74
|
+
_psutil: ha_psutil.PsutilWrapper | None
|
72
75
|
entity_filter: Incomplete
|
73
76
|
exclude_event_types: Incomplete
|
74
77
|
schema_version: int
|
@@ -81,26 +84,27 @@ class Recorder(threading.Thread):
|
|
81
84
|
states_meta_manager: Incomplete
|
82
85
|
state_attributes_manager: Incomplete
|
83
86
|
statistics_meta_manager: Incomplete
|
84
|
-
event_session:
|
85
|
-
_get_session:
|
86
|
-
_completed_first_database_setup:
|
87
|
+
event_session: Session | None
|
88
|
+
_get_session: Callable[[], Session] | None
|
89
|
+
_completed_first_database_setup: bool | None
|
87
90
|
migration_in_progress: bool
|
88
91
|
migration_is_live: bool
|
89
92
|
use_legacy_events_index: bool
|
90
|
-
_database_lock_task:
|
91
|
-
_db_executor:
|
92
|
-
_event_listener:
|
93
|
-
_queue_watcher:
|
94
|
-
_keep_alive_listener:
|
95
|
-
_commit_listener:
|
96
|
-
_periodic_listener:
|
97
|
-
_nightly_listener:
|
98
|
-
_dialect_name:
|
93
|
+
_database_lock_task: DatabaseLockTask | None
|
94
|
+
_db_executor: DBInterruptibleThreadPoolExecutor | None
|
95
|
+
_event_listener: CALLBACK_TYPE | None
|
96
|
+
_queue_watcher: CALLBACK_TYPE | None
|
97
|
+
_keep_alive_listener: CALLBACK_TYPE | None
|
98
|
+
_commit_listener: CALLBACK_TYPE | None
|
99
|
+
_periodic_listener: CALLBACK_TYPE | None
|
100
|
+
_nightly_listener: CALLBACK_TYPE | None
|
101
|
+
_dialect_name: SupportedDialect | None
|
99
102
|
enabled: bool
|
100
103
|
max_bind_vars: Incomplete
|
101
104
|
def __init__(self, hass: HomeAssistant, auto_purge: bool, auto_repack: bool, keep_days: int, commit_interval: int, uri: str, db_max_retries: int, db_retry_wait: int, entity_filter: Callable[[str], bool] | None, exclude_event_types: set[EventType[Any] | str]) -> None: ...
|
102
105
|
@property
|
103
106
|
def backlog(self) -> int: ...
|
107
|
+
@cached_property
|
104
108
|
def dialect_name(self) -> SupportedDialect | None: ...
|
105
109
|
@property
|
106
110
|
def _using_file_sqlite(self) -> bool: ...
|
@@ -6,7 +6,7 @@ from typing import Any
|
|
6
6
|
def _worker_with_shutdown_hook(shutdown_hook: Callable[[], None], recorder_and_worker_thread_ids: set[int], *args: Any, **kwargs: Any) -> None: ...
|
7
7
|
|
8
8
|
class DBInterruptibleThreadPoolExecutor(InterruptibleThreadPoolExecutor):
|
9
|
-
_shutdown_hook:
|
9
|
+
_shutdown_hook: Callable[[], None]
|
10
10
|
recorder_and_worker_thread_ids: Incomplete
|
11
11
|
def __init__(self, recorder_and_worker_thread_ids: set[int], *args: Any, **kwargs: Any) -> None: ...
|
12
12
|
def _adjust_thread_count(self) -> None: ...
|
@@ -12,11 +12,11 @@ class LegacyLazyState(State):
|
|
12
12
|
_row: Incomplete
|
13
13
|
entity_id: Incomplete
|
14
14
|
state: Incomplete
|
15
|
-
_attributes:
|
16
|
-
_last_updated_ts:
|
17
|
-
_last_changed_ts:
|
18
|
-
_last_reported_ts:
|
19
|
-
_context:
|
15
|
+
_attributes: dict[str, Any] | None
|
16
|
+
_last_updated_ts: float | None
|
17
|
+
_last_changed_ts: float | None
|
18
|
+
_last_reported_ts: float | None
|
19
|
+
_context: Context | None
|
20
20
|
attr_cache: Incomplete
|
21
21
|
def __init__(self, row: Row, attr_cache: dict[str, dict[str, Any]], start_time: datetime | None, entity_id: str | None = None) -> None: ...
|
22
22
|
@property
|
@@ -3,6 +3,7 @@ from _typeshed import Incomplete
|
|
3
3
|
from datetime import datetime
|
4
4
|
from homeassistant.const import COMPRESSED_STATE_ATTRIBUTES as COMPRESSED_STATE_ATTRIBUTES, COMPRESSED_STATE_LAST_CHANGED as COMPRESSED_STATE_LAST_CHANGED, COMPRESSED_STATE_LAST_UPDATED as COMPRESSED_STATE_LAST_UPDATED, COMPRESSED_STATE_STATE as COMPRESSED_STATE_STATE
|
5
5
|
from homeassistant.core import Context as Context, State as State
|
6
|
+
from propcache import cached_property
|
6
7
|
from sqlalchemy.engine.row import Row as Row
|
7
8
|
from typing import Any
|
8
9
|
|
@@ -15,19 +16,28 @@ class LazyState(State):
|
|
15
16
|
_row: Incomplete
|
16
17
|
entity_id: Incomplete
|
17
18
|
state: Incomplete
|
18
|
-
_attributes:
|
19
|
-
_last_updated_ts:
|
19
|
+
_attributes: dict[str, Any] | None
|
20
|
+
_last_updated_ts: float | None
|
20
21
|
attr_cache: Incomplete
|
21
22
|
context: Incomplete
|
22
23
|
def __init__(self, row: Row, attr_cache: dict[str, dict[str, Any]], start_time_ts: float | None, entity_id: str, state: str, last_updated_ts: float | None, no_attributes: bool) -> None: ...
|
24
|
+
@cached_property
|
23
25
|
def attributes(self) -> dict[str, Any]: ...
|
26
|
+
@cached_property
|
24
27
|
def _last_changed_ts(self) -> float | None: ...
|
28
|
+
@cached_property
|
25
29
|
def last_changed(self) -> datetime: ...
|
30
|
+
@cached_property
|
26
31
|
def _last_reported_ts(self) -> float | None: ...
|
32
|
+
@cached_property
|
27
33
|
def last_reported(self) -> datetime: ...
|
34
|
+
@cached_property
|
28
35
|
def last_updated(self) -> datetime: ...
|
36
|
+
@cached_property
|
29
37
|
def last_updated_timestamp(self) -> float: ...
|
38
|
+
@cached_property
|
30
39
|
def last_changed_timestamp(self) -> float: ...
|
40
|
+
@cached_property
|
31
41
|
def last_reported_timestamp(self) -> float: ...
|
32
42
|
def as_dict(self) -> dict[str, Any]: ...
|
33
43
|
|
@@ -7,7 +7,7 @@ from typing import Any
|
|
7
7
|
class BaseTableManager[_DataT]:
|
8
8
|
_id_map: LRU[EventType[Any] | str, int]
|
9
9
|
recorder: Incomplete
|
10
|
-
_pending:
|
10
|
+
_pending: dict[EventType[Any] | str, _DataT]
|
11
11
|
def __init__(self, recorder: Recorder) -> None: ...
|
12
12
|
def get_from_cache(self, data: str) -> int | None: ...
|
13
13
|
def get_pending(self, shared_data: EventType[Any] | str) -> _DataT | None: ...
|
@@ -4,18 +4,18 @@ from ..db_schema import EventTypes as EventTypes
|
|
4
4
|
from ..queries import find_event_type_ids as find_event_type_ids
|
5
5
|
from ..tasks import RefreshEventTypesTask as RefreshEventTypesTask
|
6
6
|
from ..util import execute_stmt_lambda_element as execute_stmt_lambda_element
|
7
|
-
from _typeshed import Incomplete
|
8
7
|
from collections.abc import Iterable
|
9
8
|
from homeassistant.core import Event as Event
|
10
9
|
from homeassistant.util.collection import chunked_or_all as chunked_or_all
|
11
10
|
from homeassistant.util.event_type import EventType as EventType
|
11
|
+
from lru import LRU
|
12
12
|
from sqlalchemy.orm.session import Session as Session
|
13
13
|
from typing import Any
|
14
14
|
|
15
15
|
CACHE_SIZE: int
|
16
16
|
|
17
17
|
class EventTypeManager(BaseLRUTableManager[EventTypes]):
|
18
|
-
_non_existent_event_types:
|
18
|
+
_non_existent_event_types: LRU[EventType[Any] | str, None]
|
19
19
|
def __init__(self, recorder: Recorder) -> None: ...
|
20
20
|
def load(self, events: list[Event], session: Session) -> None: ...
|
21
21
|
def get(self, event_type: EventType[Any] | str, session: Session, from_recorder: bool = False) -> int | None: ...
|
@@ -5,8 +5,8 @@ from sqlalchemy.orm.session import Session as Session
|
|
5
5
|
|
6
6
|
class RecorderRunsManager:
|
7
7
|
_recording_start: Incomplete
|
8
|
-
_current_run_info:
|
9
|
-
_first_run:
|
8
|
+
_current_run_info: RecorderRuns | None
|
9
|
+
_first_run: RecorderRuns | None
|
10
10
|
def __init__(self) -> None: ...
|
11
11
|
@property
|
12
12
|
def recording_start(self) -> datetime: ...
|
@@ -1,14 +1,13 @@
|
|
1
1
|
from ..db_schema import States as States
|
2
2
|
from ..queries import find_oldest_state as find_oldest_state
|
3
3
|
from ..util import execute_stmt_lambda_element as execute_stmt_lambda_element
|
4
|
-
from _typeshed import Incomplete
|
5
4
|
from sqlalchemy.orm.session import Session as Session
|
6
5
|
|
7
6
|
class StatesManager:
|
8
|
-
_pending:
|
9
|
-
_last_committed_id:
|
10
|
-
_last_reported:
|
11
|
-
_oldest_ts:
|
7
|
+
_pending: dict[str, States]
|
8
|
+
_last_committed_id: dict[str, int]
|
9
|
+
_last_reported: dict[int, float]
|
10
|
+
_oldest_ts: float | None
|
12
11
|
def __init__(self) -> None: ...
|
13
12
|
@property
|
14
13
|
def oldest_ts(self) -> float | None: ...
|
@@ -3,6 +3,7 @@ from ..db_schema import StatisticsMeta as StatisticsMeta
|
|
3
3
|
from ..models import StatisticMetaData as StatisticMetaData
|
4
4
|
from ..util import execute_stmt_lambda_element as execute_stmt_lambda_element
|
5
5
|
from _typeshed import Incomplete
|
6
|
+
from lru import LRU
|
6
7
|
from sqlalchemy.orm.session import Session as Session
|
7
8
|
from sqlalchemy.sql.lambdas import StatementLambdaElement as StatementLambdaElement
|
8
9
|
from typing import Final, Literal
|
@@ -22,7 +23,7 @@ def _generate_get_metadata_stmt(statistic_ids: set[str] | None = None, statistic
|
|
22
23
|
|
23
24
|
class StatisticsMetaManager:
|
24
25
|
recorder: Incomplete
|
25
|
-
_stat_id_to_id_meta:
|
26
|
+
_stat_id_to_id_meta: LRU[str, tuple[int, StatisticMetaData]]
|
26
27
|
def __init__(self, recorder: Recorder) -> None: ...
|
27
28
|
def _clear_cache(self, statistic_ids: list[str]) -> None: ...
|
28
29
|
def _get_from_database(self, session: Session, statistic_ids: set[str] | None = None, statistic_type: Literal['mean', 'sum'] | None = None, statistic_source: str | None = None) -> dict[str, tuple[int, StatisticMetaData]]: ...
|
@@ -9,6 +9,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
|
|
9
9
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
10
10
|
from homeassistant.loader import bind_hass as bind_hass
|
11
11
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
12
|
+
from propcache import cached_property
|
12
13
|
from typing import Any
|
13
14
|
|
14
15
|
_LOGGER: Incomplete
|
@@ -51,7 +52,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
51
52
|
|
52
53
|
class RemoteEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
|
53
54
|
def __init__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
54
|
-
def __replace__(self, *, key, device_class=..., entity_category=..., entity_registry_enabled_default=..., entity_registry_visible_default=..., force_update=..., icon=..., has_entity_name=..., name=..., translation_key=..., translation_placeholders=..., unit_of_measurement=...) -> None: ...
|
55
55
|
|
56
56
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
57
57
|
|
@@ -60,8 +60,11 @@ class RemoteEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_)
|
|
60
60
|
_attr_activity_list: list[str] | None
|
61
61
|
_attr_current_activity: str | None
|
62
62
|
_attr_supported_features: RemoteEntityFeature
|
63
|
+
@cached_property
|
63
64
|
def supported_features(self) -> RemoteEntityFeature: ...
|
65
|
+
@cached_property
|
64
66
|
def current_activity(self) -> str | None: ...
|
67
|
+
@cached_property
|
65
68
|
def activity_list(self) -> list[str] | None: ...
|
66
69
|
@property
|
67
70
|
def state_attributes(self) -> dict[str, Any] | None: ...
|
@@ -11,7 +11,7 @@ REAUTH_SCHEMA: Incomplete
|
|
11
11
|
|
12
12
|
class RenaultFlowHandler(ConfigFlow, domain=DOMAIN):
|
13
13
|
renault_hub: RenaultHub
|
14
|
-
renault_config:
|
14
|
+
renault_config: dict[str, Any]
|
15
15
|
def __init__(self) -> None: ...
|
16
16
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
17
17
|
async def async_step_kamereon(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -16,8 +16,8 @@ LOGGER: Incomplete
|
|
16
16
|
class RenaultHub:
|
17
17
|
_hass: Incomplete
|
18
18
|
_client: Incomplete
|
19
|
-
_account:
|
20
|
-
_vehicles:
|
19
|
+
_account: RenaultAccount | None
|
20
|
+
_vehicles: dict[str, RenaultVehicleProxy]
|
21
21
|
def __init__(self, hass: HomeAssistant, locale: str) -> None: ...
|
22
22
|
async def attempt_login(self, username: str, password: str) -> bool: ...
|
23
23
|
async def async_initialise(self, config_entry: ConfigEntry) -> None: ...
|
@@ -28,7 +28,7 @@ class RenaultVehicleProxy:
|
|
28
28
|
_vehicle: Incomplete
|
29
29
|
_details: Incomplete
|
30
30
|
_device_info: Incomplete
|
31
|
-
coordinators:
|
31
|
+
coordinators: dict[str, RenaultDataUpdateCoordinator]
|
32
32
|
hvac_target_temperature: int
|
33
33
|
_scan_interval: Incomplete
|
34
34
|
def __init__(self, hass: HomeAssistant, vehicle: RenaultVehicle, details: models.KamereonVehicleDetails, scan_interval: timedelta) -> None: ...
|
@@ -3,6 +3,7 @@ from .exceptions import PasswordIncompatible as PasswordIncompatible, ReolinkExc
|
|
3
3
|
from .host import ReolinkHost as ReolinkHost
|
4
4
|
from .services import async_setup_services as async_setup_services
|
5
5
|
from .util import ReolinkConfigEntry as ReolinkConfigEntry, ReolinkData as ReolinkData, get_device_uid_and_ch as get_device_uid_and_ch
|
6
|
+
from .views import PlaybackProxyView as PlaybackProxyView
|
6
7
|
from _typeshed import Incomplete
|
7
8
|
from homeassistant.config_entries import ConfigEntryState as ConfigEntryState
|
8
9
|
from homeassistant.const import CONF_PORT as CONF_PORT, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, Platform as Platform
|
@@ -22,9 +22,9 @@ class ReolinkOptionsFlowHandler(OptionsFlow):
|
|
22
22
|
|
23
23
|
class ReolinkFlowHandler(ConfigFlow, domain=DOMAIN):
|
24
24
|
VERSION: int
|
25
|
-
_host:
|
25
|
+
_host: str | None
|
26
26
|
_username: str
|
27
|
-
_password:
|
27
|
+
_password: str | None
|
28
28
|
def __init__(self) -> None: ...
|
29
29
|
@staticmethod
|
30
30
|
def async_get_options_flow(config_entry: ReolinkConfigEntry) -> ReolinkOptionsFlowHandler: ...
|
@@ -1,7 +1,9 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .const import CONF_USE_HTTPS as CONF_USE_HTTPS, DOMAIN as DOMAIN
|
2
3
|
from .exceptions import PasswordIncompatible as PasswordIncompatible, ReolinkSetupException as ReolinkSetupException, ReolinkWebhookException as ReolinkWebhookException, UserNotAdmin as UserNotAdmin
|
3
4
|
from _typeshed import Incomplete
|
4
5
|
from aiohttp.web import Request as Request
|
6
|
+
from collections import defaultdict
|
5
7
|
from collections.abc import Mapping
|
6
8
|
from homeassistant.components import webhook as webhook
|
7
9
|
from homeassistant.const import CONF_HOST as CONF_HOST, CONF_PASSWORD as CONF_PASSWORD, CONF_PORT as CONF_PORT, CONF_PROTOCOL as CONF_PROTOCOL, CONF_USERNAME as CONF_USERNAME
|
@@ -28,15 +30,15 @@ BATTERY_WAKE_UPDATE_INTERVAL: int
|
|
28
30
|
_LOGGER: Incomplete
|
29
31
|
|
30
32
|
class ReolinkHost:
|
31
|
-
_hass:
|
33
|
+
_hass: HomeAssistant
|
32
34
|
_unique_id: str
|
33
35
|
_api: Incomplete
|
34
|
-
last_wake:
|
35
|
-
update_cmd:
|
36
|
-
firmware_ch_list:
|
36
|
+
last_wake: float
|
37
|
+
update_cmd: defaultdict[str, defaultdict[int | None, int]]
|
38
|
+
firmware_ch_list: list[int | None]
|
37
39
|
starting: bool
|
38
40
|
credential_errors: int
|
39
|
-
webhook_id:
|
41
|
+
webhook_id: str | None
|
40
42
|
_onvif_push_supported: bool
|
41
43
|
_onvif_long_poll_supported: bool
|
42
44
|
_base_url: str
|
@@ -44,13 +46,13 @@ class ReolinkHost:
|
|
44
46
|
_webhook_reachable: bool
|
45
47
|
_long_poll_received: bool
|
46
48
|
_long_poll_error: bool
|
47
|
-
_cancel_poll:
|
48
|
-
_cancel_tcp_push_check:
|
49
|
-
_cancel_onvif_check:
|
50
|
-
_cancel_long_poll_check:
|
49
|
+
_cancel_poll: CALLBACK_TYPE | None
|
50
|
+
_cancel_tcp_push_check: CALLBACK_TYPE | None
|
51
|
+
_cancel_onvif_check: CALLBACK_TYPE | None
|
52
|
+
_cancel_long_poll_check: CALLBACK_TYPE | None
|
51
53
|
_poll_job: Incomplete
|
52
54
|
_fast_poll_error: bool
|
53
|
-
_long_poll_task:
|
55
|
+
_long_poll_task: asyncio.Task | None
|
54
56
|
_lost_subscription: bool
|
55
57
|
def __init__(self, hass: HomeAssistant, config: Mapping[str, Any], options: Mapping[str, Any]) -> None: ...
|
56
58
|
def async_register_update_cmd(self, cmd: str, channel: int | None = None) -> None: ...
|
@@ -1,6 +1,6 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
|
-
from .
|
3
|
-
from .
|
2
|
+
from .util import get_host as get_host
|
3
|
+
from .views import async_generate_playback_proxy_url as async_generate_playback_proxy_url
|
4
4
|
from _typeshed import Incomplete
|
5
5
|
from homeassistant.components.camera import DynamicStreamSettings as DynamicStreamSettings
|
6
6
|
from homeassistant.components.media_player import MediaClass as MediaClass, MediaType as MediaType
|
@@ -13,7 +13,6 @@ _LOGGER: Incomplete
|
|
13
13
|
|
14
14
|
async def async_get_media_source(hass: HomeAssistant) -> ReolinkVODMediaSource: ...
|
15
15
|
def res_name(stream: str) -> str: ...
|
16
|
-
def get_host(hass: HomeAssistant, config_entry_id: str) -> ReolinkHost: ...
|
17
16
|
|
18
17
|
class ReolinkVODMediaSource(MediaSource):
|
19
18
|
name: str
|
@@ -34,9 +34,9 @@ class ReolinkUpdateBaseEntity(CoordinatorEntity[DataUpdateCoordinator[None]], Up
|
|
34
34
|
_attr_release_url: str
|
35
35
|
_channel: Incomplete
|
36
36
|
_host: Incomplete
|
37
|
-
_cancel_update:
|
38
|
-
_cancel_resume:
|
39
|
-
_cancel_progress:
|
37
|
+
_cancel_update: CALLBACK_TYPE | None
|
38
|
+
_cancel_resume: CALLBACK_TYPE | None
|
39
|
+
_cancel_progress: CALLBACK_TYPE | None
|
40
40
|
_installing: bool
|
41
41
|
_reolink_data: Incomplete
|
42
42
|
def __init__(self, reolink_data: ReolinkData, channel: int | None, coordinator: DataUpdateCoordinator[None]) -> None: ...
|
@@ -3,6 +3,7 @@ from .host import ReolinkHost as ReolinkHost
|
|
3
3
|
from collections.abc import Awaitable, Callable as Callable, Coroutine
|
4
4
|
from dataclasses import dataclass
|
5
5
|
from homeassistant import config_entries as config_entries
|
6
|
+
from homeassistant.components.media_source import Unresolvable as Unresolvable
|
6
7
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
7
8
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceValidationError as ServiceValidationError
|
8
9
|
from homeassistant.helpers import device_registry as dr
|
@@ -18,6 +19,7 @@ class ReolinkData:
|
|
18
19
|
def __init__(self, host, device_coordinator, firmware_coordinator) -> None: ...
|
19
20
|
|
20
21
|
def is_connected(hass: HomeAssistant, config_entry: config_entries.ConfigEntry) -> bool: ...
|
22
|
+
def get_host(hass: HomeAssistant, config_entry_id: str) -> ReolinkHost: ...
|
21
23
|
def get_device_uid_and_ch(device: dr.DeviceEntry, host: ReolinkHost) -> tuple[list[str], int | None, bool]: ...
|
22
24
|
T = TypeVar('T')
|
23
25
|
P = ParamSpec('P')
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from .util import get_host as get_host
|
2
|
+
from _typeshed import Incomplete
|
3
|
+
from aiohttp import web
|
4
|
+
from homeassistant.components.http import HomeAssistantView as HomeAssistantView
|
5
|
+
from homeassistant.components.media_source import Unresolvable as Unresolvable
|
6
|
+
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
|
7
|
+
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
|
+
from homeassistant.util.ssl import SSLCipherList as SSLCipherList
|
9
|
+
|
10
|
+
_LOGGER: Incomplete
|
11
|
+
|
12
|
+
def async_generate_playback_proxy_url(config_entry_id: str, channel: int, filename: str, stream_res: str, vod_type: str) -> str: ...
|
13
|
+
|
14
|
+
class PlaybackProxyView(HomeAssistantView):
|
15
|
+
requires_auth: bool
|
16
|
+
url: str
|
17
|
+
name: str
|
18
|
+
hass: Incomplete
|
19
|
+
session: Incomplete
|
20
|
+
def __init__(self, hass: HomeAssistant) -> None: ...
|
21
|
+
async def get(self, request: web.Request, config_entry_id: str, channel: str, stream_res: str, vod_type: str, filename: str, retry: int = 2) -> web.StreamResponse: ...
|
@@ -22,7 +22,7 @@ async def async_setup_platform(hass: HomeAssistant, config: ConfigType, async_ad
|
|
22
22
|
|
23
23
|
class RestBinarySensor(ManualTriggerEntity, RestEntity, BinarySensorEntity):
|
24
24
|
_previous_data: Incomplete
|
25
|
-
_value_template:
|
25
|
+
_value_template: Template | None
|
26
26
|
def __init__(self, hass: HomeAssistant, coordinator: DataUpdateCoordinator[None] | None, rest: RestData, config: ConfigType, trigger_entity_config: ConfigType) -> None: ...
|
27
27
|
@property
|
28
28
|
def available(self) -> bool: ...
|