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
@@ -25,7 +25,7 @@ async def _async_console_is_offline(hass: HomeAssistant, entry: ConfigEntry) ->
|
|
25
25
|
|
26
26
|
class ProtectFlowHandler(ConfigFlow, domain=DOMAIN):
|
27
27
|
VERSION: int
|
28
|
-
_discovered_device:
|
28
|
+
_discovered_device: dict[str, str]
|
29
29
|
def __init__(self) -> None: ...
|
30
30
|
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
|
31
31
|
async def async_step_ssdp(self, discovery_info: ssdp.SsdpServiceInfo) -> ConfigFlowResult: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from .const import AUTH_RETRIES as AUTH_RETRIES, CONF_DISABLE_RTSP as CONF_DISABLE_RTSP, CONF_MAX_MEDIA as CONF_MAX_MEDIA, DEFAULT_MAX_MEDIA as DEFAULT_MAX_MEDIA, DEVICES_THAT_ADOPT as DEVICES_THAT_ADOPT, DISPATCH_ADD as DISPATCH_ADD, DISPATCH_ADOPT as DISPATCH_ADOPT, DISPATCH_CHANNELS as DISPATCH_CHANNELS, DOMAIN as DOMAIN
|
2
2
|
from .utils import async_get_devices_by_type as async_get_devices_by_type
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from collections import defaultdict
|
4
5
|
from collections.abc import Callable as Callable, Generator, Iterable
|
5
6
|
from datetime import datetime, timedelta
|
6
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
@@ -23,9 +24,9 @@ class ProtectData:
|
|
23
24
|
_entry: Incomplete
|
24
25
|
_hass: Incomplete
|
25
26
|
_update_interval: Incomplete
|
26
|
-
_subscriptions:
|
27
|
-
_pending_camera_ids:
|
28
|
-
_unsubs:
|
27
|
+
_subscriptions: defaultdict[str, set[Callable[[ProtectDeviceType], None]]]
|
28
|
+
_pending_camera_ids: set[str]
|
29
|
+
_unsubs: list[CALLBACK_TYPE]
|
29
30
|
_auth_failures: int
|
30
31
|
last_update_success: bool
|
31
32
|
api: Incomplete
|
@@ -4,6 +4,7 @@ from enum import StrEnum
|
|
4
4
|
from homeassistant.const import EntityCategory
|
5
5
|
from homeassistant.helpers.entity import ABCCachedProperties, EntityDescription
|
6
6
|
from homeassistant.helpers.restore_state import RestoreEntity
|
7
|
+
from propcache import cached_property
|
7
8
|
from typing import Any
|
8
9
|
|
9
10
|
__all__ = ['ATTR_BACKUP', 'ATTR_INSTALLED_VERSION', 'ATTR_LATEST_VERSION', 'ATTR_VERSION', 'DEVICE_CLASSES_SCHEMA', 'DOMAIN', 'PLATFORM_SCHEMA_BASE', 'PLATFORM_SCHEMA', 'SERVICE_INSTALL', 'SERVICE_SKIP', 'UpdateDeviceClass', 'UpdateEntity', 'UpdateEntityDescription', 'UpdateEntityFeature']
|
@@ -17,11 +18,10 @@ class UpdateDeviceClass(StrEnum):
|
|
17
18
|
DEVICE_CLASSES_SCHEMA: Incomplete
|
18
19
|
|
19
20
|
class UpdateEntityDescription(EntityDescription, frozen_or_thawed=True):
|
20
|
-
device_class: UpdateDeviceClass | None
|
21
|
-
display_precision: int
|
22
|
-
entity_category: EntityCategory | None
|
21
|
+
device_class: UpdateDeviceClass | None = ...
|
22
|
+
display_precision: int = ...
|
23
|
+
entity_category: EntityCategory | None = ...
|
23
24
|
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=..., display_precision=...) -> None: ...
|
24
|
-
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=..., display_precision=...) -> None: ...
|
25
25
|
|
26
26
|
class UpdateEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_, metaclass=ABCCachedProperties):
|
27
27
|
_entity_component_unrecorded_attributes: Incomplete
|
@@ -40,21 +40,32 @@ class UpdateEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_
|
|
40
40
|
_attr_update_percentage: int | float | None
|
41
41
|
__skipped_version: str | None
|
42
42
|
__in_progress: bool
|
43
|
+
@cached_property
|
43
44
|
def auto_update(self) -> bool: ...
|
45
|
+
@cached_property
|
44
46
|
def installed_version(self) -> str | None: ...
|
45
47
|
def _default_to_device_class_name(self) -> bool: ...
|
48
|
+
@cached_property
|
46
49
|
def device_class(self) -> UpdateDeviceClass | None: ...
|
50
|
+
@cached_property
|
47
51
|
def display_precision(self) -> int: ...
|
48
52
|
@property
|
49
53
|
def entity_category(self) -> EntityCategory | None: ...
|
50
54
|
@property
|
51
55
|
def entity_picture(self) -> str | None: ...
|
56
|
+
@cached_property
|
52
57
|
def in_progress(self) -> bool | int | None: ...
|
58
|
+
@cached_property
|
53
59
|
def latest_version(self) -> str | None: ...
|
60
|
+
@cached_property
|
54
61
|
def release_summary(self) -> str | None: ...
|
62
|
+
@cached_property
|
55
63
|
def release_url(self) -> str | None: ...
|
64
|
+
@cached_property
|
56
65
|
def supported_features(self) -> UpdateEntityFeature: ...
|
66
|
+
@cached_property
|
57
67
|
def title(self) -> str | None: ...
|
68
|
+
@cached_property
|
58
69
|
def update_percentage(self) -> int | float | None: ...
|
59
70
|
async def async_skip(self) -> None: ...
|
60
71
|
async def async_clear_skipped(self) -> None: ...
|
@@ -1,11 +1,14 @@
|
|
1
1
|
import dataclasses
|
2
2
|
from .models import USBDevice
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from collections.abc import Coroutine
|
4
5
|
from homeassistant.core import CALLBACK_TYPE, Event, HomeAssistant
|
5
6
|
from homeassistant.data_entry_flow import BaseServiceInfo
|
7
|
+
from homeassistant.helpers.debounce import Debouncer
|
6
8
|
from homeassistant.loader import USBMatcher
|
7
9
|
from pyudev import Device, MonitorObserver
|
8
10
|
from serial.tools.list_ports_common import ListPortInfo
|
11
|
+
from typing import Any
|
9
12
|
|
10
13
|
__all__ = ['async_is_plugged_in', 'async_register_scan_request_callback', 'USBCallbackMatcher', 'UsbServiceInfo']
|
11
14
|
|
@@ -27,12 +30,12 @@ class UsbServiceInfo(BaseServiceInfo):
|
|
27
30
|
class USBDiscovery:
|
28
31
|
hass: Incomplete
|
29
32
|
usb: Incomplete
|
30
|
-
seen:
|
33
|
+
seen: set[tuple[str, ...]]
|
31
34
|
observer_active: bool
|
32
|
-
_request_debouncer:
|
33
|
-
_request_callbacks:
|
35
|
+
_request_debouncer: Debouncer[Coroutine[Any, Any, None]] | None
|
36
|
+
_request_callbacks: list[CALLBACK_TYPE]
|
34
37
|
initial_scan_done: bool
|
35
|
-
_initial_scan_callbacks:
|
38
|
+
_initial_scan_callbacks: list[CALLBACK_TYPE]
|
36
39
|
def __init__(self, hass: HomeAssistant, usb: list[USBMatcher]) -> None: ...
|
37
40
|
async def async_setup(self) -> None: ...
|
38
41
|
async def async_start(self, event: Event) -> None: ...
|
@@ -30,8 +30,8 @@ class UnifiVideoCamera(Camera):
|
|
30
30
|
_uuid: Incomplete
|
31
31
|
_attr_name: Incomplete
|
32
32
|
_password: Incomplete
|
33
|
-
_connect_addr:
|
34
|
-
_camera:
|
33
|
+
_connect_addr: str | None
|
34
|
+
_camera: UVCCameraClient | None
|
35
35
|
def __init__(self, camera: UVCRemote, uuid: str, name: str, password: str) -> None: ...
|
36
36
|
@property
|
37
37
|
def supported_features(self) -> CameraEntityFeature: ...
|
@@ -14,6 +14,7 @@ from homeassistant.helpers.icon import icon_for_battery_level as icon_for_batter
|
|
14
14
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
15
15
|
from homeassistant.loader import bind_hass as bind_hass
|
16
16
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
17
|
+
from propcache import cached_property
|
17
18
|
from typing import Any
|
18
19
|
|
19
20
|
_LOGGER: Incomplete
|
@@ -79,7 +80,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
79
80
|
|
80
81
|
class StateVacuumEntityDescription(EntityDescription, frozen_or_thawed=True):
|
81
82
|
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: ...
|
82
|
-
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: ...
|
83
83
|
|
84
84
|
STATE_VACUUM_CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
85
85
|
|
@@ -97,19 +97,26 @@ class StateVacuumEntity(Entity, cached_properties=STATE_VACUUM_CACHED_PROPERTIES
|
|
97
97
|
def __setattr__(self, name: str, value: Any) -> None: ...
|
98
98
|
def add_to_platform_start(self, hass: HomeAssistant, platform: EntityPlatform, parallel_updates: asyncio.Semaphore | None) -> None: ...
|
99
99
|
def _report_deprecated_activity_handling(self) -> None: ...
|
100
|
+
@cached_property
|
100
101
|
def battery_level(self) -> int | None: ...
|
101
102
|
@property
|
102
103
|
def battery_icon(self) -> str: ...
|
103
104
|
@property
|
104
105
|
def capability_attributes(self) -> dict[str, Any] | None: ...
|
106
|
+
@cached_property
|
105
107
|
def fan_speed(self) -> str | None: ...
|
108
|
+
@cached_property
|
106
109
|
def fan_speed_list(self) -> list[str]: ...
|
107
110
|
@property
|
108
111
|
def state_attributes(self) -> dict[str, Any]: ...
|
109
112
|
@property
|
110
113
|
def state(self) -> str | None: ...
|
114
|
+
@cached_property
|
111
115
|
def activity(self) -> VacuumActivity | None: ...
|
116
|
+
@cached_property
|
112
117
|
def supported_features(self) -> VacuumEntityFeature: ...
|
118
|
+
@property
|
119
|
+
def supported_features_compat(self) -> VacuumEntityFeature: ...
|
113
120
|
def stop(self, **kwargs: Any) -> None: ...
|
114
121
|
async def async_stop(self, **kwargs: Any) -> None: ...
|
115
122
|
def return_to_base(self, **kwargs: Any) -> None: ...
|
@@ -1,5 +1,4 @@
|
|
1
1
|
from .const import 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_NAME as CONF_NAME, CONF_PORT as CONF_PORT
|
@@ -8,7 +7,7 @@ from typing import Any
|
|
8
7
|
|
9
8
|
class VelbusConfigFlow(ConfigFlow, domain=DOMAIN):
|
10
9
|
VERSION: int
|
11
|
-
_errors:
|
10
|
+
_errors: dict[str, str]
|
12
11
|
_device: str
|
13
12
|
_title: str
|
14
13
|
def __init__(self) -> None: ...
|
@@ -12,7 +12,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry, async
|
|
12
12
|
|
13
13
|
class VelbusSensor(VelbusEntity, SensorEntity):
|
14
14
|
_channel: ButtonCounter | Temperature | LightSensor | SensorNumber
|
15
|
-
_is_counter:
|
15
|
+
_is_counter: bool
|
16
16
|
_attr_device_class: Incomplete
|
17
17
|
_attr_icon: str
|
18
18
|
_attr_name: Incomplete
|
@@ -14,7 +14,7 @@ async def get_by_station_number(client: WAQIClient, station_number: int) -> tupl
|
|
14
14
|
|
15
15
|
class WAQIConfigFlow(ConfigFlow, domain=DOMAIN):
|
16
16
|
VERSION: int
|
17
|
-
data:
|
17
|
+
data: dict[str, Any]
|
18
18
|
def __init__(self) -> None: ...
|
19
19
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
20
20
|
async def async_step_map(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -11,6 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent as EntityComp
|
|
11
11
|
from homeassistant.helpers.typing import ConfigType as ConfigType, VolDictType as VolDictType
|
12
12
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
13
13
|
from homeassistant.util.unit_conversion import TemperatureConverter as TemperatureConverter
|
14
|
+
from propcache import cached_property
|
14
15
|
from typing import Any
|
15
16
|
|
16
17
|
DATA_COMPONENT: HassKey[EntityComponent[WaterHeaterEntity]]
|
@@ -56,11 +57,9 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
56
57
|
|
57
58
|
class WaterHeaterEntityDescription(EntityDescription, frozen_or_thawed=True):
|
58
59
|
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: ...
|
59
|
-
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: ...
|
60
60
|
|
61
61
|
class WaterHeaterEntityEntityDescription(WaterHeaterEntityDescription, frozen_or_thawed=True):
|
62
62
|
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: ...
|
63
|
-
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: ...
|
64
63
|
|
65
64
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
66
65
|
|
@@ -88,13 +87,21 @@ class WaterHeaterEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
88
87
|
def capability_attributes(self) -> dict[str, Any]: ...
|
89
88
|
@property
|
90
89
|
def state_attributes(self) -> dict[str, Any]: ...
|
90
|
+
@cached_property
|
91
91
|
def temperature_unit(self) -> str: ...
|
92
|
+
@cached_property
|
92
93
|
def current_operation(self) -> str | None: ...
|
94
|
+
@cached_property
|
93
95
|
def operation_list(self) -> list[str] | None: ...
|
96
|
+
@cached_property
|
94
97
|
def current_temperature(self) -> float | None: ...
|
98
|
+
@cached_property
|
95
99
|
def target_temperature(self) -> float | None: ...
|
100
|
+
@cached_property
|
96
101
|
def target_temperature_high(self) -> float | None: ...
|
102
|
+
@cached_property
|
97
103
|
def target_temperature_low(self) -> float | None: ...
|
104
|
+
@cached_property
|
98
105
|
def is_away_mode_on(self) -> bool | None: ...
|
99
106
|
def set_temperature(self, **kwargs: Any) -> None: ...
|
100
107
|
async def async_set_temperature(self, **kwargs: Any) -> None: ...
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import voluptuous as vol
|
2
2
|
from .const import CONF_BALANCING_AUTHORITY as CONF_BALANCING_AUTHORITY, CONF_BALANCING_AUTHORITY_ABBREV as CONF_BALANCING_AUTHORITY_ABBREV, DOMAIN as DOMAIN, LOGGER as LOGGER
|
3
3
|
from _typeshed import Incomplete
|
4
|
+
from aiowatttime import Client
|
4
5
|
from collections.abc import Mapping
|
5
6
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow
|
6
7
|
from homeassistant.const import CONF_LATITUDE as CONF_LATITUDE, CONF_LONGITUDE as CONF_LONGITUDE, CONF_PASSWORD as CONF_PASSWORD, CONF_SHOW_ON_MAP as CONF_SHOW_ON_MAP, CONF_USERNAME as CONF_USERNAME
|
@@ -20,8 +21,8 @@ def get_unique_id(data: dict[str, Any]) -> str: ...
|
|
20
21
|
|
21
22
|
class WattTimeConfigFlow(ConfigFlow, domain=DOMAIN):
|
22
23
|
VERSION: int
|
23
|
-
_client:
|
24
|
-
_data:
|
24
|
+
_client: Client | None
|
25
|
+
_data: dict[str, Any]
|
25
26
|
def __init__(self) -> None: ...
|
26
27
|
async def _async_validate_credentials(self, username: str, password: str, error_step_id: str, error_schema: vol.Schema) -> ConfigFlowResult: ...
|
27
28
|
@staticmethod
|
@@ -14,6 +14,7 @@ from homeassistant.helpers.update_coordinator import CoordinatorEntity as Coordi
|
|
14
14
|
from homeassistant.util.dt import utcnow as utcnow
|
15
15
|
from homeassistant.util.json import JsonValueType as JsonValueType
|
16
16
|
from homeassistant.util.unit_system import US_CUSTOMARY_SYSTEM as US_CUSTOMARY_SYSTEM
|
17
|
+
from propcache import cached_property
|
17
18
|
from typing import Any, Final, Generic, Literal, Required, TypedDict
|
18
19
|
from typing_extensions import TypeVar
|
19
20
|
|
@@ -100,7 +101,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
100
101
|
|
101
102
|
class WeatherEntityDescription(EntityDescription, frozen_or_thawed=True):
|
102
103
|
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: ...
|
103
|
-
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: ...
|
104
104
|
|
105
105
|
class PostInitMeta(ABCCachedProperties):
|
106
106
|
def __call__(cls, *args: Any, **kwargs: Any) -> Any: ...
|
@@ -141,33 +141,49 @@ class WeatherEntity(Entity, PostInit, cached_properties=CACHED_PROPERTIES_WITH_A
|
|
141
141
|
_weather_option_wind_speed_unit: str | None
|
142
142
|
def __post_init__(self, *args: Any, **kwargs: Any) -> None: ...
|
143
143
|
async def async_internal_added_to_hass(self) -> None: ...
|
144
|
+
@cached_property
|
144
145
|
def native_apparent_temperature(self) -> float | None: ...
|
146
|
+
@cached_property
|
145
147
|
def native_temperature(self) -> float | None: ...
|
148
|
+
@cached_property
|
146
149
|
def native_temperature_unit(self) -> str | None: ...
|
150
|
+
@cached_property
|
147
151
|
def native_dew_point(self) -> float | None: ...
|
148
152
|
@property
|
149
153
|
def _default_temperature_unit(self) -> str: ...
|
150
154
|
@property
|
151
155
|
def _temperature_unit(self) -> str: ...
|
156
|
+
@cached_property
|
152
157
|
def native_pressure(self) -> float | None: ...
|
158
|
+
@cached_property
|
153
159
|
def native_pressure_unit(self) -> str | None: ...
|
154
160
|
@property
|
155
161
|
def _default_pressure_unit(self) -> str: ...
|
156
162
|
@property
|
157
163
|
def _pressure_unit(self) -> str: ...
|
164
|
+
@cached_property
|
158
165
|
def humidity(self) -> float | None: ...
|
166
|
+
@cached_property
|
159
167
|
def native_wind_gust_speed(self) -> float | None: ...
|
168
|
+
@cached_property
|
160
169
|
def native_wind_speed(self) -> float | None: ...
|
170
|
+
@cached_property
|
161
171
|
def native_wind_speed_unit(self) -> str | None: ...
|
162
172
|
@property
|
163
173
|
def _default_wind_speed_unit(self) -> str: ...
|
164
174
|
@property
|
165
175
|
def _wind_speed_unit(self) -> str: ...
|
176
|
+
@cached_property
|
166
177
|
def wind_bearing(self) -> float | str | None: ...
|
178
|
+
@cached_property
|
167
179
|
def ozone(self) -> float | None: ...
|
180
|
+
@cached_property
|
168
181
|
def cloud_coverage(self) -> float | None: ...
|
182
|
+
@cached_property
|
169
183
|
def uv_index(self) -> float | None: ...
|
184
|
+
@cached_property
|
170
185
|
def native_visibility(self) -> float | None: ...
|
186
|
+
@cached_property
|
171
187
|
def native_visibility_unit(self) -> str | None: ...
|
172
188
|
@property
|
173
189
|
def _default_visibility_unit(self) -> str: ...
|
@@ -176,6 +192,7 @@ class WeatherEntity(Entity, PostInit, cached_properties=CACHED_PROPERTIES_WITH_A
|
|
176
192
|
async def async_forecast_daily(self) -> list[Forecast] | None: ...
|
177
193
|
async def async_forecast_twice_daily(self) -> list[Forecast] | None: ...
|
178
194
|
async def async_forecast_hourly(self) -> list[Forecast] | None: ...
|
195
|
+
@cached_property
|
179
196
|
def native_precipitation_unit(self) -> str | None: ...
|
180
197
|
@property
|
181
198
|
def _default_precipitation_unit(self) -> str: ...
|
@@ -188,6 +205,7 @@ class WeatherEntity(Entity, PostInit, cached_properties=CACHED_PROPERTIES_WITH_A
|
|
188
205
|
def _convert_forecast(self, native_forecast_list: list[Forecast]) -> list[JsonValueType]: ...
|
189
206
|
@property
|
190
207
|
def state(self) -> str | None: ...
|
208
|
+
@cached_property
|
191
209
|
def condition(self) -> str | None: ...
|
192
210
|
def async_registry_entry_updated(self) -> None: ...
|
193
211
|
def _async_subscription_started(self, forecast_type: Literal['daily', 'hourly', 'twice_daily']) -> None: ...
|
@@ -201,7 +219,7 @@ async def async_get_forecasts_service(weather: WeatherEntity, service_call: Serv
|
|
201
219
|
class CoordinatorWeatherEntity(CoordinatorEntity[_ObservationUpdateCoordinatorT], WeatherEntity, Generic[_ObservationUpdateCoordinatorT, _DailyForecastUpdateCoordinatorT, _HourlyForecastUpdateCoordinatorT, _TwiceDailyForecastUpdateCoordinatorT]):
|
202
220
|
forecast_coordinators: Incomplete
|
203
221
|
forecast_valid: Incomplete
|
204
|
-
unsub_forecast:
|
222
|
+
unsub_forecast: dict[str, Callable[[], None] | None]
|
205
223
|
def __init__(self, observation_coordinator: _ObservationUpdateCoordinatorT, *, context: Any = None, daily_coordinator: _DailyForecastUpdateCoordinatorT | None = None, hourly_coordinator: _HourlyForecastUpdateCoordinatorT | None = None, twice_daily_coordinator: _TwiceDailyForecastUpdateCoordinatorT | None = None, daily_forecast_valid: timedelta | None = None, hourly_forecast_valid: timedelta | None = None, twice_daily_forecast_valid: timedelta | None = None) -> None: ...
|
206
224
|
async def async_added_to_hass(self) -> None: ...
|
207
225
|
def _remove_forecast_listener(self, forecast_type: Literal['daily', 'hourly', 'twice_daily']) -> None: ...
|
@@ -17,7 +17,7 @@ class FlowHandler(ConfigFlow, domain=DOMAIN):
|
|
17
17
|
VERSION: int
|
18
18
|
_host: str
|
19
19
|
_name: str
|
20
|
-
_uuid:
|
20
|
+
_uuid: str | None
|
21
21
|
def __init__(self) -> None: ...
|
22
22
|
@staticmethod
|
23
23
|
def async_get_options_flow(config_entry: ConfigEntry) -> OptionsFlow: ...
|
@@ -41,7 +41,7 @@ class LgWebOSMediaPlayerEntity(RestoreEntity, MediaPlayerEntity):
|
|
41
41
|
_paused: bool
|
42
42
|
_turn_on: Incomplete
|
43
43
|
_current_source: Incomplete
|
44
|
-
_source_list:
|
44
|
+
_source_list: dict
|
45
45
|
_supported_features: Incomplete
|
46
46
|
def __init__(self, entry: ConfigEntry, client: WebOsClient) -> None: ...
|
47
47
|
async def async_added_to_hass(self) -> None: ...
|
@@ -1,16 +1,17 @@
|
|
1
|
+
import voluptuous as vol
|
1
2
|
from . import const as const, messages as messages
|
2
3
|
from .http import WebSocketAdapter as WebSocketAdapter
|
3
4
|
from .messages import error_message as error_message, event_message as event_message, message_to_json_bytes as message_to_json_bytes, result_message as result_message
|
4
5
|
from .util import describe_request as describe_request
|
5
6
|
from _typeshed import Incomplete
|
6
7
|
from aiohttp import web as web
|
7
|
-
from collections.abc import Callable
|
8
|
+
from collections.abc import Callable, Hashable
|
8
9
|
from homeassistant.auth.models import RefreshToken as RefreshToken, User as User
|
9
10
|
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, callback as callback
|
10
11
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, Unauthorized as Unauthorized
|
11
12
|
from homeassistant.helpers.http import current_request as current_request
|
12
13
|
from homeassistant.util.json import JsonValueType as JsonValueType
|
13
|
-
from typing import Any
|
14
|
+
from typing import Any, Literal
|
14
15
|
|
15
16
|
current_connection: Incomplete
|
16
17
|
type MessageHandler = Callable[[HomeAssistant, ActiveConnection, dict[str, Any]], None]
|
@@ -23,12 +24,12 @@ class ActiveConnection:
|
|
23
24
|
send_message: Incomplete
|
24
25
|
user: Incomplete
|
25
26
|
refresh_token_id: Incomplete
|
26
|
-
subscriptions:
|
27
|
+
subscriptions: dict[Hashable, Callable[[], Any]]
|
27
28
|
last_id: int
|
28
29
|
can_coalesce: bool
|
29
|
-
supported_features:
|
30
|
-
handlers:
|
31
|
-
binary_handlers:
|
30
|
+
supported_features: dict[str, float]
|
31
|
+
handlers: dict[str, tuple[MessageHandler, vol.Schema | Literal[False]]]
|
32
|
+
binary_handlers: list[BinaryHandler | None]
|
32
33
|
def __init__(self, logger: WebSocketAdapter, hass: HomeAssistant, send_message: Callable[[bytes | str | dict[str, Any]], None], user: User, refresh_token: RefreshToken) -> None: ...
|
33
34
|
def __repr__(self) -> str: ...
|
34
35
|
def set_supported_features(self, features: dict[str, float]) -> None: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
import datetime as dt
|
2
3
|
import logging
|
3
4
|
from .auth import AUTH_REQUIRED_MESSAGE as AUTH_REQUIRED_MESSAGE, AuthPhase as AuthPhase
|
@@ -9,6 +10,7 @@ from .util import describe_request as describe_request
|
|
9
10
|
from _typeshed import Incomplete
|
10
11
|
from aiohttp import web
|
11
12
|
from aiohttp.http_websocket import WebSocketWriter as WebSocketWriter
|
13
|
+
from collections import deque
|
12
14
|
from collections.abc import Callable as Callable, Coroutine
|
13
15
|
from homeassistant.components.http import HomeAssistantView as HomeAssistantView, KEY_HASS as KEY_HASS
|
14
16
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP
|
@@ -35,17 +37,17 @@ class WebSocketHandler:
|
|
35
37
|
__slots__: Incomplete
|
36
38
|
_hass: Incomplete
|
37
39
|
_loop: Incomplete
|
38
|
-
_request:
|
40
|
+
_request: web.Request
|
39
41
|
_wsock: Incomplete
|
40
|
-
_handle_task:
|
41
|
-
_writer_task:
|
42
|
+
_handle_task: asyncio.Task | None
|
43
|
+
_writer_task: asyncio.Task | None
|
42
44
|
_closing: bool
|
43
45
|
_authenticated: bool
|
44
46
|
_logger: Incomplete
|
45
|
-
_peak_checker_unsub:
|
46
|
-
_connection:
|
47
|
-
_message_queue:
|
48
|
-
_ready_future:
|
47
|
+
_peak_checker_unsub: Callable[[], None] | None
|
48
|
+
_connection: ActiveConnection | None
|
49
|
+
_message_queue: deque[bytes]
|
50
|
+
_ready_future: asyncio.Future[int] | None
|
49
51
|
_release_ready_queue_size: int
|
50
52
|
def __init__(self, hass: HomeAssistant, request: web.Request) -> None: ...
|
51
53
|
def __repr__(self) -> str: ...
|
@@ -33,10 +33,10 @@ async def async_wemo_dispatcher_connect(hass: HomeAssistant, dispatch: DispatchC
|
|
33
33
|
|
34
34
|
class WemoDispatcher:
|
35
35
|
_config_entry: Incomplete
|
36
|
-
_added_serial_numbers:
|
37
|
-
_failed_serial_numbers:
|
38
|
-
_dispatch_backlog:
|
39
|
-
_dispatch_callbacks:
|
36
|
+
_added_serial_numbers: set[str]
|
37
|
+
_failed_serial_numbers: set[str]
|
38
|
+
_dispatch_backlog: dict[Platform, list[DeviceCoordinator]]
|
39
|
+
_dispatch_callbacks: dict[Platform, DispatchCallback]
|
40
40
|
def __init__(self, config_entry: ConfigEntry) -> None: ...
|
41
41
|
async def async_add_unique_device(self, hass: HomeAssistant, wemo: pywemo.WeMoDevice) -> None: ...
|
42
42
|
async def async_connect_platform(self, platform: Platform, dispatch: DispatchCallback) -> None: ...
|
@@ -47,10 +47,10 @@ class WemoDiscovery:
|
|
47
47
|
MAX_SECONDS_BETWEEN_SCANS: int
|
48
48
|
_hass: Incomplete
|
49
49
|
_wemo_dispatcher: Incomplete
|
50
|
-
_stop:
|
50
|
+
_stop: CALLBACK_TYPE | None
|
51
51
|
_scan_delay: int
|
52
52
|
_static_config: Incomplete
|
53
|
-
_discover_job:
|
53
|
+
_discover_job: HassJob[[datetime], None] | None
|
54
54
|
_entry: Incomplete
|
55
55
|
def __init__(self, hass: HomeAssistant, wemo_dispatcher: WemoDispatcher, static_config: Sequence[HostPortTuple], entry: ConfigEntry) -> None: ...
|
56
56
|
async def async_discover_and_schedule(self, event_time: datetime | None = None) -> None: ...
|
@@ -19,7 +19,7 @@ class WithingsDataUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT], metac
|
|
19
19
|
coordinator_name: str
|
20
20
|
name: Incomplete
|
21
21
|
_client: Incomplete
|
22
|
-
notification_categories:
|
22
|
+
notification_categories: set[NotificationCategory]
|
23
23
|
def __init__(self, hass: HomeAssistant, client: WithingsClient) -> None: ...
|
24
24
|
update_interval: Incomplete
|
25
25
|
def webhook_subscription_listener(self, connected: bool) -> None: ...
|
@@ -31,7 +31,7 @@ class WithingsDataUpdateCoordinator[_DataT](DataUpdateCoordinator[_DataT], metac
|
|
31
31
|
class WithingsMeasurementDataUpdateCoordinator(WithingsDataUpdateCoordinator[dict[tuple[MeasurementType, MeasurementPosition | None], float]]):
|
32
32
|
coordinator_name: str
|
33
33
|
notification_categories: Incomplete
|
34
|
-
_previous_data:
|
34
|
+
_previous_data: dict[tuple[MeasurementType, MeasurementPosition | None], float]
|
35
35
|
def __init__(self, hass: HomeAssistant, client: WithingsClient) -> None: ...
|
36
36
|
_last_valid_update: Incomplete
|
37
37
|
async def _internal_update_data(self) -> dict[tuple[MeasurementType, MeasurementPosition | None], float]: ...
|
@@ -17,7 +17,7 @@ class WizConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
17
17
|
VERSION: int
|
18
18
|
_discovered_device: DiscoveredBulb
|
19
19
|
_name: str
|
20
|
-
_discovered_devices:
|
20
|
+
_discovered_devices: dict[str, DiscoveredBulb]
|
21
21
|
def __init__(self) -> None: ...
|
22
22
|
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> ConfigFlowResult: ...
|
23
23
|
async def async_step_integration_discovery(self, discovery_info: dict[str, str]) -> ConfigFlowResult: ...
|
@@ -11,7 +11,7 @@ class WLEDDataUpdateCoordinator(DataUpdateCoordinator[WLEDDevice]):
|
|
11
11
|
keep_main_light: bool
|
12
12
|
config_entry: ConfigEntry
|
13
13
|
wled: Incomplete
|
14
|
-
unsub:
|
14
|
+
unsub: CALLBACK_TYPE | None
|
15
15
|
def __init__(self, hass: HomeAssistant, *, entry: ConfigEntry) -> None: ...
|
16
16
|
@property
|
17
17
|
def has_main_light(self) -> bool: ...
|
@@ -11,7 +11,7 @@ from typing import Any
|
|
11
11
|
|
12
12
|
class CountryFixFlow(RepairsFlow):
|
13
13
|
entry: Incomplete
|
14
|
-
country:
|
14
|
+
country: str | None
|
15
15
|
def __init__(self, entry: ConfigEntry, country: str | None) -> None: ...
|
16
16
|
async def async_step_init(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
|
17
17
|
async def async_step_country(self, user_input: dict[str, Any] | None = None) -> data_entry_flow.FlowResult: ...
|
@@ -19,8 +19,8 @@ class CountryFixFlow(RepairsFlow):
|
|
19
19
|
|
20
20
|
class HolidayFixFlow(RepairsFlow):
|
21
21
|
entry: Incomplete
|
22
|
-
country:
|
23
|
-
named_holiday:
|
22
|
+
country: str | None
|
23
|
+
named_holiday: str
|
24
24
|
def __init__(self, entry: ConfigEntry, country: str | None, named_holiday: str) -> None: ...
|
25
25
|
async def async_step_init(self, user_input: dict[str, str] | None = None) -> data_entry_flow.FlowResult: ...
|
26
26
|
async def async_step_fix_remove_holiday(self, user_input: dict[str, Any] | None = None) -> data_entry_flow.FlowResult: ...
|
@@ -25,9 +25,9 @@ def _title(discovery_info: BluetoothServiceInfo, device: DeviceData) -> str: ...
|
|
25
25
|
|
26
26
|
class XiaomiConfigFlow(ConfigFlow, domain=DOMAIN):
|
27
27
|
VERSION: int
|
28
|
-
_discovery_info:
|
29
|
-
_discovered_device:
|
30
|
-
_discovered_devices:
|
28
|
+
_discovery_info: BluetoothServiceInfo | None
|
29
|
+
_discovered_device: DeviceData | None
|
30
|
+
_discovered_devices: dict[str, Discovery]
|
31
31
|
def __init__(self) -> None: ...
|
32
32
|
async def _async_wait_for_full_advertisement(self, discovery_info: BluetoothServiceInfo, device: DeviceData) -> BluetoothServiceInfo: ...
|
33
33
|
async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfo) -> ConfigFlowResult: ...
|
@@ -1,17 +1,17 @@
|
|
1
1
|
from . import YaleConfigEntry as YaleConfigEntry
|
2
2
|
from .const import DEFAULT_SCAN_INTERVAL as DEFAULT_SCAN_INTERVAL, DOMAIN as DOMAIN, LOGGER as LOGGER, YALE_BASE_ERRORS as YALE_BASE_ERRORS
|
3
|
-
from _typeshed import Incomplete
|
4
3
|
from homeassistant.const import CONF_PASSWORD as CONF_PASSWORD, CONF_USERNAME as CONF_USERNAME
|
5
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
5
|
from homeassistant.exceptions import ConfigEntryAuthFailed as ConfigEntryAuthFailed
|
7
6
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator, UpdateFailed as UpdateFailed
|
8
7
|
from typing import Any
|
8
|
+
from yalesmartalarmclient import YaleLock
|
9
9
|
from yalesmartalarmclient.client import YaleSmartAlarmClient
|
10
10
|
|
11
11
|
class YaleDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
12
12
|
yale: YaleSmartAlarmClient
|
13
13
|
config_entry: YaleConfigEntry
|
14
|
-
locks:
|
14
|
+
locks: list[YaleLock]
|
15
15
|
def __init__(self, hass: HomeAssistant, config_entry: YaleConfigEntry) -> None: ...
|
16
16
|
async def _async_setup(self) -> None: ...
|
17
17
|
async def _async_update_data(self) -> dict[str, Any]: ...
|
@@ -9,13 +9,13 @@ from yalesmartalarmclient import YaleLock as YaleLock
|
|
9
9
|
|
10
10
|
class YaleEntity(CoordinatorEntity[YaleDataUpdateCoordinator]):
|
11
11
|
_attr_has_entity_name: bool
|
12
|
-
_attr_unique_id:
|
13
|
-
_attr_device_info:
|
12
|
+
_attr_unique_id: str
|
13
|
+
_attr_device_info: DeviceInfo
|
14
14
|
def __init__(self, coordinator: YaleDataUpdateCoordinator, data: dict) -> None: ...
|
15
15
|
|
16
16
|
class YaleLockEntity(CoordinatorEntity[YaleDataUpdateCoordinator]):
|
17
17
|
_attr_has_entity_name: bool
|
18
|
-
_attr_unique_id:
|
18
|
+
_attr_unique_id: str
|
19
19
|
_attr_device_info: Incomplete
|
20
20
|
lock_data: Incomplete
|
21
21
|
def __init__(self, coordinator: YaleDataUpdateCoordinator, lock: YaleLock) -> None: ...
|
@@ -10,6 +10,7 @@ from homeassistant.core import callback as callback
|
|
10
10
|
from homeassistant.data_entry_flow import AbortFlow as AbortFlow
|
11
11
|
from homeassistant.helpers.typing import DiscoveryInfoType as DiscoveryInfoType
|
12
12
|
from typing import Any, Self
|
13
|
+
from yalexs_ble import ValidatedLockConfig
|
13
14
|
|
14
15
|
_LOGGER: Incomplete
|
15
16
|
|
@@ -21,9 +22,9 @@ class YalexsConfigFlow(ConfigFlow, domain=DOMAIN):
|
|
21
22
|
_local_name_is_unique: bool
|
22
23
|
active: bool
|
23
24
|
local_name: str | None
|
24
|
-
_discovery_info:
|
25
|
-
_discovered_devices:
|
26
|
-
_lock_cfg:
|
25
|
+
_discovery_info: BluetoothServiceInfoBleak | None
|
26
|
+
_discovered_devices: dict[str, BluetoothServiceInfoBleak]
|
27
|
+
_lock_cfg: ValidatedLockConfig | None
|
27
28
|
def __init__(self) -> None: ...
|
28
29
|
async def async_step_bluetooth(self, discovery_info: BluetoothServiceInfoBleak) -> ConfigFlowResult: ...
|
29
30
|
async def async_step_integration_discovery(self, discovery_info: DiscoveryInfoType) -> ConfigFlowResult: ...
|