homeassistant-stubs 2025.1.0b9__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/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/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/host.pyi +12 -10
- homeassistant-stubs/components/reolink/update.pyi +3 -3
- 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.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/RECORD +641 -641
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.1.0b9.dist-info → homeassistant_stubs-2025.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -31,10 +31,10 @@ class EsphomeAssistSatellite(EsphomeAssistEntity, assist_satellite.AssistSatelli
|
|
31
31
|
entry_data: Incomplete
|
32
32
|
cli: Incomplete
|
33
33
|
_is_running: bool
|
34
|
-
_pipeline_task:
|
35
|
-
_audio_queue:
|
36
|
-
_tts_streaming_task:
|
37
|
-
_udp_server:
|
34
|
+
_pipeline_task: asyncio.Task | None
|
35
|
+
_audio_queue: asyncio.Queue[bytes | None]
|
36
|
+
_tts_streaming_task: asyncio.Task | None
|
37
|
+
_udp_server: VoiceAssistantUDPServer | None
|
38
38
|
_satellite_config: Incomplete
|
39
39
|
def __init__(self, config_entry: ConfigEntry, entry_data: RuntimeEntryData) -> None: ...
|
40
40
|
@property
|
@@ -1,8 +1,7 @@
|
|
1
1
|
from .entry_data import RuntimeEntryData as RuntimeEntryData
|
2
2
|
from aioesphomeapi import APIClient as APIClient, DeviceInfo as DeviceInfo
|
3
|
-
from bleak_esphome.backend.cache import ESPHomeBluetoothCache as ESPHomeBluetoothCache
|
4
3
|
from homeassistant.components.bluetooth import async_register_scanner as async_register_scanner
|
5
4
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, HomeAssistant as HomeAssistant
|
6
5
|
|
7
6
|
def _async_unload(unload_callbacks: list[CALLBACK_TYPE]) -> None: ...
|
8
|
-
def async_connect_scanner(hass: HomeAssistant, entry_data: RuntimeEntryData, cli: APIClient, device_info: DeviceInfo
|
7
|
+
def async_connect_scanner(hass: HomeAssistant, entry_data: RuntimeEntryData, cli: APIClient, device_info: DeviceInfo) -> CALLBACK_TYPE: ...
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import asyncio
|
1
2
|
from .entity import EsphomeEntity as EsphomeEntity, platform_async_setup_entry as platform_async_setup_entry
|
2
3
|
from _typeshed import Incomplete
|
3
4
|
from aioesphomeapi import CameraInfo, CameraState
|
@@ -10,7 +11,7 @@ from typing import Any
|
|
10
11
|
|
11
12
|
class EsphomeCamera(Camera, EsphomeEntity[CameraInfo, CameraState]):
|
12
13
|
_loop: Incomplete
|
13
|
-
_image_futures:
|
14
|
+
_image_futures: list[asyncio.Future[bool | None]]
|
14
15
|
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
15
16
|
def _set_futures(self, result: bool) -> None: ...
|
16
17
|
def _on_device_update(self) -> None: ...
|
@@ -22,14 +22,14 @@ ZERO_NOISE_PSK: str
|
|
22
22
|
class EsphomeFlowHandler(ConfigFlow, domain=DOMAIN):
|
23
23
|
VERSION: int
|
24
24
|
_reauth_entry: ConfigEntry
|
25
|
-
_host:
|
26
|
-
__name:
|
27
|
-
_port:
|
28
|
-
_password:
|
29
|
-
_noise_required:
|
30
|
-
_noise_psk:
|
31
|
-
_device_info:
|
32
|
-
_device_name:
|
25
|
+
_host: str | None
|
26
|
+
__name: str | None
|
27
|
+
_port: int | None
|
28
|
+
_password: str | None
|
29
|
+
_noise_required: bool | None
|
30
|
+
_noise_psk: str | None
|
31
|
+
_device_info: DeviceInfo | None
|
32
|
+
_device_name: str | None
|
33
33
|
def __init__(self) -> None: ...
|
34
34
|
async def _async_step_user_base(self, user_input: dict[str, Any] | None = None, error: str | None = None) -> ConfigFlowResult: ...
|
35
35
|
async def async_step_user(self, user_input: dict[str, Any] | None = None) -> ConfigFlowResult: ...
|
@@ -11,6 +11,6 @@ class ESPHomeDashboardCoordinator(DataUpdateCoordinator[dict[str, ConfiguredDevi
|
|
11
11
|
addon_slug: Incomplete
|
12
12
|
url: Incomplete
|
13
13
|
api: Incomplete
|
14
|
-
supports_update:
|
14
|
+
supports_update: bool | None
|
15
15
|
def __init__(self, hass: HomeAssistant, addon_slug: str, url: str, session: aiohttp.ClientSession) -> None: ...
|
16
16
|
async def _async_update_data(self) -> dict: ...
|
@@ -7,6 +7,7 @@ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, H
|
|
7
7
|
from homeassistant.helpers.aiohttp_client import async_get_clientsession as async_get_clientsession
|
8
8
|
from homeassistant.helpers.singleton import singleton as singleton
|
9
9
|
from homeassistant.helpers.storage import Store as Store
|
10
|
+
from typing import Any
|
10
11
|
|
11
12
|
_LOGGER: Incomplete
|
12
13
|
KEY_DASHBOARD_MANAGER: str
|
@@ -18,10 +19,10 @@ async def async_get_or_create_dashboard_manager(hass: HomeAssistant) -> ESPHomeD
|
|
18
19
|
|
19
20
|
class ESPHomeDashboardManager:
|
20
21
|
_hass: Incomplete
|
21
|
-
_store:
|
22
|
-
_data:
|
23
|
-
_current_dashboard:
|
24
|
-
_cancel_shutdown:
|
22
|
+
_store: Store[dict[str, Any]]
|
23
|
+
_data: dict[str, Any] | None
|
24
|
+
_current_dashboard: ESPHomeDashboardCoordinator | None
|
25
|
+
_cancel_shutdown: CALLBACK_TYPE | None
|
25
26
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
26
27
|
async def async_setup(self) -> None: ...
|
27
28
|
def async_get(self) -> ESPHomeDashboardCoordinator | None: ...
|
@@ -1,6 +1,5 @@
|
|
1
1
|
from .const import DOMAIN as DOMAIN
|
2
2
|
from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry, ESPHomeStorage as ESPHomeStorage, RuntimeEntryData as RuntimeEntryData
|
3
|
-
from bleak_esphome.backend.cache import ESPHomeBluetoothCache
|
4
3
|
from dataclasses import dataclass
|
5
4
|
from homeassistant.core import HomeAssistant as HomeAssistant
|
6
5
|
from homeassistant.helpers.json import JSONEncoder as JSONEncoder
|
@@ -11,9 +10,8 @@ STORAGE_VERSION: int
|
|
11
10
|
@dataclass(slots=True)
|
12
11
|
class DomainData:
|
13
12
|
_stores: dict[str, ESPHomeStorage] = ...
|
14
|
-
bluetooth_cache: ESPHomeBluetoothCache = ...
|
15
13
|
def get_entry_data(self, entry: ESPHomeConfigEntry) -> RuntimeEntryData: ...
|
16
14
|
def get_or_create_store(self, hass: HomeAssistant, entry: ESPHomeConfigEntry) -> ESPHomeStorage: ...
|
17
15
|
@classmethod
|
18
16
|
def get(cls, hass: HomeAssistant) -> Self: ...
|
19
|
-
def __init__(self, _stores
|
17
|
+
def __init__(self, _stores=...) -> None: ...
|
@@ -57,7 +57,7 @@ class EsphomeEntity(Entity, Generic[_InfoT, _StateT]):
|
|
57
57
|
class EsphomeAssistEntity(Entity):
|
58
58
|
_attr_has_entity_name: bool
|
59
59
|
_attr_should_poll: bool
|
60
|
-
_entry_data:
|
60
|
+
_entry_data: RuntimeEntryData
|
61
61
|
_device_info: Incomplete
|
62
62
|
_attr_unique_id: Incomplete
|
63
63
|
_attr_device_info: Incomplete
|
@@ -4,7 +4,7 @@ from typing import overload
|
|
4
4
|
|
5
5
|
class EsphomeEnumMapper[_EnumT: APIIntEnum, _ValT]:
|
6
6
|
_mapping: Incomplete
|
7
|
-
_inverse:
|
7
|
+
_inverse: dict[_ValT, _EnumT]
|
8
8
|
def __init__(self, mapping: dict[_EnumT, _ValT]) -> None: ...
|
9
9
|
@overload
|
10
10
|
def from_esphome(self, value: _EnumT) -> _ValT: ...
|
@@ -4,7 +4,7 @@ from .dashboard import async_get_dashboard as async_get_dashboard
|
|
4
4
|
from .domain_data import DomainData as DomainData
|
5
5
|
from .entry_data import ESPHomeConfigEntry as ESPHomeConfigEntry, RuntimeEntryData as RuntimeEntryData
|
6
6
|
from _typeshed import Incomplete
|
7
|
-
from aioesphomeapi import APIClient as APIClient, APIVersion as APIVersion, DeviceInfo as EsphomeDeviceInfo, EntityInfo as EntityInfo, HomeassistantServiceCall as HomeassistantServiceCall, UserService as UserService
|
7
|
+
from aioesphomeapi import APIClient as APIClient, APIVersion as APIVersion, DeviceInfo as EsphomeDeviceInfo, EntityInfo as EntityInfo, HomeassistantServiceCall as HomeassistantServiceCall, ReconnectLogic, UserService as UserService
|
8
8
|
from homeassistant.components import tag as tag, zeroconf as zeroconf
|
9
9
|
from homeassistant.const import ATTR_DEVICE_ID as ATTR_DEVICE_ID, CONF_MODE as CONF_MODE, EVENT_HOMEASSISTANT_CLOSE as EVENT_HOMEASSISTANT_CLOSE, EVENT_LOGGING_CHANGED as EVENT_LOGGING_CHANGED, Platform as Platform
|
10
10
|
from homeassistant.core import Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, State as State, callback as callback
|
@@ -30,9 +30,9 @@ class ESPHomeManager:
|
|
30
30
|
password: Incomplete
|
31
31
|
entry: Incomplete
|
32
32
|
cli: Incomplete
|
33
|
-
device_id:
|
33
|
+
device_id: str | None
|
34
34
|
domain_data: Incomplete
|
35
|
-
reconnect_logic:
|
35
|
+
reconnect_logic: ReconnectLogic | None
|
36
36
|
zeroconf_instance: Incomplete
|
37
37
|
entry_data: Incomplete
|
38
38
|
def __init__(self, hass: HomeAssistant, entry: ESPHomeConfigEntry, host: str, password: str | None, cli: APIClient, zeroconf_instance: zeroconf.HaZeroconf, domain_data: DomainData) -> None: ...
|
@@ -32,7 +32,7 @@ class EsphomeAssistSatelliteWakeWordSelect(EsphomeAssistEntity, SelectEntity, re
|
|
32
32
|
_attr_current_option: str | None
|
33
33
|
_attr_options: list[str]
|
34
34
|
_attr_unique_id: Incomplete
|
35
|
-
_wake_words:
|
35
|
+
_wake_words: dict[str, str]
|
36
36
|
def __init__(self, hass: HomeAssistant, entry_data: RuntimeEntryData) -> None: ...
|
37
37
|
@property
|
38
38
|
def available(self) -> bool: ...
|
@@ -5,6 +5,7 @@ from datetime import datetime
|
|
5
5
|
from enum import StrEnum
|
6
6
|
from homeassistant.helpers.entity import EntityDescription
|
7
7
|
from homeassistant.helpers.restore_state import ExtraStoredData, RestoreEntity
|
8
|
+
from propcache import cached_property
|
8
9
|
from typing import Any, Self
|
9
10
|
|
10
11
|
__all__ = ['ATTR_EVENT_TYPE', 'ATTR_EVENT_TYPES', 'DOMAIN', 'PLATFORM_SCHEMA_BASE', 'PLATFORM_SCHEMA', 'EventDeviceClass', 'EventEntity', 'EventEntityDescription']
|
@@ -18,10 +19,9 @@ class EventDeviceClass(StrEnum):
|
|
18
19
|
MOTION = 'motion'
|
19
20
|
|
20
21
|
class EventEntityDescription(EntityDescription, frozen_or_thawed=True):
|
21
|
-
device_class: EventDeviceClass | None
|
22
|
-
event_types: list[str] | None
|
22
|
+
device_class: EventDeviceClass | None = ...
|
23
|
+
event_types: list[str] | 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=..., event_types=...) -> 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=..., event_types=...) -> None: ...
|
25
25
|
|
26
26
|
@dataclass
|
27
27
|
class EventExtraStoredData(ExtraStoredData):
|
@@ -41,7 +41,9 @@ class EventEntity(RestoreEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_)
|
|
41
41
|
__last_event_triggered: datetime | None
|
42
42
|
__last_event_type: str | None
|
43
43
|
__last_event_attributes: dict[str, Any] | None
|
44
|
+
@cached_property
|
44
45
|
def device_class(self) -> EventDeviceClass | None: ...
|
46
|
+
@cached_property
|
45
47
|
def event_types(self) -> list[str]: ...
|
46
48
|
def _trigger_event(self, event_type: str, event_attributes: dict[str, Any] | None = None) -> None: ...
|
47
49
|
def _default_to_device_class_name(self) -> bool: ...
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import evohomeasync as ev1
|
2
|
+
import evohomeasync2 as evo
|
1
3
|
from .const import ACCESS_TOKEN as ACCESS_TOKEN, ACCESS_TOKEN_EXPIRES as ACCESS_TOKEN_EXPIRES, ATTR_DURATION_DAYS as ATTR_DURATION_DAYS, ATTR_DURATION_HOURS as ATTR_DURATION_HOURS, ATTR_DURATION_UNTIL as ATTR_DURATION_UNTIL, ATTR_SYSTEM_MODE as ATTR_SYSTEM_MODE, ATTR_ZONE_TEMP as ATTR_ZONE_TEMP, CONF_LOCATION_IDX as CONF_LOCATION_IDX, DOMAIN as DOMAIN, EvoService as EvoService, REFRESH_TOKEN as REFRESH_TOKEN, SCAN_INTERVAL_DEFAULT as SCAN_INTERVAL_DEFAULT, SCAN_INTERVAL_MINIMUM as SCAN_INTERVAL_MINIMUM, STORAGE_KEY as STORAGE_KEY, STORAGE_VER as STORAGE_VER, USER_DATA as USER_DATA
|
2
4
|
from .coordinator import EvoBroker as EvoBroker
|
3
5
|
from .helpers import dt_aware_to_naive as dt_aware_to_naive, dt_local_to_aware as dt_local_to_aware, handle_evo_exception as handle_evo_exception
|
@@ -11,7 +13,7 @@ from homeassistant.helpers.service import verify_domain_control as verify_domain
|
|
11
13
|
from homeassistant.helpers.storage import Store as Store
|
12
14
|
from homeassistant.helpers.typing import ConfigType as ConfigType
|
13
15
|
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator as DataUpdateCoordinator
|
14
|
-
from typing import Final
|
16
|
+
from typing import Any, Final
|
15
17
|
|
16
18
|
_LOGGER: Incomplete
|
17
19
|
CONFIG_SCHEMA: Final[Incomplete]
|
@@ -22,10 +24,10 @@ class EvoSession:
|
|
22
24
|
hass: Incomplete
|
23
25
|
_session: Incomplete
|
24
26
|
_store: Incomplete
|
25
|
-
client_v2:
|
26
|
-
_tokens:
|
27
|
-
client_v1:
|
28
|
-
session_id:
|
27
|
+
client_v2: evo.EvohomeClient | None
|
28
|
+
_tokens: dict[str, Any]
|
29
|
+
client_v1: ev1.EvohomeClient | None
|
30
|
+
session_id: str | None
|
29
31
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
30
32
|
async def authenticate(self, username: str, password: str) -> None: ...
|
31
33
|
async def _load_auth_tokens(self, username: str) -> None: ...
|
@@ -19,7 +19,7 @@ class EvoBroker:
|
|
19
19
|
hass: Incomplete
|
20
20
|
client: Incomplete
|
21
21
|
client_v1: Incomplete
|
22
|
-
temps:
|
22
|
+
temps: dict[str, float | None]
|
23
23
|
def __init__(self, sess: EvoSession) -> None: ...
|
24
24
|
def validate_location(self, loc_idx: int) -> bool: ...
|
25
25
|
async def call_client_api(self, client_api: Awaitable[dict[str, Any] | None], update_state: bool = True) -> dict[str, Any] | None: ...
|
@@ -13,7 +13,7 @@ class EvoDevice(Entity):
|
|
13
13
|
_attr_should_poll: bool
|
14
14
|
_evo_device: Incomplete
|
15
15
|
_evo_broker: Incomplete
|
16
|
-
_device_state_attrs:
|
16
|
+
_device_state_attrs: dict[str, Any]
|
17
17
|
def __init__(self, evo_broker: EvoBroker, evo_device: evo.ControlSystem | evo.HotWater | evo.Zone) -> None: ...
|
18
18
|
async def async_refresh(self, payload: dict | None = None) -> None: ...
|
19
19
|
async def async_tcs_svc_request(self, service: str, data: dict[str, Any]) -> None: ...
|
@@ -25,8 +25,8 @@ class EvoDevice(Entity):
|
|
25
25
|
class EvoChild(EvoDevice):
|
26
26
|
_evo_id: str
|
27
27
|
_evo_tcs: Incomplete
|
28
|
-
_schedule:
|
29
|
-
_setpoints:
|
28
|
+
_schedule: dict[str, Any]
|
29
|
+
_setpoints: dict[str, Any]
|
30
30
|
def __init__(self, evo_broker: EvoBroker, evo_device: evo.HotWater | evo.Zone) -> None: ...
|
31
31
|
@property
|
32
32
|
def current_temperature(self) -> float | None: ...
|
@@ -10,6 +10,7 @@ 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
12
|
from homeassistant.util.percentage import percentage_to_ranged_value as percentage_to_ranged_value, ranged_value_to_percentage as ranged_value_to_percentage
|
13
|
+
from propcache import cached_property
|
13
14
|
from typing import Any
|
14
15
|
|
15
16
|
_LOGGER: Incomplete
|
@@ -53,7 +54,6 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: .
|
|
53
54
|
|
54
55
|
class FanEntityDescription(ToggleEntityDescription, frozen_or_thawed=True):
|
55
56
|
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: ...
|
56
|
-
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: ...
|
57
57
|
|
58
58
|
CACHED_PROPERTIES_WITH_ATTR_: Incomplete
|
59
59
|
|
@@ -85,16 +85,23 @@ class FanEntity(ToggleEntity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
|
85
85
|
async def async_oscillate(self, oscillating: bool) -> None: ...
|
86
86
|
@property
|
87
87
|
def is_on(self) -> bool | None: ...
|
88
|
+
@cached_property
|
88
89
|
def percentage(self) -> int | None: ...
|
90
|
+
@cached_property
|
89
91
|
def speed_count(self) -> int: ...
|
90
92
|
@property
|
91
93
|
def percentage_step(self) -> float: ...
|
94
|
+
@cached_property
|
92
95
|
def current_direction(self) -> str | None: ...
|
96
|
+
@cached_property
|
93
97
|
def oscillating(self) -> bool | None: ...
|
94
98
|
@property
|
95
99
|
def capability_attributes(self) -> dict[str, list[str] | None]: ...
|
96
100
|
@property
|
97
101
|
def state_attributes(self) -> dict[str, float | str | None]: ...
|
102
|
+
@cached_property
|
98
103
|
def supported_features(self) -> FanEntityFeature: ...
|
104
|
+
@cached_property
|
99
105
|
def preset_mode(self) -> str | None: ...
|
106
|
+
@cached_property
|
100
107
|
def preset_modes(self) -> list[str] | None: ...
|
@@ -15,13 +15,13 @@ _LOGGER: Incomplete
|
|
15
15
|
class FeedReaderCoordinator(DataUpdateCoordinator[list[feedparser.FeedParserDict] | None]):
|
16
16
|
config_entry: ConfigEntry
|
17
17
|
url: Incomplete
|
18
|
-
feed_author:
|
19
|
-
feed_version:
|
18
|
+
feed_author: str | None
|
19
|
+
feed_version: str | None
|
20
20
|
_max_entries: Incomplete
|
21
21
|
_storage: Incomplete
|
22
|
-
_last_entry_timestamp:
|
22
|
+
_last_entry_timestamp: struct_time | None
|
23
23
|
_event_type: Incomplete
|
24
|
-
_feed:
|
24
|
+
_feed: feedparser.FeedParserDict | None
|
25
25
|
_feed_id: Incomplete
|
26
26
|
def __init__(self, hass: HomeAssistant, url: str, max_entries: int, storage: StoredData) -> None: ...
|
27
27
|
def _log_no_entries(self) -> None: ...
|
@@ -33,9 +33,9 @@ class FeedReaderCoordinator(DataUpdateCoordinator[list[feedparser.FeedParserDict
|
|
33
33
|
def _publish_new_entries(self) -> None: ...
|
34
34
|
|
35
35
|
class StoredData:
|
36
|
-
_data:
|
36
|
+
_data: dict[str, struct_time]
|
37
37
|
hass: Incomplete
|
38
|
-
_store:
|
38
|
+
_store: Store[dict[str, str]]
|
39
39
|
is_initialized: bool
|
40
40
|
def __init__(self, hass: HomeAssistant) -> None: ...
|
41
41
|
async def async_setup(self) -> None: ...
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from . import DOMAIN as DOMAIN, PLATFORMS as PLATFORMS
|
2
2
|
from _typeshed import Incomplete
|
3
|
+
from collections import Counter, deque
|
3
4
|
from dataclasses import dataclass
|
4
5
|
from datetime import datetime, timedelta
|
5
6
|
from homeassistant.components.recorder import get_instance as get_instance, history as history
|
@@ -56,7 +57,7 @@ class SensorFilter(SensorEntity):
|
|
56
57
|
_attr_unique_id: Incomplete
|
57
58
|
_entity: Incomplete
|
58
59
|
_attr_native_unit_of_measurement: Incomplete
|
59
|
-
_state:
|
60
|
+
_state: StateType
|
60
61
|
_filters: Incomplete
|
61
62
|
_attr_icon: Incomplete
|
62
63
|
_attr_device_class: Incomplete
|
@@ -85,7 +86,7 @@ class _State:
|
|
85
86
|
def __init__(self, last_updated, state) -> None: ...
|
86
87
|
|
87
88
|
class Filter:
|
88
|
-
states:
|
89
|
+
states: deque[FilterState]
|
89
90
|
window_unit: Incomplete
|
90
91
|
filter_precision: Incomplete
|
91
92
|
_name: Incomplete
|
@@ -108,13 +109,13 @@ class Filter:
|
|
108
109
|
class RangeFilter(Filter, SensorEntity):
|
109
110
|
_lower_bound: Incomplete
|
110
111
|
_upper_bound: Incomplete
|
111
|
-
_stats_internal:
|
112
|
+
_stats_internal: Counter
|
112
113
|
def __init__(self, *, entity: str, precision: int | None = None, lower_bound: float | None = None, upper_bound: float | None = None) -> None: ...
|
113
114
|
def _filter_state(self, new_state: FilterState) -> FilterState: ...
|
114
115
|
|
115
116
|
class OutlierFilter(Filter, SensorEntity):
|
116
117
|
_radius: Incomplete
|
117
|
-
_stats_internal:
|
118
|
+
_stats_internal: Counter
|
118
119
|
_store_raw: bool
|
119
120
|
def __init__(self, *, window_size: int, entity: str, radius: float, precision: int | None = None) -> None: ...
|
120
121
|
def _filter_state(self, new_state: FilterState) -> FilterState: ...
|
@@ -126,7 +127,7 @@ class LowPassFilter(Filter, SensorEntity):
|
|
126
127
|
|
127
128
|
class TimeSMAFilter(Filter, SensorEntity):
|
128
129
|
_time_window: Incomplete
|
129
|
-
last_leak:
|
130
|
+
last_leak: FilterState | None
|
130
131
|
queue: Incomplete
|
131
132
|
def __init__(self, *, window_size: timedelta, entity: str, type: str, precision: int = ...) -> None: ...
|
132
133
|
def _leak(self, left_boundary: datetime) -> None: ...
|
@@ -140,7 +141,7 @@ class ThrottleFilter(Filter, SensorEntity):
|
|
140
141
|
|
141
142
|
class TimeThrottleFilter(Filter, SensorEntity):
|
142
143
|
_time_window: Incomplete
|
143
|
-
_last_emitted_at:
|
144
|
+
_last_emitted_at: datetime | None
|
144
145
|
_only_numbers: bool
|
145
146
|
def __init__(self, *, window_size: timedelta, entity: str, precision: int | None = None) -> None: ...
|
146
147
|
_skip_processing: bool
|
@@ -18,7 +18,7 @@ CONF_EXPIRES_AT: str
|
|
18
18
|
|
19
19
|
class FitbitApi(ABC, metaclass=abc.ABCMeta):
|
20
20
|
_hass: Incomplete
|
21
|
-
_profile:
|
21
|
+
_profile: FitbitProfile | None
|
22
22
|
_unit_system: Incomplete
|
23
23
|
def __init__(self, hass: HomeAssistant, unit_system: FitbitUnitSystem | None = None) -> None: ...
|
24
24
|
@abstractmethod
|
@@ -2,7 +2,6 @@ from . import async_wifi_bulb_for_host as async_wifi_bulb_for_host
|
|
2
2
|
from .const import CONF_CUSTOM_EFFECT_COLORS as CONF_CUSTOM_EFFECT_COLORS, CONF_CUSTOM_EFFECT_SPEED_PCT as CONF_CUSTOM_EFFECT_SPEED_PCT, CONF_CUSTOM_EFFECT_TRANSITION as CONF_CUSTOM_EFFECT_TRANSITION, DEFAULT_EFFECT_SPEED as DEFAULT_EFFECT_SPEED, DISCOVER_SCAN_TIMEOUT as DISCOVER_SCAN_TIMEOUT, DOMAIN as DOMAIN, FLUX_LED_DISCOVERY_SIGNAL as FLUX_LED_DISCOVERY_SIGNAL, FLUX_LED_EXCEPTIONS as FLUX_LED_EXCEPTIONS, TRANSITION_GRADUAL as TRANSITION_GRADUAL, TRANSITION_JUMP as TRANSITION_JUMP, TRANSITION_STROBE as TRANSITION_STROBE
|
3
3
|
from .discovery import async_discover_device as async_discover_device, async_discover_devices as async_discover_devices, async_name_from_discovery as async_name_from_discovery, async_populate_data_from_discovery as async_populate_data_from_discovery, async_update_entry_from_discovery as async_update_entry_from_discovery
|
4
4
|
from .util import format_as_flux_mac as format_as_flux_mac, mac_matches_by_one as mac_matches_by_one
|
5
|
-
from _typeshed import Incomplete
|
6
5
|
from flux_led.scanner import FluxLEDDiscovery
|
7
6
|
from homeassistant.components import dhcp as dhcp
|
8
7
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry, ConfigEntryState as ConfigEntryState, ConfigFlow as ConfigFlow, ConfigFlowResult as ConfigFlowResult, OptionsFlow as OptionsFlow, SOURCE_IGNORE as SOURCE_IGNORE
|
@@ -16,8 +15,8 @@ from typing import Any, Self
|
|
16
15
|
class FluxLedConfigFlow(ConfigFlow, domain=DOMAIN):
|
17
16
|
VERSION: int
|
18
17
|
host: str | None
|
19
|
-
_discovered_devices:
|
20
|
-
_discovered_device:
|
18
|
+
_discovered_devices: dict[str, FluxLEDDiscovery]
|
19
|
+
_discovered_device: FluxLEDDiscovery | None
|
21
20
|
_allow_update_mac: bool
|
22
21
|
def __init__(self) -> None: ...
|
23
22
|
@staticmethod
|
@@ -18,14 +18,14 @@ def _async_device_info(device: AIOWifiLedBulb, entry: config_entries.ConfigEntry
|
|
18
18
|
class FluxBaseEntity(Entity):
|
19
19
|
_attr_has_entity_name: bool
|
20
20
|
_attr_should_poll: bool
|
21
|
-
_device:
|
21
|
+
_device: AIOWifiLedBulb
|
22
22
|
entry: Incomplete
|
23
23
|
_attr_device_info: Incomplete
|
24
24
|
def __init__(self, device: AIOWifiLedBulb, entry: config_entries.ConfigEntry) -> None: ...
|
25
25
|
|
26
26
|
class FluxEntity(CoordinatorEntity[FluxLedUpdateCoordinator]):
|
27
27
|
_attr_has_entity_name: bool
|
28
|
-
_device:
|
28
|
+
_device: AIOWifiLedBulb
|
29
29
|
_responding: bool
|
30
30
|
_attr_unique_id: Incomplete
|
31
31
|
_attr_device_info: Incomplete
|
@@ -5,6 +5,7 @@ from .entity import FluxEntity as FluxEntity
|
|
5
5
|
from .util import _effect_brightness as _effect_brightness
|
6
6
|
from _typeshed import Incomplete
|
7
7
|
from abc import abstractmethod
|
8
|
+
from collections.abc import Coroutine
|
8
9
|
from homeassistant import config_entries as config_entries
|
9
10
|
from homeassistant.components.light import EFFECT_RANDOM as EFFECT_RANDOM
|
10
11
|
from homeassistant.components.number import NumberEntity as NumberEntity, NumberMode as NumberMode
|
@@ -14,6 +15,7 @@ from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
14
15
|
from homeassistant.helpers.debounce import Debouncer as Debouncer
|
15
16
|
from homeassistant.helpers.entity_platform import AddEntitiesCallback as AddEntitiesCallback
|
16
17
|
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity
|
18
|
+
from typing import Any
|
17
19
|
|
18
20
|
_LOGGER: Incomplete
|
19
21
|
DEBOUNCE_TIME: int
|
@@ -35,8 +37,8 @@ class FluxConfigNumber(FluxEntity, CoordinatorEntity[FluxLedUpdateCoordinator],
|
|
35
37
|
_attr_native_min_value: int
|
36
38
|
_attr_native_step: int
|
37
39
|
_attr_mode: Incomplete
|
38
|
-
_debouncer:
|
39
|
-
_pending_value:
|
40
|
+
_debouncer: Debouncer[Coroutine[Any, Any, None]] | None
|
41
|
+
_pending_value: int | None
|
40
42
|
def __init__(self, coordinator: FluxLedUpdateCoordinator, base_unique_id: str, key: str | None) -> None: ...
|
41
43
|
async def async_added_to_hass(self) -> None: ...
|
42
44
|
async def async_set_native_value(self, value: float) -> None: ...
|
@@ -3,7 +3,10 @@ from _typeshed import Incomplete
|
|
3
3
|
from collections.abc import Callable as Callable, ValuesView
|
4
4
|
from dataclasses import dataclass
|
5
5
|
from datetime import datetime
|
6
|
+
from fritzconnection import FritzConnection
|
7
|
+
from fritzconnection.lib.fritzhosts import FritzHosts
|
6
8
|
from fritzconnection.lib.fritzstatus import FritzStatus
|
9
|
+
from fritzconnection.lib.fritzwlan import FritzGuestWLAN
|
7
10
|
from homeassistant.components.device_tracker import CONF_CONSIDER_HOME as CONF_CONSIDER_HOME, DEFAULT_CONSIDER_HOME as DEFAULT_CONSIDER_HOME
|
8
11
|
from homeassistant.config_entries import ConfigEntry as ConfigEntry
|
9
12
|
from homeassistant.core import HomeAssistant as HomeAssistant, ServiceCall as ServiceCall
|
@@ -56,29 +59,29 @@ class UpdateCoordinatorDataType(TypedDict):
|
|
56
59
|
|
57
60
|
class FritzBoxTools(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
58
61
|
config_entry: ConfigEntry
|
59
|
-
_devices:
|
60
|
-
_options:
|
61
|
-
_unique_id:
|
62
|
-
connection:
|
63
|
-
fritz_guest_wifi:
|
64
|
-
fritz_hosts:
|
65
|
-
fritz_status:
|
62
|
+
_devices: dict[str, FritzDevice]
|
63
|
+
_options: MappingProxyType[str, Any] | None
|
64
|
+
_unique_id: str | None
|
65
|
+
connection: FritzConnection
|
66
|
+
fritz_guest_wifi: FritzGuestWLAN
|
67
|
+
fritz_hosts: FritzHosts
|
68
|
+
fritz_status: FritzStatus
|
66
69
|
hass: Incomplete
|
67
70
|
host: Incomplete
|
68
71
|
mesh_role: Incomplete
|
69
|
-
device_conn_type:
|
72
|
+
device_conn_type: str | None
|
70
73
|
device_is_router: bool
|
71
74
|
password: Incomplete
|
72
75
|
port: Incomplete
|
73
76
|
username: Incomplete
|
74
77
|
use_tls: Incomplete
|
75
78
|
has_call_deflections: bool
|
76
|
-
_model:
|
77
|
-
_current_firmware:
|
78
|
-
_latest_firmware:
|
79
|
+
_model: str | None
|
80
|
+
_current_firmware: str | None
|
81
|
+
_latest_firmware: str | None
|
79
82
|
_update_available: bool
|
80
|
-
_release_url:
|
81
|
-
_entity_update_functions:
|
83
|
+
_release_url: str | None
|
84
|
+
_entity_update_functions: dict[str, Callable[[FritzStatus, StateType], Any]]
|
82
85
|
def __init__(self, hass: HomeAssistant, password: str, port: int, username: str = ..., host: str = ..., use_tls: bool = ...) -> None: ...
|
83
86
|
async def async_setup(self, options: MappingProxyType[str, Any] | None = None) -> None: ...
|
84
87
|
def setup(self) -> None: ...
|
@@ -144,14 +147,14 @@ class FritzData:
|
|
144
147
|
|
145
148
|
class FritzDevice:
|
146
149
|
_connected: bool
|
147
|
-
_connected_to:
|
148
|
-
_connection_type:
|
149
|
-
_ip_address:
|
150
|
-
_last_activity:
|
150
|
+
_connected_to: str | None
|
151
|
+
_connection_type: str | None
|
152
|
+
_ip_address: str | None
|
153
|
+
_last_activity: datetime | None
|
151
154
|
_mac: Incomplete
|
152
155
|
_name: Incomplete
|
153
|
-
_ssid:
|
154
|
-
_wan_access: bool
|
156
|
+
_ssid: str | None
|
157
|
+
_wan_access: bool | None
|
155
158
|
def __init__(self, mac: str, name: str) -> None: ...
|
156
159
|
def update(self, dev_info: Device, consider_home: float) -> None: ...
|
157
160
|
@property
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import datetime
|
1
2
|
from .const import DATA_FRITZ as DATA_FRITZ, DOMAIN as DOMAIN
|
2
3
|
from .coordinator import AvmWrapper as AvmWrapper, FritzData as FritzData, FritzDevice as FritzDevice, device_filter_out_from_trackers as device_filter_out_from_trackers
|
3
4
|
from .entity import FritzDeviceBase as FritzDeviceBase
|
@@ -14,7 +15,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry, async_add_e
|
|
14
15
|
def _async_add_entities(avm_wrapper: AvmWrapper, async_add_entities: AddEntitiesCallback, data_fritz: FritzData) -> None: ...
|
15
16
|
|
16
17
|
class FritzBoxTracker(FritzDeviceBase, ScannerEntity):
|
17
|
-
_last_activity:
|
18
|
+
_last_activity: datetime.datetime | None
|
18
19
|
def __init__(self, avm_wrapper: AvmWrapper, device: FritzDevice) -> None: ...
|
19
20
|
@property
|
20
21
|
def is_connected(self) -> bool: ...
|
@@ -11,8 +11,8 @@ from typing import Any
|
|
11
11
|
|
12
12
|
class FritzDeviceBase(CoordinatorEntity[AvmWrapper]):
|
13
13
|
_avm_wrapper: Incomplete
|
14
|
-
_mac:
|
15
|
-
_name:
|
14
|
+
_mac: str
|
15
|
+
_name: str
|
16
16
|
def __init__(self, avm_wrapper: AvmWrapper, device: FritzDevice) -> None: ...
|
17
17
|
@property
|
18
18
|
def name(self) -> str: ...
|
@@ -28,10 +28,9 @@ class FritzDeviceBase(CoordinatorEntity[AvmWrapper]):
|
|
28
28
|
class FritzBoxBaseEntity:
|
29
29
|
_avm_wrapper: Incomplete
|
30
30
|
_device_name: Incomplete
|
31
|
+
mac_address: Incomplete
|
31
32
|
def __init__(self, avm_wrapper: AvmWrapper, device_name: str) -> None: ...
|
32
33
|
@property
|
33
|
-
def mac_address(self) -> str: ...
|
34
|
-
@property
|
35
34
|
def device_info(self) -> DeviceInfo: ...
|
36
35
|
|
37
36
|
@dataclass(frozen=True, kw_only=True)
|
@@ -20,7 +20,7 @@ class FritzGuestWifiQRImage(FritzBoxBaseEntity, ImageEntity):
|
|
20
20
|
_attr_should_poll: bool
|
21
21
|
_attr_name: Incomplete
|
22
22
|
_attr_unique_id: Incomplete
|
23
|
-
_current_qr_bytes:
|
23
|
+
_current_qr_bytes: bytes | None
|
24
24
|
def __init__(self, hass: HomeAssistant, avm_wrapper: AvmWrapper, device_friendly_name: str, ssid: str) -> None: ...
|
25
25
|
async def _fetch_image(self) -> bytes: ...
|
26
26
|
_attr_image_last_updated: Incomplete
|
@@ -50,7 +50,7 @@ class FritzBoxBaseSwitch(FritzBoxBaseEntity, SwitchEntity):
|
|
50
50
|
_attr_is_on: Incomplete
|
51
51
|
_name: Incomplete
|
52
52
|
_unique_id: Incomplete
|
53
|
-
_attributes:
|
53
|
+
_attributes: dict[str, str | None]
|
54
54
|
_is_available: bool
|
55
55
|
def __init__(self, avm_wrapper: AvmWrapper, device_friendly_name: str, switch_info: SwitchInfo) -> None: ...
|
56
56
|
@property
|
@@ -16,9 +16,9 @@ RESULT_SUCCESS: str
|
|
16
16
|
class FritzboxConfigFlow(ConfigFlow, domain=DOMAIN):
|
17
17
|
VERSION: int
|
18
18
|
_name: str
|
19
|
-
_host:
|
20
|
-
_password:
|
21
|
-
_username:
|
19
|
+
_host: str | None
|
20
|
+
_password: str | None
|
21
|
+
_username: str | None
|
22
22
|
def __init__(self) -> None: ...
|
23
23
|
def _get_entry(self, name: str) -> ConfigFlowResult: ...
|
24
24
|
async def async_try_connect(self) -> str: ...
|
@@ -22,8 +22,8 @@ class FritzboxDataUpdateCoordinator(DataUpdateCoordinator[FritzboxCoordinatorDat
|
|
22
22
|
configuration_url: str
|
23
23
|
fritz: Fritzhome
|
24
24
|
has_templates: bool
|
25
|
-
new_devices:
|
26
|
-
new_templates:
|
25
|
+
new_devices: set[str]
|
26
|
+
new_templates: set[str]
|
27
27
|
data: Incomplete
|
28
28
|
def __init__(self, hass: HomeAssistant, name: str) -> None: ...
|
29
29
|
async def async_setup(self) -> None: ...
|