homeassistant-stubs 2025.9.0b0__py3-none-any.whl → 2026.1.0b0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- homeassistant-stubs/auth/mfa_modules/totp.pyi +2 -0
- homeassistant-stubs/auth/permissions/events.pyi +1 -1
- homeassistant-stubs/components/acaia/coordinator.pyi +3 -0
- homeassistant-stubs/components/accuweather/__init__.pyi +3 -3
- homeassistant-stubs/components/accuweather/config_flow.pyi +5 -0
- homeassistant-stubs/components/accuweather/const.pyi +1 -0
- homeassistant-stubs/components/accuweather/coordinator.pyi +17 -4
- homeassistant-stubs/components/accuweather/weather.pyi +5 -2
- homeassistant-stubs/components/adax/config_flow.pyi +1 -0
- homeassistant-stubs/components/adax/sensor.pyi +13 -11
- homeassistant-stubs/components/adguard/update.pyi +26 -0
- homeassistant-stubs/components/airgradient/update.pyi +5 -0
- homeassistant-stubs/components/airly/config_flow.pyi +3 -0
- homeassistant-stubs/components/airnow/config_flow.pyi +1 -0
- homeassistant-stubs/components/airos/__init__.pyi +6 -2
- homeassistant-stubs/components/airos/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/airos/config_flow.pyi +15 -4
- homeassistant-stubs/components/airos/const.pyi +3 -0
- homeassistant-stubs/components/airos/coordinator.pyi +5 -5
- homeassistant-stubs/components/airos/entity.pyi +2 -2
- homeassistant-stubs/components/airos/sensor.pyi +2 -2
- homeassistant-stubs/components/airthings/config_flow.pyi +1 -0
- homeassistant-stubs/components/airthings_ble/config_flow.pyi +5 -3
- homeassistant-stubs/components/airthings_ble/const.pyi +4 -0
- homeassistant-stubs/components/airthings_ble/coordinator.pyi +2 -1
- homeassistant-stubs/components/airthings_ble/sensor.pyi +2 -1
- homeassistant-stubs/components/airzone/select.pyi +1 -0
- homeassistant-stubs/components/aladdin_connect/config_flow.pyi +1 -0
- homeassistant-stubs/components/alarm_control_panel/__init__.pyi +0 -10
- homeassistant-stubs/components/alarm_control_panel/trigger.pyi +17 -0
- homeassistant-stubs/components/alexa/handlers.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/__init__.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/binary_sensor.pyi +7 -1
- homeassistant-stubs/components/alexa_devices/const.pyi +4 -1
- homeassistant-stubs/components/alexa_devices/coordinator.pyi +4 -1
- homeassistant-stubs/components/alexa_devices/diagnostics.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/entity.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/notify.pyi +2 -1
- homeassistant-stubs/components/alexa_devices/sensor.pyi +17 -4
- homeassistant-stubs/components/alexa_devices/services.pyi +0 -1
- homeassistant-stubs/components/alexa_devices/switch.pyi +5 -3
- homeassistant-stubs/components/alexa_devices/utils.pyi +5 -1
- homeassistant-stubs/components/amberelectric/__init__.pyi +1 -1
- homeassistant-stubs/components/amberelectric/services.pyi +3 -2
- homeassistant-stubs/components/analytics/__init__.pyi +4 -21
- homeassistant-stubs/components/analytics/analytics.pyi +63 -11
- homeassistant-stubs/components/analytics/const.pyi +6 -2
- homeassistant-stubs/components/androidtv/__init__.pyi +5 -1
- homeassistant-stubs/components/androidtv/config_flow.pyi +1 -1
- homeassistant-stubs/components/androidtv/const.pyi +1 -1
- homeassistant-stubs/components/androidtv/media_player.pyi +1 -10
- homeassistant-stubs/components/androidtv/services.pyi +16 -0
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +2 -0
- homeassistant-stubs/components/androidtv_remote/entity.pyi +1 -3
- homeassistant-stubs/components/apcupsd/const.pyi +3 -0
- homeassistant-stubs/components/apcupsd/sensor.pyi +5 -1
- homeassistant-stubs/components/apple_tv/__init__.pyi +3 -3
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +4 -4
- homeassistant-stubs/components/assist_pipeline/audio_enhancer.pyi +8 -3
- homeassistant-stubs/components/assist_pipeline/const.pyi +1 -0
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +9 -6
- homeassistant-stubs/components/assist_pipeline/select.pyi +1 -1
- homeassistant-stubs/components/assist_satellite/trigger.pyi +8 -0
- homeassistant-stubs/components/asuswrt/bridge.pyi +24 -10
- homeassistant-stubs/components/asuswrt/config_flow.pyi +1 -1
- homeassistant-stubs/components/asuswrt/device_tracker.pyi +0 -3
- homeassistant-stubs/components/asuswrt/helpers.pyi +2 -3
- homeassistant-stubs/components/asuswrt/router.pyi +1 -1
- homeassistant-stubs/components/autarco/sensor.pyi +8 -6
- homeassistant-stubs/components/auth/login_flow.pyi +1 -1
- homeassistant-stubs/components/automation/__init__.pyi +10 -2
- homeassistant-stubs/components/backblaze_b2/__init__.pyi +15 -0
- homeassistant-stubs/components/backblaze_b2/b2_client.pyi +15 -0
- homeassistant-stubs/components/backblaze_b2/backup.pyi +60 -0
- homeassistant-stubs/components/backblaze_b2/config_flow.pyi +21 -0
- homeassistant-stubs/components/backblaze_b2/const.pyi +13 -0
- homeassistant-stubs/components/backblaze_b2/diagnostics.pyi +11 -0
- homeassistant-stubs/components/backblaze_b2/repairs.pyi +15 -0
- homeassistant-stubs/components/backup/http.pyi +1 -0
- homeassistant-stubs/components/backup/manager.pyi +2 -1
- homeassistant-stubs/components/backup/util.pyi +2 -32
- homeassistant-stubs/components/bang_olufsen/__init__.pyi +6 -6
- homeassistant-stubs/components/bang_olufsen/config_flow.pyi +2 -2
- homeassistant-stubs/components/bang_olufsen/const.pyi +46 -13
- homeassistant-stubs/components/bang_olufsen/diagnostics.pyi +5 -3
- homeassistant-stubs/components/bang_olufsen/entity.pyi +2 -2
- homeassistant-stubs/components/bang_olufsen/event.pyi +23 -8
- homeassistant-stubs/components/bang_olufsen/media_player.pyi +15 -12
- homeassistant-stubs/components/bang_olufsen/util.pyi +6 -1
- homeassistant-stubs/components/bang_olufsen/websocket.pyi +7 -6
- homeassistant-stubs/components/binary_sensor/trigger.pyi +20 -0
- homeassistant-stubs/components/blue_current/__init__.pyi +6 -0
- homeassistant-stubs/components/blue_current/const.pyi +6 -0
- homeassistant-stubs/components/blue_current/services.pyi +12 -0
- homeassistant-stubs/components/bluesound/__init__.pyi +2 -1
- homeassistant-stubs/components/bluesound/const.pyi +4 -0
- homeassistant-stubs/components/bluesound/media_player.pyi +11 -9
- homeassistant-stubs/components/bluesound/utils.pyi +2 -0
- homeassistant-stubs/components/bluetooth/__init__.pyi +2 -5
- homeassistant-stubs/components/bluetooth/api.pyi +7 -2
- homeassistant-stubs/components/bluetooth/manager.pyi +9 -1
- homeassistant-stubs/components/bluetooth/match.pyi +2 -1
- homeassistant-stubs/components/bluetooth/websocket_api.pyi +6 -1
- homeassistant-stubs/components/brother/__init__.pyi +5 -3
- homeassistant-stubs/components/brother/config_flow.pyi +6 -2
- homeassistant-stubs/components/brother/const.pyi +6 -0
- homeassistant-stubs/components/brother/entity.pyi +10 -0
- homeassistant-stubs/components/brother/sensor.pyi +6 -9
- homeassistant-stubs/components/bryant_evolution/climate.pyi +2 -2
- homeassistant-stubs/components/bthome/sensor.pyi +1 -1
- homeassistant-stubs/components/button/trigger.pyi +14 -0
- homeassistant-stubs/components/calendar/trigger.pyi +23 -10
- homeassistant-stubs/components/camera/__init__.pyi +4 -11
- homeassistant-stubs/components/camera/prefs.pyi +3 -1
- homeassistant-stubs/components/camera/webrtc.pyi +2 -5
- homeassistant-stubs/components/cert_expiry/config_flow.pyi +1 -1
- homeassistant-stubs/components/cert_expiry/errors.pyi +1 -0
- homeassistant-stubs/components/cert_expiry/helper.pyi +1 -1
- homeassistant-stubs/components/climate/trigger.pyi +18 -0
- homeassistant-stubs/components/cloud/__init__.pyi +8 -2
- homeassistant-stubs/components/cloud/ai_task.pyi +26 -0
- homeassistant-stubs/components/cloud/client.pyi +4 -1
- homeassistant-stubs/components/cloud/const.pyi +4 -1
- homeassistant-stubs/components/cloud/conversation.pyi +24 -0
- homeassistant-stubs/components/cloud/entity.pyi +40 -0
- homeassistant-stubs/components/cloud/http_api.pyi +6 -0
- homeassistant-stubs/components/co2signal/config_flow.pyi +1 -0
- homeassistant-stubs/components/comelit/__init__.pyi +2 -1
- homeassistant-stubs/components/comelit/alarm_control_panel.pyi +4 -4
- homeassistant-stubs/components/comelit/binary_sensor.pyi +10 -4
- homeassistant-stubs/components/comelit/config_flow.pyi +5 -3
- homeassistant-stubs/components/comelit/const.pyi +3 -0
- homeassistant-stubs/components/comelit/coordinator.pyi +14 -10
- homeassistant-stubs/components/comelit/cover.pyi +4 -3
- homeassistant-stubs/components/comelit/light.pyi +2 -1
- homeassistant-stubs/components/comelit/sensor.pyi +6 -6
- homeassistant-stubs/components/comelit/switch.pyi +2 -1
- homeassistant-stubs/components/comelit/utils.pyi +4 -2
- homeassistant-stubs/components/compit/__init__.pyi +11 -0
- homeassistant-stubs/components/compit/climate.pyi +63 -0
- homeassistant-stubs/components/compit/config_flow.pyi +17 -0
- homeassistant-stubs/components/compit/const.pyi +2 -0
- homeassistant-stubs/components/compit/coordinator.pyi +16 -0
- homeassistant-stubs/components/config/area_registry.pyi +3 -0
- homeassistant-stubs/components/config/config_entries.pyi +5 -1
- homeassistant-stubs/components/config/floor_registry.pyi +3 -0
- homeassistant-stubs/components/cookidoo/calendar.pyi +25 -0
- homeassistant-stubs/components/cookidoo/coordinator.pyi +2 -0
- homeassistant-stubs/components/cover/__init__.pyi +1 -11
- homeassistant-stubs/components/deconz/hub/hub.pyi +0 -1
- homeassistant-stubs/components/deconz/services.pyi +0 -1
- homeassistant-stubs/components/demo/valve.pyi +14 -5
- homeassistant-stubs/components/derivative/__init__.pyi +0 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +1 -0
- homeassistant-stubs/components/derivative/diagnostics.pyi +5 -0
- homeassistant-stubs/components/derivative/sensor.pyi +6 -3
- homeassistant-stubs/components/device_automation/condition.pyi +8 -9
- homeassistant-stubs/components/device_tracker/trigger.pyi +8 -0
- homeassistant-stubs/components/devolo_home_control/__init__.pyi +3 -0
- homeassistant-stubs/components/devolo_home_control/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/entity.pyi +1 -2
- homeassistant-stubs/components/devolo_home_control/sensor.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/subscriber.pyi +0 -1
- homeassistant-stubs/components/devolo_home_control/switch.pyi +1 -1
- homeassistant-stubs/components/dnsip/sensor.pyi +6 -2
- homeassistant-stubs/components/doorbird/config_flow.pyi +3 -0
- homeassistant-stubs/components/doorbird/device.pyi +1 -0
- homeassistant-stubs/components/droplet/__init__.pyi +10 -0
- homeassistant-stubs/components/droplet/config_flow.pyi +15 -0
- homeassistant-stubs/components/droplet/const.pyi +7 -0
- homeassistant-stubs/components/droplet/coordinator.pyi +23 -0
- homeassistant-stubs/components/droplet/sensor.pyi +37 -0
- homeassistant-stubs/components/duckdns/__init__.pyi +7 -21
- homeassistant-stubs/components/duckdns/config_flow.pyi +18 -0
- homeassistant-stubs/components/duckdns/const.pyi +6 -0
- homeassistant-stubs/components/duckdns/coordinator.pyi +20 -0
- homeassistant-stubs/components/duckdns/helpers.pyi +6 -0
- homeassistant-stubs/components/duckdns/issue.pyi +6 -0
- homeassistant-stubs/components/duckdns/services.pyi +16 -0
- homeassistant-stubs/components/ecovacs/button.pyi +1 -1
- homeassistant-stubs/components/ecovacs/number.pyi +4 -1
- homeassistant-stubs/components/ecovacs/select.pyi +16 -2
- homeassistant-stubs/components/eheimdigital/sensor.pyi +1 -2
- homeassistant-stubs/components/elkm1/__init__.pyi +21 -1
- homeassistant-stubs/components/elkm1/config_flow.pyi +3 -1
- homeassistant-stubs/components/elkm1/sensor.pyi +8 -1
- homeassistant-stubs/components/energy/data.pyi +15 -2
- homeassistant-stubs/components/energy/sensor.pyi +1 -1
- homeassistant-stubs/components/energy/validate.pyi +13 -1
- homeassistant-stubs/components/energyid/__init__.pyi +30 -0
- homeassistant-stubs/components/energyid/config_flow.pyi +26 -0
- homeassistant-stubs/components/energyid/const.pyi +13 -0
- homeassistant-stubs/components/energyid/energyid_sensor_mapping_flow.pyi +19 -0
- homeassistant-stubs/components/enphase_envoy/sensor.pyi +6 -28
- homeassistant-stubs/components/eq3btsmart/sensor.pyi +1 -2
- homeassistant-stubs/components/esphome/__init__.pyi +4 -1
- homeassistant-stubs/components/esphome/analytics.pyi +4 -0
- homeassistant-stubs/components/esphome/assist_satellite.pyi +17 -3
- homeassistant-stubs/components/esphome/climate.pyi +3 -0
- homeassistant-stubs/components/esphome/config_flow.pyi +11 -5
- homeassistant-stubs/components/esphome/const.pyi +3 -0
- homeassistant-stubs/components/esphome/entity.pyi +1 -2
- homeassistant-stubs/components/esphome/entry_data.pyi +9 -5
- homeassistant-stubs/components/esphome/lock.pyi +1 -1
- homeassistant-stubs/components/esphome/manager.pyi +15 -5
- homeassistant-stubs/components/esphome/repairs.pyi +1 -3
- homeassistant-stubs/components/esphome/select.pyi +5 -4
- homeassistant-stubs/components/esphome/websocket_api.pyi +15 -0
- homeassistant-stubs/components/evohome/climate.pyi +1 -1
- homeassistant-stubs/components/fan/trigger.pyi +8 -0
- homeassistant-stubs/components/fastdotcom/coordinator.pyi +2 -2
- homeassistant-stubs/components/fastdotcom/sensor.pyi +1 -1
- homeassistant-stubs/components/filter/__init__.pyi +0 -1
- homeassistant-stubs/components/filter/config_flow.pyi +1 -0
- homeassistant-stubs/components/firefly_iii/__init__.pyi +8 -0
- homeassistant-stubs/components/firefly_iii/config_flow.pyi +25 -0
- homeassistant-stubs/components/firefly_iii/const.pyi +3 -0
- homeassistant-stubs/components/firefly_iii/coordinator.pyi +30 -0
- homeassistant-stubs/components/firefly_iii/diagnostics.pyi +11 -0
- homeassistant-stubs/components/firefly_iii/entity.pyi +30 -0
- homeassistant-stubs/components/firefly_iii/sensor.pyi +66 -0
- homeassistant-stubs/components/fitbit/api.pyi +8 -3
- homeassistant-stubs/components/fitbit/coordinator.pyi +3 -3
- homeassistant-stubs/components/fitbit/model.pyi +0 -8
- homeassistant-stubs/components/fitbit/sensor.pyi +4 -3
- homeassistant-stubs/components/fritz/coordinator.pyi +4 -0
- homeassistant-stubs/components/fritz/models.pyi +2 -2
- homeassistant-stubs/components/fritz/sensor.pyi +2 -1
- homeassistant-stubs/components/fritz/services.pyi +3 -0
- homeassistant-stubs/components/fritzbox/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/fritzbox/button.pyi +2 -0
- homeassistant-stubs/components/fritzbox/climate.pyi +3 -5
- homeassistant-stubs/components/fritzbox/coordinator.pyi +4 -1
- homeassistant-stubs/components/fritzbox/cover.pyi +2 -0
- homeassistant-stubs/components/fritzbox/light.pyi +2 -0
- homeassistant-stubs/components/fritzbox/sensor.pyi +2 -0
- homeassistant-stubs/components/fritzbox/switch.pyi +15 -1
- homeassistant-stubs/components/frontend/__init__.pyi +12 -5
- homeassistant-stubs/components/frontend/storage.pyi +28 -1
- homeassistant-stubs/components/generic_hygrostat/__init__.pyi +0 -1
- homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/generic_thermostat/__init__.pyi +0 -1
- homeassistant-stubs/components/generic_thermostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/geocaching/entity.pyi +14 -0
- homeassistant-stubs/components/geocaching/sensor.pyi +25 -5
- homeassistant-stubs/components/gios/coordinator.pyi +4 -1
- homeassistant-stubs/components/gios/sensor.pyi +4 -4
- homeassistant-stubs/components/github/__init__.pyi +12 -0
- homeassistant-stubs/components/github/config_flow.pyi +28 -0
- homeassistant-stubs/components/github/const.pyi +10 -0
- homeassistant-stubs/components/github/coordinator.pyi +26 -0
- homeassistant-stubs/components/github/diagnostics.pyi +7 -0
- homeassistant-stubs/components/github/sensor.pyi +37 -0
- homeassistant-stubs/components/go2rtc/__init__.pyi +20 -6
- homeassistant-stubs/components/go2rtc/server.pyi +14 -5
- homeassistant-stubs/components/go2rtc/util.pyi +5 -0
- homeassistant-stubs/components/google/__init__.pyi +0 -1
- homeassistant-stubs/components/google/config_flow.pyi +3 -3
- homeassistant-stubs/components/google_assistant_sdk/config_flow.pyi +2 -1
- homeassistant-stubs/components/google_assistant_sdk/helpers.pyi +1 -1
- homeassistant-stubs/components/google_cloud/__init__.pyi +0 -1
- homeassistant-stubs/components/google_cloud/config_flow.pyi +2 -2
- homeassistant-stubs/components/google_drive/__init__.pyi +4 -2
- homeassistant-stubs/components/google_drive/api.pyi +11 -0
- homeassistant-stubs/components/google_drive/config_flow.pyi +1 -2
- homeassistant-stubs/components/google_drive/const.pyi +4 -0
- homeassistant-stubs/components/google_drive/coordinator.pyi +24 -0
- homeassistant-stubs/components/google_drive/diagnostics.pyi +12 -0
- homeassistant-stubs/components/google_drive/entity.pyi +9 -0
- homeassistant-stubs/components/google_drive/sensor.pyi +28 -0
- homeassistant-stubs/components/google_photos/media_source.pyi +2 -2
- homeassistant-stubs/components/google_sheets/services.pyi +10 -2
- homeassistant-stubs/components/google_weather/__init__.pyi +11 -0
- homeassistant-stubs/components/google_weather/config_flow.pyi +29 -0
- homeassistant-stubs/components/google_weather/const.pyi +5 -0
- homeassistant-stubs/components/google_weather/coordinator.pyi +42 -0
- homeassistant-stubs/components/google_weather/entity.pyi +12 -0
- homeassistant-stubs/components/google_weather/sensor.pyi +27 -0
- homeassistant-stubs/components/google_weather/weather.pyi +56 -0
- homeassistant-stubs/components/group/__init__.pyi +0 -1
- homeassistant-stubs/components/group/config_flow.pyi +2 -0
- homeassistant-stubs/components/group/entity.pyi +3 -0
- homeassistant-stubs/components/group/light.pyi +1 -1
- homeassistant-stubs/components/group/notify.pyi +2 -2
- homeassistant-stubs/components/group/sensor.pyi +1 -1
- homeassistant-stubs/components/group/util.pyi +1 -0
- homeassistant-stubs/components/group/valve.pyi +47 -0
- homeassistant-stubs/components/habitica/__init__.pyi +1 -0
- homeassistant-stubs/components/habitica/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/habitica/config_flow.pyi +11 -3
- homeassistant-stubs/components/habitica/const.pyi +2 -0
- homeassistant-stubs/components/habitica/coordinator.pyi +9 -3
- homeassistant-stubs/components/habitica/entity.pyi +15 -2
- homeassistant-stubs/components/habitica/image.pyi +6 -2
- homeassistant-stubs/components/habitica/notify.pyi +42 -0
- homeassistant-stubs/components/habitica/sensor.pyi +12 -5
- homeassistant-stubs/components/habitica/services.pyi +2 -1
- homeassistant-stubs/components/habitica/util.pyi +1 -0
- homeassistant-stubs/components/hardkernel/hardware.pyi +1 -1
- homeassistant-stubs/components/hardware/__init__.pyi +2 -10
- homeassistant-stubs/components/here_travel_time/__init__.pyi +3 -1
- homeassistant-stubs/components/history_stats/__init__.pyi +0 -1
- homeassistant-stubs/components/history_stats/config_flow.pyi +8 -2
- homeassistant-stubs/components/history_stats/diagnostics.pyi +5 -0
- homeassistant-stubs/components/history_stats/sensor.pyi +1 -1
- homeassistant-stubs/components/home_connect/__init__.pyi +1 -1
- homeassistant-stubs/components/home_connect/const.pyi +4 -0
- homeassistant-stubs/components/home_connect/coordinator.pyi +0 -1
- homeassistant-stubs/components/home_connect/entity.pyi +0 -1
- homeassistant-stubs/components/home_connect/select.pyi +1 -1
- homeassistant-stubs/components/home_connect/sensor.pyi +1 -1
- homeassistant-stubs/components/homeassistant/__init__.pyi +1 -1
- homeassistant-stubs/components/homeassistant_green/config_flow.pyi +4 -2
- homeassistant-stubs/components/homeassistant_green/hardware.pyi +1 -1
- homeassistant-stubs/components/homeassistant_hardware/const.pyi +2 -0
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +51 -15
- homeassistant-stubs/components/homeassistant_hardware/helpers.pyi +25 -2
- homeassistant-stubs/components/homeassistant_hardware/switch.pyi +23 -0
- homeassistant-stubs/components/homeassistant_hardware/update.pyi +3 -2
- homeassistant-stubs/components/homeassistant_hardware/util.pyi +15 -6
- homeassistant-stubs/components/homeassistant_sky_connect/__init__.pyi +13 -4
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +8 -1
- homeassistant-stubs/components/homeassistant_sky_connect/hardware.pyi +1 -1
- homeassistant-stubs/components/homeassistant_sky_connect/switch.pyi +17 -0
- homeassistant-stubs/components/homeassistant_sky_connect/update.pyi +8 -8
- homeassistant-stubs/components/homeassistant_yellow/__init__.pyi +12 -4
- homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +6 -2
- homeassistant-stubs/components/homeassistant_yellow/hardware.pyi +1 -1
- homeassistant-stubs/components/homeassistant_yellow/switch.pyi +17 -0
- homeassistant-stubs/components/homeassistant_yellow/update.pyi +8 -8
- homeassistant-stubs/components/homee/__init__.pyi +1 -0
- homeassistant-stubs/components/homee/alarm_control_panel.pyi +3 -2
- homeassistant-stubs/components/homee/binary_sensor.pyi +4 -2
- homeassistant-stubs/components/homee/button.pyi +3 -1
- homeassistant-stubs/components/homee/climate.pyi +3 -1
- homeassistant-stubs/components/homee/cover.pyi +3 -1
- homeassistant-stubs/components/homee/event.pyi +3 -1
- homeassistant-stubs/components/homee/fan.pyi +3 -1
- homeassistant-stubs/components/homee/helpers.pyi +6 -0
- homeassistant-stubs/components/homee/light.pyi +2 -0
- homeassistant-stubs/components/homee/lock.pyi +4 -2
- homeassistant-stubs/components/homee/number.pyi +3 -1
- homeassistant-stubs/components/homee/select.pyi +3 -1
- homeassistant-stubs/components/homee/sensor.pyi +2 -2
- homeassistant-stubs/components/homee/siren.pyi +4 -1
- homeassistant-stubs/components/homee/switch.pyi +4 -2
- homeassistant-stubs/components/homee/valve.pyi +3 -1
- homeassistant-stubs/components/homekit/__init__.pyi +1 -1
- homeassistant-stubs/components/homekit/type_switches.pyi +7 -1
- homeassistant-stubs/components/homewizard/__init__.pyi +2 -0
- homeassistant-stubs/components/homewizard/select.pyi +3 -17
- homeassistant-stubs/components/homewizard/sensor.pyi +3 -1
- homeassistant-stubs/components/http/__init__.pyi +1 -0
- homeassistant-stubs/components/huawei_lte/device_tracker.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/select.pyi +0 -2
- homeassistant-stubs/components/huawei_lte/sensor.pyi +1 -0
- homeassistant-stubs/components/humidifier/trigger.pyi +8 -0
- homeassistant-stubs/components/husqvarna_automower/button.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +8 -4
- homeassistant-stubs/components/husqvarna_automower/event.pyi +1 -1
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +5 -0
- homeassistant-stubs/components/husqvarna_automower/select.pyi +1 -0
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +2 -0
- homeassistant-stubs/components/husqvarna_automower/switch.pyi +2 -0
- homeassistant-stubs/components/idasen_desk/coordinator.pyi +8 -2
- homeassistant-stubs/components/image/__init__.pyi +3 -0
- homeassistant-stubs/components/image_upload/__init__.pyi +1 -1
- homeassistant-stubs/components/image_upload/const.pyi +1 -0
- homeassistant-stubs/components/image_upload/media_source.pyi +5 -1
- homeassistant-stubs/components/imap/__init__.pyi +3 -1
- homeassistant-stubs/components/imap/coordinator.pyi +4 -1
- homeassistant-stubs/components/immich/media_source.pyi +2 -2
- homeassistant-stubs/components/inels/__init__.pyi +18 -0
- homeassistant-stubs/components/inels/config_flow.pyi +13 -0
- homeassistant-stubs/components/inels/const.pyi +7 -0
- homeassistant-stubs/components/inels/entity.pyi +20 -0
- homeassistant-stubs/components/inels/switch.pyi +34 -0
- homeassistant-stubs/components/integration/__init__.pyi +0 -1
- homeassistant-stubs/components/integration/config_flow.pyi +1 -0
- homeassistant-stubs/components/intent/__init__.pyi +4 -0
- homeassistant-stubs/components/jewish_calendar/coordinator.pyi +4 -7
- homeassistant-stubs/components/jewish_calendar/entity.pyi +2 -0
- homeassistant-stubs/components/knx/climate.pyi +23 -11
- homeassistant-stubs/components/knx/const.pyi +21 -0
- homeassistant-stubs/components/knx/date.pyi +17 -9
- homeassistant-stubs/components/knx/datetime.pyi +17 -9
- homeassistant-stubs/components/knx/dpt.pyi +26 -0
- homeassistant-stubs/components/knx/fan.pyi +25 -12
- homeassistant-stubs/components/knx/knx_module.pyi +4 -0
- homeassistant-stubs/components/knx/repairs.pyi +26 -0
- homeassistant-stubs/components/knx/scene.pyi +15 -6
- homeassistant-stubs/components/knx/schema.pyi +3 -14
- homeassistant-stubs/components/knx/sensor.pyi +26 -13
- homeassistant-stubs/components/knx/services.pyi +1 -0
- homeassistant-stubs/components/knx/storage/config_store.pyi +2 -1
- homeassistant-stubs/components/knx/storage/const.pyi +30 -1
- homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +27 -3
- homeassistant-stubs/components/knx/storage/keyring.pyi +1 -1
- homeassistant-stubs/components/knx/storage/knx_selector.pyi +2 -1
- homeassistant-stubs/components/knx/storage/migration.pyi +2 -0
- homeassistant-stubs/components/knx/telegrams.pyi +3 -0
- homeassistant-stubs/components/knx/text.pyi +22 -12
- homeassistant-stubs/components/knx/time.pyi +17 -9
- homeassistant-stubs/components/knx/websocket.pyi +2 -1
- homeassistant-stubs/components/lamarzocco/__init__.pyi +7 -5
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +4 -2
- homeassistant-stubs/components/lamarzocco/const.pyi +2 -0
- homeassistant-stubs/components/lamarzocco/coordinator.pyi +23 -5
- homeassistant-stubs/components/lamarzocco/entity.pyi +5 -2
- homeassistant-stubs/components/lamarzocco/number.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/select.pyi +2 -0
- homeassistant-stubs/components/lamarzocco/switch.pyi +5 -0
- homeassistant-stubs/components/lametric/config_flow.pyi +2 -0
- homeassistant-stubs/components/lawn_mower/intent.pyi +8 -0
- homeassistant-stubs/components/lawn_mower/trigger.pyi +7 -0
- homeassistant-stubs/components/lcn/__init__.pyi +3 -3
- homeassistant-stubs/components/lcn/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/lcn/climate.pyi +5 -8
- homeassistant-stubs/components/lcn/cover.pyi +6 -5
- homeassistant-stubs/components/lcn/entity.pyi +6 -4
- homeassistant-stubs/components/lcn/helpers.pyi +5 -5
- homeassistant-stubs/components/lcn/light.pyi +5 -4
- homeassistant-stubs/components/lcn/sensor.pyi +8 -6
- homeassistant-stubs/components/lcn/services.pyi +3 -2
- homeassistant-stubs/components/lcn/switch.pyi +9 -8
- homeassistant-stubs/components/lcn/websocket.pyi +11 -10
- homeassistant-stubs/components/letpot/number.pyi +34 -0
- homeassistant-stubs/components/libre_hardware_monitor/__init__.pyi +12 -0
- homeassistant-stubs/components/libre_hardware_monitor/config_flow.pyi +12 -0
- homeassistant-stubs/components/libre_hardware_monitor/const.pyi +4 -0
- homeassistant-stubs/components/libre_hardware_monitor/coordinator.pyi +20 -0
- homeassistant-stubs/components/libre_hardware_monitor/sensor.pyi +30 -0
- homeassistant-stubs/components/lifx/manager.pyi +4 -4
- homeassistant-stubs/components/light/condition.pyi +38 -0
- homeassistant-stubs/components/light/trigger.pyi +9 -0
- homeassistant-stubs/components/litterrobot/select.pyi +1 -1
- homeassistant-stubs/components/litterrobot/switch.pyi +5 -1
- homeassistant-stubs/components/litterrobot/update.pyi +2 -0
- homeassistant-stubs/components/lock/__init__.pyi +1 -6
- homeassistant-stubs/components/lock/trigger.pyi +7 -0
- homeassistant-stubs/components/logbook/helpers.pyi +4 -3
- homeassistant-stubs/components/logger/helpers.pyi +2 -0
- homeassistant-stubs/components/logger/websocket_api.pyi +1 -0
- homeassistant-stubs/components/london_underground/__init__.pyi +9 -0
- homeassistant-stubs/components/london_underground/config_flow.pyi +22 -0
- homeassistant-stubs/components/london_underground/const.pyi +1 -0
- homeassistant-stubs/components/london_underground/coordinator.pyi +3 -1
- homeassistant-stubs/components/london_underground/sensor.pyi +10 -5
- homeassistant-stubs/components/lunatone/__init__.pyi +12 -0
- homeassistant-stubs/components/lunatone/config_flow.pyi +16 -0
- homeassistant-stubs/components/lunatone/const.pyi +3 -0
- homeassistant-stubs/components/lunatone/coordinator.pyi +31 -0
- homeassistant-stubs/components/lunatone/light.pyi +59 -0
- homeassistant-stubs/components/mastodon/__init__.pyi +1 -1
- homeassistant-stubs/components/mastodon/config_flow.pyi +2 -2
- homeassistant-stubs/components/mastodon/const.pyi +2 -0
- homeassistant-stubs/components/mastodon/diagnostics.pyi +2 -2
- homeassistant-stubs/components/mastodon/services.pyi +4 -3
- homeassistant-stubs/components/matrix/__init__.pyi +10 -2
- homeassistant-stubs/components/matrix/const.pyi +5 -0
- homeassistant-stubs/components/matrix/services.pyi +3 -1
- homeassistant-stubs/components/matter/__init__.pyi +5 -0
- homeassistant-stubs/components/matter/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/matter/button.pyi +1 -1
- homeassistant-stubs/components/matter/climate.pyi +7 -1
- homeassistant-stubs/components/matter/cover.pyi +6 -2
- homeassistant-stubs/components/matter/entity.pyi +4 -2
- homeassistant-stubs/components/matter/event.pyi +5 -1
- homeassistant-stubs/components/matter/fan.pyi +5 -1
- homeassistant-stubs/components/matter/light.pyi +6 -2
- homeassistant-stubs/components/matter/lock.pyi +5 -1
- homeassistant-stubs/components/matter/models.pyi +4 -3
- homeassistant-stubs/components/matter/number.pyi +1 -1
- homeassistant-stubs/components/matter/select.pyi +9 -1
- homeassistant-stubs/components/matter/sensor.pyi +9 -1
- homeassistant-stubs/components/matter/services.pyi +11 -0
- homeassistant-stubs/components/matter/switch.pyi +5 -2
- homeassistant-stubs/components/matter/update.pyi +4 -1
- homeassistant-stubs/components/matter/vacuum.pyi +6 -2
- homeassistant-stubs/components/matter/valve.pyi +6 -2
- homeassistant-stubs/components/matter/water_heater.pyi +8 -1
- homeassistant-stubs/components/mcp/__init__.pyi +1 -6
- homeassistant-stubs/components/mcp/config_flow.pyi +12 -2
- homeassistant-stubs/components/mcp/const.pyi +1 -0
- homeassistant-stubs/components/mcp/coordinator.pyi +1 -1
- homeassistant-stubs/components/mcp_server/__init__.pyi +1 -8
- homeassistant-stubs/components/mcp_server/http.pyi +23 -1
- homeassistant-stubs/components/mcp_server/session.pyi +2 -2
- homeassistant-stubs/components/mealie/config_flow.pyi +9 -1
- homeassistant-stubs/components/mealie/coordinator.pyi +2 -0
- homeassistant-stubs/components/mealie/services.pyi +2 -0
- homeassistant-stubs/components/media_player/__init__.pyi +1 -9
- homeassistant-stubs/components/media_player/const.pyi +10 -69
- homeassistant-stubs/components/media_player/intent.pyi +7 -9
- homeassistant-stubs/components/media_player/trigger.pyi +8 -0
- homeassistant-stubs/components/media_source/__init__.pyi +2 -10
- homeassistant-stubs/components/media_source/helper.pyi +16 -0
- homeassistant-stubs/components/media_source/http.pyi +13 -0
- homeassistant-stubs/components/media_source/local_source.pyi +19 -11
- homeassistant-stubs/components/media_source/models.pyi +1 -0
- homeassistant-stubs/components/metoffice/__init__.pyi +1 -0
- homeassistant-stubs/components/metoffice/helpers.pyi +2 -2
- homeassistant-stubs/components/metoffice/sensor.pyi +1 -1
- homeassistant-stubs/components/metoffice/weather.pyi +11 -11
- homeassistant-stubs/components/miele/__init__.pyi +1 -1
- homeassistant-stubs/components/miele/climate.pyi +3 -1
- homeassistant-stubs/components/miele/const.pyi +934 -49
- homeassistant-stubs/components/miele/select.pyi +43 -0
- homeassistant-stubs/components/miele/sensor.pyi +27 -11
- homeassistant-stubs/components/miele/vacuum.pyi +1 -2
- homeassistant-stubs/components/min_max/__init__.pyi +0 -1
- homeassistant-stubs/components/min_max/config_flow.pyi +1 -0
- homeassistant-stubs/components/min_max/sensor.pyi +1 -1
- homeassistant-stubs/components/modbus/__init__.pyi +2 -2
- homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/climate.pyi +8 -4
- homeassistant-stubs/components/modbus/const.pyi +7 -0
- homeassistant-stubs/components/modbus/cover.pyi +2 -2
- homeassistant-stubs/components/modbus/entity.pyi +12 -21
- homeassistant-stubs/components/modbus/fan.pyi +2 -2
- homeassistant-stubs/components/modbus/light.pyi +4 -4
- homeassistant-stubs/components/modbus/modbus.pyi +1 -1
- homeassistant-stubs/components/modbus/sensor.pyi +8 -4
- homeassistant-stubs/components/modbus/switch.pyi +2 -2
- homeassistant-stubs/components/modbus/validators.pyi +4 -2
- homeassistant-stubs/components/mold_indicator/__init__.pyi +0 -1
- homeassistant-stubs/components/mold_indicator/config_flow.pyi +1 -0
- homeassistant-stubs/components/motionmount/select.pyi +1 -0
- homeassistant-stubs/components/mqtt/__init__.pyi +2 -5
- homeassistant-stubs/components/mqtt/client.pyi +7 -3
- homeassistant-stubs/components/mqtt/config_flow.pyi +91 -61
- homeassistant-stubs/components/mqtt/const.pyi +16 -1
- homeassistant-stubs/components/mqtt/device_automation.pyi +1 -1
- homeassistant-stubs/components/mqtt/entity.pyi +2 -2
- homeassistant-stubs/components/mqtt/image.pyi +1 -5
- homeassistant-stubs/components/mqtt/light/schema_json.pyi +0 -1
- homeassistant-stubs/components/mqtt/lock.pyi +3 -3
- homeassistant-stubs/components/mqtt/number.pyi +1 -5
- homeassistant-stubs/components/mqtt/schemas.pyi +1 -1
- homeassistant-stubs/components/mqtt/siren.pyi +1 -9
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/mqtt/text.pyi +1 -5
- homeassistant-stubs/components/mqtt/valve.pyi +1 -2
- homeassistant-stubs/components/music_assistant/__init__.pyi +7 -5
- homeassistant-stubs/components/music_assistant/config_flow.pyi +21 -6
- homeassistant-stubs/components/music_assistant/const.pyi +8 -0
- homeassistant-stubs/components/music_assistant/helpers.pyi +7 -1
- homeassistant-stubs/components/music_assistant/media_browser.pyi +1 -1
- homeassistant-stubs/components/music_assistant/media_player.pyi +6 -9
- homeassistant-stubs/components/music_assistant/schemas.pyi +2 -2
- homeassistant-stubs/components/music_assistant/services.pyi +24 -0
- homeassistant-stubs/components/myuplink/__init__.pyi +2 -1
- homeassistant-stubs/components/nasweb/alarm_control_panel.pyi +40 -0
- homeassistant-stubs/components/nasweb/coordinator.pyi +1 -0
- homeassistant-stubs/components/nasweb/sensor.pyi +0 -5
- homeassistant-stubs/components/nasweb/switch.pyi +1 -0
- homeassistant-stubs/components/neato/__init__.pyi +1 -1
- homeassistant-stubs/components/nest/__init__.pyi +10 -4
- homeassistant-stubs/components/nest/types.pyi +4 -0
- homeassistant-stubs/components/netatmo/__init__.pyi +2 -1
- homeassistant-stubs/components/netatmo/camera.pyi +1 -1
- homeassistant-stubs/components/netatmo/const.pyi +17 -11
- homeassistant-stubs/components/netatmo/data_handler.pyi +1 -1
- homeassistant-stubs/components/netatmo/light.pyi +1 -1
- homeassistant-stubs/components/network/websocket.pyi +0 -1
- homeassistant-stubs/components/nextdns/config_flow.pyi +6 -1
- homeassistant-stubs/components/nordpool/coordinator.pyi +9 -4
- homeassistant-stubs/components/ntfy/config_flow.pyi +4 -2
- homeassistant-stubs/components/ntfy/const.pyi +6 -0
- homeassistant-stubs/components/ntfy/entity.pyi +18 -0
- homeassistant-stubs/components/ntfy/event.pyi +29 -0
- homeassistant-stubs/components/ntfy/notify.pyi +19 -13
- homeassistant-stubs/components/{home_connect → ntfy}/repairs.pyi +7 -3
- homeassistant-stubs/components/number/const.pyi +3 -2
- homeassistant-stubs/components/ohme/__init__.pyi +1 -1
- homeassistant-stubs/components/ohme/coordinator.pyi +0 -5
- homeassistant-stubs/components/ohme/sensor.pyi +1 -2
- homeassistant-stubs/components/onboarding/const.pyi +6 -0
- homeassistant-stubs/components/onedrive/__init__.pyi +2 -3
- homeassistant-stubs/components/onedrive/backup.pyi +2 -1
- homeassistant-stubs/components/onewire/binary_sensor.pyi +5 -12
- homeassistant-stubs/components/onewire/const.pyi +0 -2
- homeassistant-stubs/components/onewire/diagnostics.pyi +2 -0
- homeassistant-stubs/components/onewire/entity.pyi +6 -14
- homeassistant-stubs/components/onewire/onewirehub.pyi +5 -5
- homeassistant-stubs/components/onewire/select.pyi +3 -10
- homeassistant-stubs/components/onewire/sensor.pyi +5 -7
- homeassistant-stubs/components/onewire/switch.pyi +7 -14
- homeassistant-stubs/components/onkyo/media_player.pyi +9 -3
- homeassistant-stubs/components/onkyo/receiver.pyi +4 -1
- homeassistant-stubs/components/open_router/config_flow.pyi +13 -1
- homeassistant-stubs/components/open_router/entity.pyi +4 -1
- homeassistant-stubs/components/openai_conversation/ai_task.pyi +5 -1
- homeassistant-stubs/components/openai_conversation/config_flow.pyi +2 -1
- homeassistant-stubs/components/openai_conversation/const.pyi +7 -0
- homeassistant-stubs/components/openai_conversation/entity.pyi +4 -4
- homeassistant-stubs/components/openuv/__init__.pyi +1 -1
- homeassistant-stubs/components/openuv/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/openuv/coordinator.pyi +14 -1
- homeassistant-stubs/components/opnsense/__init__.pyi +11 -0
- homeassistant-stubs/components/opnsense/const.pyi +5 -0
- homeassistant-stubs/components/opnsense/device_tracker.pyi +23 -0
- homeassistant-stubs/components/opower/coordinator.pyi +1 -0
- homeassistant-stubs/components/overseerr/coordinator.pyi +3 -3
- homeassistant-stubs/components/overseerr/models.pyi +7 -0
- homeassistant-stubs/components/overseerr/sensor.pyi +2 -2
- homeassistant-stubs/components/ping/__init__.pyi +1 -0
- homeassistant-stubs/components/ping/config_flow.pyi +1 -0
- homeassistant-stubs/components/ping/device_tracker.pyi +3 -2
- homeassistant-stubs/components/ping/entity.pyi +1 -0
- homeassistant-stubs/components/ping/sensor.pyi +1 -1
- homeassistant-stubs/components/plugwise/__init__.pyi +1 -1
- homeassistant-stubs/components/plugwise/climate.pyi +19 -4
- homeassistant-stubs/components/plugwise/config_flow.pyi +1 -1
- homeassistant-stubs/components/plugwise/const.pyi +15 -4
- homeassistant-stubs/components/plugwise/coordinator.pyi +6 -3
- homeassistant-stubs/components/plugwise/entity.pyi +2 -2
- homeassistant-stubs/components/plugwise/select.pyi +1 -1
- homeassistant-stubs/components/portainer/__init__.pyi +12 -0
- homeassistant-stubs/components/portainer/binary_sensor.pyi +41 -0
- homeassistant-stubs/components/portainer/button.pyi +28 -0
- homeassistant-stubs/components/portainer/config_flow.pyi +25 -0
- homeassistant-stubs/components/portainer/const.pyi +3 -0
- homeassistant-stubs/components/portainer/coordinator.pyi +44 -0
- homeassistant-stubs/components/portainer/diagnostics.pyi +12 -0
- homeassistant-stubs/components/portainer/entity.pyi +25 -0
- homeassistant-stubs/components/portainer/sensor.pyi +40 -0
- homeassistant-stubs/components/portainer/switch.pyi +34 -0
- homeassistant-stubs/components/prometheus/__init__.pyi +35 -14
- homeassistant-stubs/components/prusalink/coordinator.pyi +2 -0
- homeassistant-stubs/components/pyload/config_flow.pyi +1 -0
- homeassistant-stubs/components/qbus/entity.pyi +1 -3
- homeassistant-stubs/components/radio_browser/media_source.pyi +3 -0
- homeassistant-stubs/components/rainmachine/__init__.pyi +1 -0
- homeassistant-stubs/components/raspberry_pi/hardware.pyi +1 -1
- homeassistant-stubs/components/recorder/auto_repairs/schema.pyi +1 -1
- homeassistant-stubs/components/recorder/const.pyi +1 -1
- homeassistant-stubs/components/recorder/core.pyi +3 -3
- homeassistant-stubs/components/recorder/db_schema.pyi +3 -10
- homeassistant-stubs/components/recorder/entity_registry.pyi +1 -0
- homeassistant-stubs/components/recorder/history/__init__.pyi +2 -2
- homeassistant-stubs/components/recorder/migration.pyi +12 -1
- homeassistant-stubs/components/recorder/models/statistics.pyi +2 -0
- homeassistant-stubs/components/recorder/statistics.pyi +17 -12
- homeassistant-stubs/components/recorder/table_managers/states_meta.pyi +0 -1
- homeassistant-stubs/components/recorder/table_managers/statistics_meta.pyi +5 -3
- homeassistant-stubs/components/recorder/tasks.pyi +1 -0
- homeassistant-stubs/components/recorder/util.pyi +2 -1
- homeassistant-stubs/components/recorder/websocket_api.pyi +6 -4
- homeassistant-stubs/components/remote_calendar/calendar.pyi +1 -2
- homeassistant-stubs/components/renault/renault_hub.pyi +2 -0
- homeassistant-stubs/components/renault/sensor.pyi +1 -1
- homeassistant-stubs/components/reolink/__init__.pyi +4 -3
- homeassistant-stubs/components/reolink/binary_sensor.pyi +15 -0
- homeassistant-stubs/components/reolink/const.pyi +1 -0
- homeassistant-stubs/components/reolink/entity.pyi +10 -0
- homeassistant-stubs/components/reolink/host.pyi +1 -0
- homeassistant-stubs/components/reolink/light.pyi +7 -1
- homeassistant-stubs/components/reolink/number.pyi +10 -1
- homeassistant-stubs/components/reolink/select.pyi +11 -3
- homeassistant-stubs/components/reolink/siren.pyi +13 -1
- homeassistant-stubs/components/reolink/switch.pyi +36 -8
- homeassistant-stubs/components/reolink/update.pyi +1 -1
- homeassistant-stubs/components/rest_command/__init__.pyi +1 -0
- homeassistant-stubs/components/ridwell/__init__.pyi +1 -0
- homeassistant-stubs/components/ridwell/calendar.pyi +2 -2
- homeassistant-stubs/components/ridwell/config_flow.pyi +10 -3
- homeassistant-stubs/components/ridwell/const.pyi +5 -0
- homeassistant-stubs/components/rituals_perfume_genie/__init__.pyi +4 -2
- homeassistant-stubs/components/rituals_perfume_genie/config_flow.pyi +4 -2
- homeassistant-stubs/components/rituals_perfume_genie/coordinator.pyi +5 -3
- homeassistant-stubs/components/roborock/__init__.pyi +9 -11
- homeassistant-stubs/components/roborock/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/roborock/button.pyi +6 -3
- homeassistant-stubs/components/roborock/config_flow.pyi +3 -3
- homeassistant-stubs/components/roborock/const.pyi +1 -0
- homeassistant-stubs/components/roborock/coordinator.pyi +65 -38
- homeassistant-stubs/components/roborock/diagnostics.pyi +1 -1
- homeassistant-stubs/components/roborock/entity.pyi +12 -29
- homeassistant-stubs/components/roborock/image.pyi +8 -4
- homeassistant-stubs/components/roborock/models.pyi +11 -6
- homeassistant-stubs/components/roborock/number.pyi +6 -5
- homeassistant-stubs/components/roborock/roborock_storage.pyi +17 -12
- homeassistant-stubs/components/roborock/select.pyi +14 -7
- homeassistant-stubs/components/roborock/sensor.pyi +21 -7
- homeassistant-stubs/components/roborock/switch.pyi +6 -7
- homeassistant-stubs/components/roborock/time.pyi +5 -6
- homeassistant-stubs/components/roborock/vacuum.pyi +3 -1
- homeassistant-stubs/components/route_b_smart_meter/__init__.pyi +10 -0
- homeassistant-stubs/components/route_b_smart_meter/config_flow.pyi +22 -0
- homeassistant-stubs/components/route_b_smart_meter/const.pyi +9 -0
- homeassistant-stubs/components/route_b_smart_meter/coordinator.pyi +26 -0
- homeassistant-stubs/components/route_b_smart_meter/sensor.pyi +30 -0
- homeassistant-stubs/components/scene/trigger.pyi +14 -0
- homeassistant-stubs/components/scrape/__init__.pyi +0 -1
- homeassistant-stubs/components/scrape/config_flow.pyi +1 -0
- homeassistant-stubs/components/scrape/coordinator.pyi +5 -2
- homeassistant-stubs/components/script/__init__.pyi +1 -1
- homeassistant-stubs/components/sensibo/__init__.pyi +6 -0
- homeassistant-stubs/components/sensibo/climate.pyi +3 -26
- homeassistant-stubs/components/sensibo/services.pyi +31 -0
- homeassistant-stubs/components/sensor/const.pyi +3 -1
- homeassistant-stubs/components/sensor/device_condition.pyi +2 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +2 -0
- homeassistant-stubs/components/sensor/recorder.pyi +6 -3
- homeassistant-stubs/components/senz/__init__.pyi +8 -5
- homeassistant-stubs/components/senz/api.pyi +1 -1
- homeassistant-stubs/components/senz/climate.pyi +5 -5
- homeassistant-stubs/components/senz/config_flow.pyi +9 -0
- homeassistant-stubs/components/senz/diagnostics.pyi +9 -0
- homeassistant-stubs/components/senz/sensor.pyi +32 -0
- homeassistant-stubs/components/sfr_box/__init__.pyi +4 -6
- homeassistant-stubs/components/sfr_box/binary_sensor.pyi +7 -14
- homeassistant-stubs/components/sfr_box/button.pyi +6 -8
- homeassistant-stubs/components/sfr_box/config_flow.pyi +5 -2
- homeassistant-stubs/components/sfr_box/coordinator.pyi +16 -4
- homeassistant-stubs/components/sfr_box/diagnostics.pyi +2 -4
- homeassistant-stubs/components/sfr_box/entity.pyi +18 -0
- homeassistant-stubs/components/sfr_box/sensor.pyi +6 -13
- homeassistant-stubs/components/sftp_storage/__init__.pyi +21 -0
- homeassistant-stubs/components/sftp_storage/backup.pyi +24 -0
- homeassistant-stubs/components/sftp_storage/client.pyi +48 -0
- homeassistant-stubs/components/sftp_storage/config_flow.pyi +25 -0
- homeassistant-stubs/components/sftp_storage/const.pyi +16 -0
- homeassistant-stubs/components/shelly/__init__.pyi +3 -2
- homeassistant-stubs/components/shelly/binary_sensor.pyi +19 -5
- homeassistant-stubs/components/shelly/ble_provisioning.pyi +21 -0
- homeassistant-stubs/components/shelly/button.pyi +28 -9
- homeassistant-stubs/components/shelly/climate.pyi +63 -7
- homeassistant-stubs/components/shelly/config_flow.pyi +72 -5
- homeassistant-stubs/components/shelly/const.pyi +25 -3
- homeassistant-stubs/components/shelly/coordinator.pyi +1 -1
- homeassistant-stubs/components/shelly/cover.pyi +39 -10
- homeassistant-stubs/components/shelly/entity.pyi +12 -18
- homeassistant-stubs/components/shelly/event.pyi +17 -10
- homeassistant-stubs/components/shelly/light.pyi +40 -14
- homeassistant-stubs/components/shelly/logbook.pyi +1 -1
- homeassistant-stubs/components/shelly/number.pyi +17 -11
- homeassistant-stubs/components/shelly/repairs.pyi +14 -2
- homeassistant-stubs/components/shelly/select.pyi +15 -7
- homeassistant-stubs/components/shelly/sensor.pyi +19 -10
- homeassistant-stubs/components/shelly/services.pyi +23 -0
- homeassistant-stubs/components/shelly/switch.pyi +12 -7
- homeassistant-stubs/components/shelly/text.pyi +8 -3
- homeassistant-stubs/components/shelly/update.pyi +4 -0
- homeassistant-stubs/components/shelly/utils.pyi +24 -9
- homeassistant-stubs/components/shelly/valve.pyi +34 -5
- homeassistant-stubs/components/simplisafe/__init__.pyi +3 -1
- homeassistant-stubs/components/simplisafe/binary_sensor.pyi +3 -0
- homeassistant-stubs/components/simplisafe/config_flow.pyi +2 -0
- homeassistant-stubs/components/siren/trigger.pyi +8 -0
- homeassistant-stubs/components/sleep_as_android/event.pyi +1 -0
- homeassistant-stubs/components/sma/__init__.pyi +15 -0
- homeassistant-stubs/components/sma/config_flow.pyi +27 -0
- homeassistant-stubs/components/sma/const.pyi +11 -0
- homeassistant-stubs/components/sma/coordinator.pyi +28 -0
- homeassistant-stubs/components/sma/diagnostics.pyi +10 -0
- homeassistant-stubs/components/sma/sensor.pyi +33 -0
- homeassistant-stubs/components/smhi/__init__.pyi +1 -1
- homeassistant-stubs/components/smhi/coordinator.pyi +15 -2
- homeassistant-stubs/components/smhi/entity.pyi +13 -4
- homeassistant-stubs/components/smhi/sensor.pyi +27 -11
- homeassistant-stubs/components/smhi/weather.pyi +3 -2
- homeassistant-stubs/components/smlight/switch.pyi +1 -0
- homeassistant-stubs/components/solarlog/coordinator.pyi +1 -1
- homeassistant-stubs/components/sql/__init__.pyi +4 -6
- homeassistant-stubs/components/sql/config_flow.pyi +9 -4
- homeassistant-stubs/components/sql/const.pyi +1 -0
- homeassistant-stubs/components/sql/sensor.pyi +10 -18
- homeassistant-stubs/components/sql/services.pyi +18 -0
- homeassistant-stubs/components/sql/util.pyi +27 -3
- homeassistant-stubs/components/squeezebox/__init__.pyi +4 -1
- homeassistant-stubs/components/squeezebox/binary_sensor.pyi +16 -5
- homeassistant-stubs/components/squeezebox/browse_media.pyi +4 -3
- homeassistant-stubs/components/squeezebox/button.pyi +1 -0
- homeassistant-stubs/components/squeezebox/const.pyi +4 -1
- homeassistant-stubs/components/squeezebox/media_player.pyi +7 -2
- homeassistant-stubs/components/squeezebox/sensor.pyi +21 -3
- homeassistant-stubs/components/squeezebox/switch.pyi +1 -0
- homeassistant-stubs/components/squeezebox/util.pyi +6 -0
- homeassistant-stubs/components/ssdp/server.pyi +2 -3
- homeassistant-stubs/components/starlink/sensor.pyi +11 -1
- homeassistant-stubs/components/statistics/__init__.pyi +0 -1
- homeassistant-stubs/components/statistics/config_flow.pyi +1 -0
- homeassistant-stubs/components/stookwijzer/__init__.pyi +1 -1
- homeassistant-stubs/components/stookwijzer/services.pyi +3 -2
- homeassistant-stubs/components/suez_water/coordinator.pyi +2 -1
- homeassistant-stubs/components/sun/condition.pyi +12 -7
- homeassistant-stubs/components/sun/sensor.pyi +0 -2
- homeassistant-stubs/components/switch/trigger.pyi +8 -0
- homeassistant-stubs/components/switch_as_x/__init__.pyi +0 -1
- homeassistant-stubs/components/switch_as_x/config_flow.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -1
- homeassistant-stubs/components/switchbot_cloud/binary_sensor.pyi +9 -2
- homeassistant-stubs/components/switchbot_cloud/climate.pyi +37 -6
- homeassistant-stubs/components/switchbot_cloud/const.pyi +14 -0
- homeassistant-stubs/components/switchbot_cloud/entity.pyi +1 -1
- homeassistant-stubs/components/switchbot_cloud/humidifier.pyi +48 -0
- homeassistant-stubs/components/switchbot_cloud/light.pyi +10 -1
- homeassistant-stubs/components/switchbot_cloud/lock.pyi +7 -2
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +39 -4
- homeassistant-stubs/components/switchbot_cloud/switch.pyi +13 -1
- homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +4 -4
- homeassistant-stubs/components/switcher_kis/button.pyi +5 -6
- homeassistant-stubs/components/switcher_kis/climate.pyi +3 -3
- homeassistant-stubs/components/switcher_kis/config_flow.pyi +1 -1
- homeassistant-stubs/components/switcher_kis/const.pyi +2 -0
- homeassistant-stubs/components/switcher_kis/cover.pyi +4 -3
- homeassistant-stubs/components/switcher_kis/light.pyi +3 -2
- homeassistant-stubs/components/switcher_kis/sensor.pyi +4 -2
- homeassistant-stubs/components/switcher_kis/switch.pyi +3 -5
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +1 -0
- homeassistant-stubs/components/synology_dsm/media_source.pyi +2 -2
- homeassistant-stubs/components/synology_dsm/sensor.pyi +3 -0
- homeassistant-stubs/components/systemmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +4 -3
- homeassistant-stubs/components/systemmonitor/config_flow.pyi +1 -0
- homeassistant-stubs/components/systemmonitor/const.pyi +1 -0
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +12 -6
- homeassistant-stubs/components/systemmonitor/sensor.pyi +8 -2
- homeassistant-stubs/components/systemmonitor/util.pyi +2 -1
- homeassistant-stubs/components/telegram_bot/__init__.pyi +9 -5
- homeassistant-stubs/components/telegram_bot/bot.pyi +16 -5
- homeassistant-stubs/components/telegram_bot/config_flow.pyi +4 -6
- homeassistant-stubs/components/telegram_bot/const.pyi +25 -4
- homeassistant-stubs/components/telegram_bot/diagnostics.pyi +11 -0
- homeassistant-stubs/components/telegram_bot/entity.pyi +16 -0
- homeassistant-stubs/components/telegram_bot/event.pyi +19 -0
- homeassistant-stubs/components/telegram_bot/helpers.pyi +4 -0
- homeassistant-stubs/components/telegram_bot/notify.pyi +6 -10
- homeassistant-stubs/components/text/trigger.pyi +13 -0
- homeassistant-stubs/components/threshold/__init__.pyi +0 -1
- homeassistant-stubs/components/threshold/config_flow.pyi +1 -0
- homeassistant-stubs/components/tibber/coordinator.pyi +1 -0
- homeassistant-stubs/components/tod/__init__.pyi +0 -1
- homeassistant-stubs/components/tod/config_flow.pyi +1 -0
- homeassistant-stubs/components/todo/__init__.pyi +1 -0
- homeassistant-stubs/components/tolo/__init__.pyi +3 -5
- homeassistant-stubs/components/tolo/binary_sensor.pyi +4 -6
- homeassistant-stubs/components/tolo/button.pyi +3 -5
- homeassistant-stubs/components/tolo/climate.pyi +3 -5
- homeassistant-stubs/components/tolo/config_flow.pyi +5 -3
- homeassistant-stubs/components/tolo/coordinator.pyi +3 -2
- homeassistant-stubs/components/tolo/entity.pyi +2 -3
- homeassistant-stubs/components/tolo/fan.pyi +3 -5
- homeassistant-stubs/components/tolo/light.pyi +3 -5
- homeassistant-stubs/components/tolo/number.pyi +3 -5
- homeassistant-stubs/components/tolo/select.pyi +4 -5
- homeassistant-stubs/components/tolo/sensor.pyi +3 -5
- homeassistant-stubs/components/tolo/switch.pyi +3 -5
- homeassistant-stubs/components/tplink/number.pyi +1 -1
- homeassistant-stubs/components/tplink_omada/__init__.pyi +6 -1
- homeassistant-stubs/components/tplink_omada/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/tplink_omada/controller.pyi +4 -2
- homeassistant-stubs/components/tplink_omada/coordinator.pyi +17 -2
- homeassistant-stubs/components/tplink_omada/services.pyi +22 -0
- homeassistant-stubs/components/tplink_omada/switch.pyi +2 -1
- homeassistant-stubs/components/tplink_omada/update.pyi +3 -19
- homeassistant-stubs/components/tractive/switch.pyi +2 -2
- homeassistant-stubs/components/transmission/__init__.pyi +6 -13
- homeassistant-stubs/components/transmission/const.pyi +5 -0
- homeassistant-stubs/components/transmission/entity.pyi +13 -0
- homeassistant-stubs/components/transmission/helpers.pyi +6 -0
- homeassistant-stubs/components/transmission/sensor.pyi +5 -12
- homeassistant-stubs/components/transmission/services.pyi +37 -0
- homeassistant-stubs/components/transmission/switch.pyi +5 -9
- homeassistant-stubs/components/trend/__init__.pyi +0 -1
- homeassistant-stubs/components/trend/config_flow.pyi +1 -0
- homeassistant-stubs/components/tts/__init__.pyi +7 -3
- homeassistant-stubs/components/unifi/light.pyi +48 -0
- homeassistant-stubs/components/unifi/sensor.pyi +2 -0
- homeassistant-stubs/components/unifiprotect/__init__.pyi +4 -3
- homeassistant-stubs/components/unifiprotect/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/unifiprotect/button.pyi +5 -4
- homeassistant-stubs/components/unifiprotect/camera.pyi +4 -1
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +25 -5
- homeassistant-stubs/components/unifiprotect/const.pyi +2 -0
- homeassistant-stubs/components/unifiprotect/discovery.pyi +9 -1
- homeassistant-stubs/components/unifiprotect/entity.pyi +1 -1
- homeassistant-stubs/components/unifiprotect/event.pyi +34 -2
- homeassistant-stubs/components/unifiprotect/light.pyi +5 -1
- homeassistant-stubs/components/unifiprotect/lock.pyi +4 -0
- homeassistant-stubs/components/unifiprotect/media_player.pyi +2 -0
- homeassistant-stubs/components/unifiprotect/number.pyi +6 -2
- homeassistant-stubs/components/unifiprotect/repairs.pyi +1 -2
- homeassistant-stubs/components/unifiprotect/select.pyi +6 -5
- homeassistant-stubs/components/unifiprotect/sensor.pyi +1 -12
- homeassistant-stubs/components/unifiprotect/services.pyi +3 -2
- homeassistant-stubs/components/unifiprotect/switch.pyi +8 -2
- homeassistant-stubs/components/unifiprotect/text.pyi +6 -2
- homeassistant-stubs/components/unifiprotect/utils.pyi +6 -2
- homeassistant-stubs/components/update/trigger.pyi +8 -0
- homeassistant-stubs/components/uptime_kuma/config_flow.pyi +1 -0
- homeassistant-stubs/components/uptimerobot/binary_sensor.pyi +2 -0
- homeassistant-stubs/components/uptimerobot/config_flow.pyi +1 -0
- homeassistant-stubs/components/uptimerobot/sensor.pyi +2 -0
- homeassistant-stubs/components/uptimerobot/switch.pyi +2 -0
- homeassistant-stubs/components/uptimerobot/utils.pyi +5 -0
- homeassistant-stubs/components/usb/__init__.pyi +4 -4
- homeassistant-stubs/components/usb/utils.pyi +7 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +0 -15
- homeassistant-stubs/components/vacuum/intent.pyi +1 -1
- homeassistant-stubs/components/vacuum/trigger.pyi +7 -0
- homeassistant-stubs/components/velbus/__init__.pyi +1 -1
- homeassistant-stubs/components/velbus/config_flow.pyi +17 -4
- homeassistant-stubs/components/velbus/const.pyi +1 -0
- homeassistant-stubs/components/velbus/entity.pyi +1 -1
- homeassistant-stubs/components/velbus/sensor.pyi +19 -10
- homeassistant-stubs/components/velbus/services.pyi +1 -1
- homeassistant-stubs/components/vivotek/__init__.pyi +17 -0
- homeassistant-stubs/components/vivotek/camera.pyi +41 -0
- homeassistant-stubs/components/vivotek/config_flow.pyi +25 -0
- homeassistant-stubs/components/vivotek/const.pyi +6 -0
- homeassistant-stubs/components/vodafone_station/__init__.pyi +3 -1
- homeassistant-stubs/components/vodafone_station/config_flow.pyi +3 -2
- homeassistant-stubs/components/vodafone_station/const.pyi +3 -0
- homeassistant-stubs/components/vodafone_station/coordinator.pyi +4 -4
- homeassistant-stubs/components/volvo/__init__.pyi +4 -2
- homeassistant-stubs/components/volvo/api.pyi +4 -0
- homeassistant-stubs/components/volvo/binary_sensor.pyi +1 -3
- homeassistant-stubs/components/volvo/button.pyi +27 -0
- homeassistant-stubs/components/volvo/coordinator.pyi +20 -9
- homeassistant-stubs/components/volvo/device_tracker.pyi +23 -0
- homeassistant-stubs/components/volvo/diagnostics.pyi +12 -0
- homeassistant-stubs/components/volvo/entity.pyi +9 -5
- homeassistant-stubs/components/volvo/lock.pyi +37 -0
- homeassistant-stubs/components/volvo/sensor.pyi +9 -8
- homeassistant-stubs/components/wake_on_lan/__init__.pyi +0 -1
- homeassistant-stubs/components/wake_on_lan/config_flow.pyi +1 -0
- homeassistant-stubs/components/wallbox/__init__.pyi +2 -3
- homeassistant-stubs/components/wallbox/config_flow.pyi +2 -2
- homeassistant-stubs/components/wallbox/const.pyi +5 -0
- homeassistant-stubs/components/wallbox/coordinator.pyi +12 -9
- homeassistant-stubs/components/waqi/__init__.pyi +8 -0
- homeassistant-stubs/components/waqi/config_flow.pyi +14 -9
- homeassistant-stubs/components/waqi/const.pyi +1 -1
- homeassistant-stubs/components/waqi/coordinator.pyi +5 -4
- homeassistant-stubs/components/waqi/diagnostics.pyi +5 -0
- homeassistant-stubs/components/watts/__init__.pyi +28 -0
- homeassistant-stubs/components/watts/application_credentials.pyi +5 -0
- homeassistant-stubs/components/watts/climate.pyi +35 -0
- homeassistant-stubs/components/watts/config_flow.pyi +13 -0
- homeassistant-stubs/components/watts/const.pyi +12 -0
- homeassistant-stubs/components/watts/coordinator.pyi +40 -0
- homeassistant-stubs/components/watts/entity.pyi +17 -0
- homeassistant-stubs/components/webhook/trigger.pyi +3 -1
- homeassistant-stubs/components/webostv/media_player.pyi +3 -0
- homeassistant-stubs/components/websocket_api/automation.pyi +47 -0
- homeassistant-stubs/components/websocket_api/commands.pyi +11 -0
- homeassistant-stubs/components/websocket_api/http.pyi +1 -0
- homeassistant-stubs/components/withings/__init__.pyi +2 -1
- homeassistant-stubs/components/withings/const.pyi +0 -1
- homeassistant-stubs/components/withings/sensor.pyi +2 -2
- homeassistant-stubs/components/wled/__init__.pyi +4 -3
- homeassistant-stubs/components/wled/analytics.pyi +4 -0
- homeassistant-stubs/components/wled/button.pyi +3 -2
- homeassistant-stubs/components/wled/config_flow.pyi +8 -2
- homeassistant-stubs/components/wled/coordinator.pyi +8 -2
- homeassistant-stubs/components/wled/diagnostics.pyi +1 -1
- homeassistant-stubs/components/wled/helpers.pyi +1 -0
- homeassistant-stubs/components/wled/light.pyi +1 -2
- homeassistant-stubs/components/wled/number.pyi +1 -2
- homeassistant-stubs/components/wled/select.pyi +7 -5
- homeassistant-stubs/components/wled/sensor.pyi +3 -2
- homeassistant-stubs/components/wled/switch.pyi +1 -2
- homeassistant-stubs/components/wled/update.pyi +4 -2
- homeassistant-stubs/components/workday/calendar.pyi +23 -0
- homeassistant-stubs/components/worldclock/__init__.pyi +0 -1
- homeassistant-stubs/components/worldclock/config_flow.pyi +1 -0
- homeassistant-stubs/components/xbox/__init__.pyi +19 -0
- homeassistant-stubs/components/xbox/api.pyi +15 -0
- homeassistant-stubs/components/xbox/application_credentials.pyi +5 -0
- homeassistant-stubs/components/xbox/binary_sensor.pyi +36 -0
- homeassistant-stubs/components/xbox/browse_media.pyi +17 -0
- homeassistant-stubs/components/xbox/config_flow.pyi +27 -0
- homeassistant-stubs/components/xbox/const.pyi +4 -0
- homeassistant-stubs/components/xbox/coordinator.pyi +54 -0
- homeassistant-stubs/components/xbox/diagnostics.pyi +9 -0
- homeassistant-stubs/components/xbox/entity.pyi +54 -0
- homeassistant-stubs/components/xbox/image.pyi +34 -0
- homeassistant-stubs/components/xbox/media_player.pyi +45 -0
- homeassistant-stubs/components/xbox/media_source.pyi +51 -0
- homeassistant-stubs/components/xbox/remote.pyi +20 -0
- homeassistant-stubs/components/xbox/sensor.pyi +74 -0
- homeassistant-stubs/components/yalexs_ble/__init__.pyi +3 -2
- homeassistant-stubs/components/yalexs_ble/config_cache.pyi +10 -0
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +6 -2
- homeassistant-stubs/components/youtube/__init__.pyi +1 -1
- homeassistant-stubs/components/zeroconf/__init__.pyi +3 -1
- homeassistant-stubs/components/zeroconf/discovery.pyi +8 -1
- homeassistant-stubs/components/zeroconf/repairs.pyi +13 -0
- homeassistant-stubs/components/zone/condition.pyi +12 -6
- homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi +1 -0
- homeassistant-stubs/components/zwave_js/config_flow.pyi +7 -3
- homeassistant-stubs/components/zwave_js/const.pyi +3 -0
- homeassistant-stubs/components/zwave_js/device_trigger.pyi +2 -2
- homeassistant-stubs/components/zwave_js/entity.pyi +2 -2
- homeassistant-stubs/components/zwave_js/event.pyi +11 -5
- homeassistant-stubs/components/zwave_js/triggers/event.pyi +24 -11
- homeassistant-stubs/components/zwave_js/triggers/value_updated.pyi +13 -9
- homeassistant-stubs/config_entries.pyi +15 -4
- homeassistant-stubs/const.pyi +12 -74
- homeassistant-stubs/core.pyi +4 -17
- homeassistant-stubs/core_config.pyi +1 -1
- homeassistant-stubs/data_entry_flow.pyi +20 -3
- homeassistant-stubs/generated/entity_platforms.pyi +46 -0
- homeassistant-stubs/generated/labs.pyi +3 -0
- homeassistant-stubs/helpers/area_registry.pyi +4 -2
- homeassistant-stubs/helpers/automation.pyi +7 -0
- homeassistant-stubs/helpers/condition.pyi +36 -10
- homeassistant-stubs/helpers/config_entry_oauth2_flow.pyi +3 -0
- homeassistant-stubs/helpers/config_validation.pyi +5 -4
- homeassistant-stubs/helpers/debounce.pyi +6 -1
- homeassistant-stubs/helpers/deprecation.pyi +1 -0
- homeassistant-stubs/helpers/device_registry.pyi +6 -5
- homeassistant-stubs/helpers/entity.pyi +0 -1
- homeassistant-stubs/helpers/entity_component.pyi +3 -5
- homeassistant-stubs/helpers/entity_platform.pyi +2 -2
- homeassistant-stubs/helpers/entity_registry.pyi +4 -4
- homeassistant-stubs/helpers/event.pyi +3 -2
- homeassistant-stubs/helpers/floor_registry.pyi +7 -1
- homeassistant-stubs/helpers/instance_id.pyi +1 -0
- homeassistant-stubs/helpers/intent.pyi +6 -8
- homeassistant-stubs/helpers/json.pyi +1 -0
- homeassistant-stubs/helpers/llm.pyi +6 -1
- homeassistant-stubs/helpers/registry.pyi +0 -1
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +5 -1
- homeassistant-stubs/helpers/script.pyi +7 -7
- homeassistant-stubs/helpers/selector.pyi +43 -21
- homeassistant-stubs/helpers/service.pyi +17 -19
- homeassistant-stubs/helpers/service_info/esphome.pyi +12 -0
- homeassistant-stubs/helpers/storage.pyi +6 -4
- homeassistant-stubs/helpers/target.pyi +9 -4
- homeassistant-stubs/helpers/{template.pyi → template/__init__.pyi} +12 -141
- homeassistant-stubs/helpers/template/context.pyi +16 -0
- homeassistant-stubs/helpers/template/extensions/__init__.pyi +14 -0
- homeassistant-stubs/helpers/template/extensions/areas.pyi +14 -0
- homeassistant-stubs/helpers/template/extensions/base.pyi +30 -0
- homeassistant-stubs/helpers/template/extensions/base64.pyi +9 -0
- homeassistant-stubs/helpers/template/extensions/collection.pyi +18 -0
- homeassistant-stubs/helpers/template/extensions/crypto.pyi +13 -0
- homeassistant-stubs/helpers/template/extensions/datetime.pyi +28 -0
- homeassistant-stubs/helpers/template/extensions/devices.pyi +13 -0
- homeassistant-stubs/helpers/template/extensions/floors.pyi +14 -0
- homeassistant-stubs/helpers/template/extensions/issues.pyi +8 -0
- homeassistant-stubs/helpers/template/extensions/labels.pyi +15 -0
- homeassistant-stubs/helpers/template/extensions/math.pyi +49 -0
- homeassistant-stubs/helpers/template/extensions/regex.pyi +14 -0
- homeassistant-stubs/helpers/template/extensions/string.pyi +9 -0
- homeassistant-stubs/helpers/template/helpers.pyi +6 -0
- homeassistant-stubs/helpers/template/render_info.pyi +39 -0
- homeassistant-stubs/helpers/trigger.pyi +136 -11
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -1
- homeassistant-stubs/helpers/typing.pyi +0 -11
- homeassistant-stubs/helpers/update_coordinator.pyi +6 -3
- homeassistant-stubs/loader.pyi +3 -0
- homeassistant-stubs/requirements.pyi +4 -3
- homeassistant-stubs/runner.pyi +17 -1
- homeassistant-stubs/util/__init__.pyi +1 -0
- homeassistant-stubs/util/async_iterator.pyi +33 -0
- homeassistant-stubs/util/unit_conversion.pyi +18 -0
- {homeassistant_stubs-2025.9.0b0.dist-info → homeassistant_stubs-2026.1.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.9.0b0.dist-info → homeassistant_stubs-2026.1.0b0.dist-info}/RECORD +1067 -859
- {homeassistant_stubs-2025.9.0b0.dist-info → homeassistant_stubs-2026.1.0b0.dist-info}/WHEEL +1 -1
- homeassistant-stubs/components/bluetooth_tracker/__init__.pyi +0 -0
- homeassistant-stubs/components/bluetooth_tracker/const.pyi +0 -7
- homeassistant-stubs/components/bluetooth_tracker/device_tracker.pyi +0 -19
- homeassistant-stubs/components/elevenlabs/__init__.pyi +0 -22
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +0 -33
- homeassistant-stubs/components/elevenlabs/const.pyi +0 -14
- homeassistant-stubs/components/elevenlabs/tts.pyi +0 -36
- homeassistant-stubs/components/home_connect/time.pyi +0 -29
- homeassistant-stubs/components/music_assistant/actions.pyi +0 -22
- homeassistant-stubs/components/pandora/__init__.pyi +0 -1
- homeassistant-stubs/components/pandora/media_player.pyi +0 -52
- homeassistant-stubs/components/recorder/history/legacy.pyi +0 -48
- homeassistant-stubs/components/recorder/history/modern.pyi +0 -39
- homeassistant-stubs/components/recorder/models/legacy.pyi +0 -45
- homeassistant-stubs/components/sfr_box/models.pyi +0 -12
- {homeassistant_stubs-2025.9.0b0.dist-info → homeassistant_stubs-2026.1.0b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from .areas import AreaExtension as AreaExtension
|
|
2
|
+
from .base64 import Base64Extension as Base64Extension
|
|
3
|
+
from .collection import CollectionExtension as CollectionExtension
|
|
4
|
+
from .crypto import CryptoExtension as CryptoExtension
|
|
5
|
+
from .datetime import DateTimeExtension as DateTimeExtension
|
|
6
|
+
from .devices import DeviceExtension as DeviceExtension
|
|
7
|
+
from .floors import FloorExtension as FloorExtension
|
|
8
|
+
from .issues import IssuesExtension as IssuesExtension
|
|
9
|
+
from .labels import LabelExtension as LabelExtension
|
|
10
|
+
from .math import MathExtension as MathExtension
|
|
11
|
+
from .regex import RegexExtension as RegexExtension
|
|
12
|
+
from .string import StringExtension as StringExtension
|
|
13
|
+
|
|
14
|
+
__all__ = ['AreaExtension', 'Base64Extension', 'CollectionExtension', 'CryptoExtension', 'DateTimeExtension', 'DeviceExtension', 'FloorExtension', 'IssuesExtension', 'LabelExtension', 'MathExtension', 'RegexExtension', 'StringExtension']
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from collections.abc import Iterable
|
|
3
|
+
from homeassistant.helpers import area_registry as ar
|
|
4
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
5
|
+
from homeassistant.helpers.template.helpers import resolve_area_id as resolve_area_id
|
|
6
|
+
|
|
7
|
+
class AreaExtension(BaseTemplateExtension):
|
|
8
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
9
|
+
def areas(self) -> Iterable[str | None]: ...
|
|
10
|
+
def area_id(self, lookup_value: str) -> str | None: ...
|
|
11
|
+
def _get_area_name(self, area_reg: ar.AreaRegistry, valid_area_id: str) -> str: ...
|
|
12
|
+
def area_name(self, lookup_value: str) -> str | None: ...
|
|
13
|
+
def area_entities(self, area_id_or_name: str) -> Iterable[str]: ...
|
|
14
|
+
def area_devices(self, area_id_or_name: str) -> Iterable[str]: ...
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from collections.abc import Callable as Callable
|
|
2
|
+
from dataclasses import dataclass
|
|
3
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
4
|
+
from homeassistant.exceptions import TemplateError as TemplateError
|
|
5
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
6
|
+
from jinja2.ext import Extension
|
|
7
|
+
from jinja2.nodes import Node as Node
|
|
8
|
+
from jinja2.parser import Parser as Parser
|
|
9
|
+
from typing import Any, Concatenate, NoReturn
|
|
10
|
+
|
|
11
|
+
@dataclass
|
|
12
|
+
class TemplateFunction:
|
|
13
|
+
name: str
|
|
14
|
+
func: Callable[..., Any] | Any
|
|
15
|
+
as_global: bool = ...
|
|
16
|
+
as_filter: bool = ...
|
|
17
|
+
as_test: bool = ...
|
|
18
|
+
limited_ok: bool = ...
|
|
19
|
+
requires_hass: bool = ...
|
|
20
|
+
|
|
21
|
+
def _pass_context[**_P, _R](func: Callable[Concatenate[Any, _P], _R], jinja_context: Callable[[Callable[Concatenate[Any, _P], _R]], Callable[Concatenate[Any, _P], _R]] = ...) -> Callable[Concatenate[Any, _P], _R]: ...
|
|
22
|
+
|
|
23
|
+
class BaseTemplateExtension(Extension):
|
|
24
|
+
environment: TemplateEnvironment
|
|
25
|
+
def __init__(self, environment: TemplateEnvironment, *, functions: list[TemplateFunction] | None = None) -> None: ...
|
|
26
|
+
@staticmethod
|
|
27
|
+
def _create_unsupported_function(name: str) -> Callable[[], NoReturn]: ...
|
|
28
|
+
@property
|
|
29
|
+
def hass(self) -> HomeAssistant: ...
|
|
30
|
+
def parse(self, parser: Parser) -> Node | list[Node]: ...
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
3
|
+
|
|
4
|
+
class Base64Extension(BaseTemplateExtension):
|
|
5
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
6
|
+
@staticmethod
|
|
7
|
+
def base64_encode(value: str | bytes) -> str: ...
|
|
8
|
+
@staticmethod
|
|
9
|
+
def base64_decode(value: str, encoding: str | None = 'utf-8') -> str | bytes: ...
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from collections.abc import Iterable, MutableSequence
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
class CollectionExtension(BaseTemplateExtension):
|
|
7
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
8
|
+
def flatten(self, value: Iterable[Any], levels: int | None = None) -> list[Any]: ...
|
|
9
|
+
def shuffle(self, *args: Any, seed: Any = None) -> MutableSequence[Any]: ...
|
|
10
|
+
def intersect(self, value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
11
|
+
def difference(self, value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
12
|
+
def union(self, value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
13
|
+
def symmetric_difference(self, value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
14
|
+
def to_set(self, value: Any) -> set[Any]: ...
|
|
15
|
+
def to_tuple(self, value: Any) -> tuple[Any, ...]: ...
|
|
16
|
+
def is_list(self, value: Any) -> bool: ...
|
|
17
|
+
def is_set(self, value: Any) -> bool: ...
|
|
18
|
+
def is_tuple(self, value: Any) -> bool: ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
3
|
+
|
|
4
|
+
class CryptoExtension(BaseTemplateExtension):
|
|
5
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
6
|
+
@staticmethod
|
|
7
|
+
def md5(value: str) -> str: ...
|
|
8
|
+
@staticmethod
|
|
9
|
+
def sha1(value: str) -> str: ...
|
|
10
|
+
@staticmethod
|
|
11
|
+
def sha256(value: str) -> str: ...
|
|
12
|
+
@staticmethod
|
|
13
|
+
def sha512(value: str) -> str: ...
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from datetime import datetime, timedelta
|
|
4
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
5
|
+
from homeassistant.helpers.template.helpers import raise_no_default as raise_no_default
|
|
6
|
+
from homeassistant.helpers.template.render_info import render_info_cv as render_info_cv
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
_SENTINEL: Incomplete
|
|
10
|
+
DATE_STR_FORMAT: str
|
|
11
|
+
|
|
12
|
+
class DateTimeExtension(BaseTemplateExtension):
|
|
13
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
14
|
+
def timestamp_custom(self, value: Any, date_format: str = ..., local: bool = True, default: Any = ...) -> Any: ...
|
|
15
|
+
def timestamp_local(self, value: Any, default: Any = ...) -> Any: ...
|
|
16
|
+
def timestamp_utc(self, value: Any, default: Any = ...) -> Any: ...
|
|
17
|
+
def as_timestamp(self, value: Any, default: Any = ...) -> Any: ...
|
|
18
|
+
def as_datetime(self, value: Any, default: Any = ...) -> Any: ...
|
|
19
|
+
def as_timedelta(self, value: str) -> timedelta | None: ...
|
|
20
|
+
def strptime(self, string: str, fmt: str, default: Any = ...) -> Any: ...
|
|
21
|
+
def as_local(self, value: datetime) -> datetime: ...
|
|
22
|
+
def is_datetime(self, value: Any) -> bool: ...
|
|
23
|
+
def now(self) -> datetime: ...
|
|
24
|
+
def utcnow(self) -> datetime: ...
|
|
25
|
+
def today_at(self, time_str: str = '') -> datetime: ...
|
|
26
|
+
def relative_time(self, value: Any) -> Any: ...
|
|
27
|
+
def time_since(self, value: Any | datetime, precision: int = 1) -> Any: ...
|
|
28
|
+
def time_until(self, value: Any | datetime, precision: int = 1) -> Any: ...
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from collections.abc import Iterable
|
|
3
|
+
from homeassistant.exceptions import TemplateError as TemplateError
|
|
4
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
class DeviceExtension(BaseTemplateExtension):
|
|
8
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
9
|
+
def device_entities(self, _device_id: str) -> Iterable[str]: ...
|
|
10
|
+
def device_id(self, entity_id_or_device_name: str) -> str | None: ...
|
|
11
|
+
def device_name(self, lookup_value: str) -> str | None: ...
|
|
12
|
+
def device_attr(self, device_or_entity_id: str, attr_name: str) -> Any: ...
|
|
13
|
+
def is_device_attr(self, device_or_entity_id: str, attr_name: str, attr_value: Any) -> bool: ...
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from collections.abc import Iterable
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from homeassistant.helpers.template.helpers import resolve_area_id as resolve_area_id
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
class FloorExtension(BaseTemplateExtension):
|
|
8
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
9
|
+
def floors(self) -> Iterable[str | None]: ...
|
|
10
|
+
def floor_id(self, lookup_value: Any) -> str | None: ...
|
|
11
|
+
def floor_name(self, lookup_value: str) -> str | None: ...
|
|
12
|
+
def _floor_id_or_name(self, floor_id_or_name: str) -> str | None: ...
|
|
13
|
+
def floor_areas(self, floor_id_or_name: str) -> Iterable[str]: ...
|
|
14
|
+
def floor_entities(self, floor_id_or_name: str) -> Iterable[str]: ...
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
class IssuesExtension(BaseTemplateExtension):
|
|
6
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
7
|
+
def issues(self) -> dict[tuple[str, str], dict[str, Any]]: ...
|
|
8
|
+
def issue(self, domain: str, issue_id: str) -> dict[str, Any] | None: ...
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from collections.abc import Iterable
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
class LabelExtension(BaseTemplateExtension):
|
|
7
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
8
|
+
def labels(self, lookup_value: Any = None) -> Iterable[str | None]: ...
|
|
9
|
+
def label_id(self, lookup_value: Any) -> str | None: ...
|
|
10
|
+
def label_name(self, lookup_value: str) -> str | None: ...
|
|
11
|
+
def label_description(self, lookup_value: str) -> str | None: ...
|
|
12
|
+
def _label_id_or_name(self, label_id_or_name: str) -> str | None: ...
|
|
13
|
+
def label_areas(self, label_id_or_name: str) -> Iterable[str]: ...
|
|
14
|
+
def label_devices(self, label_id_or_name: str) -> Iterable[str]: ...
|
|
15
|
+
def label_entities(self, label_id_or_name: str) -> Iterable[str]: ...
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from homeassistant.helpers.template.helpers import raise_no_default as raise_no_default
|
|
5
|
+
from typing import Any, Literal
|
|
6
|
+
|
|
7
|
+
_SENTINEL: Incomplete
|
|
8
|
+
|
|
9
|
+
class MathExtension(BaseTemplateExtension):
|
|
10
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
11
|
+
@staticmethod
|
|
12
|
+
def logarithm(value: Any, base: Any = ..., default: Any = ...) -> Any: ...
|
|
13
|
+
@staticmethod
|
|
14
|
+
def sine(value: Any, default: Any = ...) -> Any: ...
|
|
15
|
+
@staticmethod
|
|
16
|
+
def cosine(value: Any, default: Any = ...) -> Any: ...
|
|
17
|
+
@staticmethod
|
|
18
|
+
def tangent(value: Any, default: Any = ...) -> Any: ...
|
|
19
|
+
@staticmethod
|
|
20
|
+
def arc_sine(value: Any, default: Any = ...) -> Any: ...
|
|
21
|
+
@staticmethod
|
|
22
|
+
def arc_cosine(value: Any, default: Any = ...) -> Any: ...
|
|
23
|
+
@staticmethod
|
|
24
|
+
def arc_tangent(value: Any, default: Any = ...) -> Any: ...
|
|
25
|
+
@staticmethod
|
|
26
|
+
def arc_tangent2(*args: Any, default: Any = ...) -> Any: ...
|
|
27
|
+
@staticmethod
|
|
28
|
+
def square_root(value: Any, default: Any = ...) -> Any: ...
|
|
29
|
+
@staticmethod
|
|
30
|
+
def average(*args: Any, default: Any = ...) -> Any: ...
|
|
31
|
+
@staticmethod
|
|
32
|
+
def median(*args: Any, default: Any = ...) -> Any: ...
|
|
33
|
+
@staticmethod
|
|
34
|
+
def statistical_mode(*args: Any, default: Any = ...) -> Any: ...
|
|
35
|
+
def min_max_from_filter(self, builtin_filter: Any, name: str) -> Any: ...
|
|
36
|
+
def min_max_min(self, *args: Any, **kwargs: Any) -> Any: ...
|
|
37
|
+
def min_max_max(self, *args: Any, **kwargs: Any) -> Any: ...
|
|
38
|
+
@staticmethod
|
|
39
|
+
def bitwise_and(first_value: Any, second_value: Any) -> Any: ...
|
|
40
|
+
@staticmethod
|
|
41
|
+
def bitwise_or(first_value: Any, second_value: Any) -> Any: ...
|
|
42
|
+
@staticmethod
|
|
43
|
+
def bitwise_xor(first_value: Any, second_value: Any) -> Any: ...
|
|
44
|
+
@staticmethod
|
|
45
|
+
def clamp(value: Any, min_value: Any, max_value: Any) -> Any: ...
|
|
46
|
+
@staticmethod
|
|
47
|
+
def wrap(value: Any, min_value: Any, max_value: Any) -> Any: ...
|
|
48
|
+
@staticmethod
|
|
49
|
+
def remap(value: Any, in_min: Any, in_max: Any, out_min: Any, out_max: Any, *, steps: int = 0, edges: Literal['none', 'clamp', 'wrap', 'mirror'] = 'none') -> Any: ...
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
_regex_cache: Incomplete
|
|
7
|
+
|
|
8
|
+
class RegexExtension(BaseTemplateExtension):
|
|
9
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
10
|
+
def regex_match(self, value: Any, find: str = '', ignorecase: bool = False) -> bool: ...
|
|
11
|
+
def regex_replace(self, value: Any = '', find: str = '', replace: str = '', ignorecase: bool = False) -> str: ...
|
|
12
|
+
def regex_search(self, value: Any, find: str = '', ignorecase: bool = False) -> bool: ...
|
|
13
|
+
def regex_findall_index(self, value: Any, find: str = '', index: int = 0, ignorecase: bool = False) -> str: ...
|
|
14
|
+
def regex_findall(self, value: Any, find: str = '', ignorecase: bool = False) -> list[str]: ...
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
class StringExtension(BaseTemplateExtension):
|
|
6
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
7
|
+
def ordinal(self, value: Any) -> str: ...
|
|
8
|
+
def slugify(self, value: Any, separator: str = '_') -> str: ...
|
|
9
|
+
def urlencode(self, value: Any) -> bytes: ...
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
from .context import template_cv as template_cv
|
|
2
|
+
from homeassistant.core import HomeAssistant as HomeAssistant
|
|
3
|
+
from typing import Any, NoReturn
|
|
4
|
+
|
|
5
|
+
def raise_no_default(function: str, value: Any) -> NoReturn: ...
|
|
6
|
+
def resolve_area_id(hass: HomeAssistant, lookup_value: Any) -> str | None: ...
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import collections.abc
|
|
2
|
+
from . import Template as Template
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from collections.abc import Callable as Callable
|
|
5
|
+
from contextvars import ContextVar
|
|
6
|
+
from homeassistant.core import split_entity_id as split_entity_id
|
|
7
|
+
from homeassistant.exceptions import TemplateError as TemplateError
|
|
8
|
+
|
|
9
|
+
ALL_STATES_RATE_LIMIT: int
|
|
10
|
+
DOMAIN_STATES_RATE_LIMIT: int
|
|
11
|
+
render_info_cv: ContextVar[RenderInfo | None]
|
|
12
|
+
|
|
13
|
+
def _true(entity_id: str) -> bool: ...
|
|
14
|
+
def _false(entity_id: str) -> bool: ...
|
|
15
|
+
|
|
16
|
+
class RenderInfo:
|
|
17
|
+
__slots__: Incomplete
|
|
18
|
+
template: Incomplete
|
|
19
|
+
filter_lifecycle: Callable[[str], bool]
|
|
20
|
+
filter: Callable[[str], bool]
|
|
21
|
+
_result: str | None
|
|
22
|
+
is_static: bool
|
|
23
|
+
exception: TemplateError | None
|
|
24
|
+
all_states: bool
|
|
25
|
+
all_states_lifecycle: bool
|
|
26
|
+
domains: collections.abc.Set[str]
|
|
27
|
+
domains_lifecycle: collections.abc.Set[str]
|
|
28
|
+
entities: collections.abc.Set[str]
|
|
29
|
+
rate_limit: float | None
|
|
30
|
+
has_time: bool
|
|
31
|
+
def __init__(self, template: Template) -> None: ...
|
|
32
|
+
def __repr__(self) -> str: ...
|
|
33
|
+
def _filter_domains_and_entities(self, entity_id: str) -> bool: ...
|
|
34
|
+
def _filter_entities(self, entity_id: str) -> bool: ...
|
|
35
|
+
def _filter_lifecycle_domains(self, entity_id: str) -> bool: ...
|
|
36
|
+
def result(self) -> str: ...
|
|
37
|
+
def _freeze_static(self) -> None: ...
|
|
38
|
+
def _freeze_sets(self) -> None: ...
|
|
39
|
+
def _freeze(self) -> None: ...
|
|
@@ -1,49 +1,157 @@
|
|
|
1
1
|
import abc
|
|
2
|
+
import asyncio
|
|
2
3
|
import voluptuous as vol
|
|
3
4
|
from . import selector as selector
|
|
4
|
-
from .automation import get_absolute_description_key as get_absolute_description_key, get_relative_description_key as get_relative_description_key
|
|
5
|
+
from .automation import get_absolute_description_key as get_absolute_description_key, get_relative_description_key as get_relative_description_key, move_options_fields_to_top_level as move_options_fields_to_top_level
|
|
5
6
|
from .integration_platform import async_process_integration_platforms as async_process_integration_platforms
|
|
6
7
|
from .selector import TargetSelector as TargetSelector
|
|
8
|
+
from .target import TargetStateChangedData as TargetStateChangedData, async_track_target_selector_state_change_event as async_track_target_selector_state_change_event
|
|
7
9
|
from .template import Template as Template
|
|
8
10
|
from .typing import ConfigType as ConfigType, TemplateVarsType as TemplateVarsType
|
|
9
11
|
from _typeshed import Incomplete
|
|
10
12
|
from collections import defaultdict
|
|
11
13
|
from collections.abc import Callable, Coroutine, Iterable
|
|
12
14
|
from dataclasses import dataclass, field
|
|
13
|
-
from
|
|
14
|
-
from homeassistant.
|
|
15
|
+
from enum import StrEnum
|
|
16
|
+
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_ABOVE as CONF_ABOVE, CONF_ALIAS as CONF_ALIAS, CONF_BELOW as CONF_BELOW, CONF_ENABLED as CONF_ENABLED, CONF_ID as CONF_ID, CONF_OPTIONS as CONF_OPTIONS, CONF_PLATFORM as CONF_PLATFORM, CONF_SELECTOR as CONF_SELECTOR, CONF_TARGET as CONF_TARGET, CONF_VARIABLES as CONF_VARIABLES, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN
|
|
17
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, HassJob as HassJob, HassJobType as HassJobType, HomeAssistant as HomeAssistant, State as State, callback as callback, get_hassjob_callable_job_type as get_hassjob_callable_job_type, is_callback as is_callback, split_entity_id as split_entity_id
|
|
15
18
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError
|
|
16
19
|
from homeassistant.loader import Integration as Integration, IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, async_get_integrations as async_get_integrations
|
|
17
20
|
from homeassistant.util.async_ import create_eager_task as create_eager_task
|
|
18
21
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
|
19
22
|
from homeassistant.util.yaml import load_yaml_dict as load_yaml_dict
|
|
20
|
-
from typing import Any, Protocol, TypedDict
|
|
23
|
+
from typing import Any, Final, Protocol, TypedDict, override
|
|
21
24
|
|
|
22
25
|
_LOGGER: Incomplete
|
|
23
26
|
_PLATFORM_ALIASES: Incomplete
|
|
24
27
|
DATA_PLUGGABLE_ACTIONS: HassKey[defaultdict[tuple, PluggableActionsEntry]]
|
|
25
28
|
TRIGGER_DESCRIPTION_CACHE: HassKey[dict[str, dict[str, Any] | None]]
|
|
29
|
+
TRIGGER_DISABLED_TRIGGERS: HassKey[set[str]]
|
|
26
30
|
TRIGGER_PLATFORM_SUBSCRIPTIONS: HassKey[list[Callable[[set[str]], Coroutine[Any, Any, None]]]]
|
|
27
31
|
TRIGGERS: HassKey[dict[str, str]]
|
|
28
|
-
|
|
29
|
-
|
|
32
|
+
_FIELD_DESCRIPTION_SCHEMA: Incomplete
|
|
33
|
+
_TRIGGER_DESCRIPTION_SCHEMA: Incomplete
|
|
30
34
|
|
|
31
35
|
def starts_with_dot(key: str) -> str: ...
|
|
32
36
|
|
|
33
|
-
|
|
37
|
+
_TRIGGERS_DESCRIPTION_SCHEMA: Incomplete
|
|
34
38
|
|
|
35
39
|
async def async_setup(hass: HomeAssistant) -> None: ...
|
|
36
40
|
@callback
|
|
37
41
|
def async_subscribe_platform_events(hass: HomeAssistant, on_event: Callable[[set[str]], Coroutine[Any, Any, None]]) -> Callable[[], None]: ...
|
|
38
42
|
async def _register_trigger_platform(hass: HomeAssistant, integration_domain: str, platform: TriggerProtocol) -> None: ...
|
|
39
43
|
|
|
44
|
+
_TRIGGER_SCHEMA: Incomplete
|
|
45
|
+
|
|
40
46
|
class Trigger(abc.ABC, metaclass=abc.ABCMeta):
|
|
41
|
-
|
|
47
|
+
_hass: HomeAssistant
|
|
48
|
+
@classmethod
|
|
49
|
+
async def async_validate_complete_config(cls, hass: HomeAssistant, complete_config: ConfigType) -> ConfigType: ...
|
|
42
50
|
@classmethod
|
|
43
51
|
@abc.abstractmethod
|
|
44
52
|
async def async_validate_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
|
53
|
+
def __init__(self, hass: HomeAssistant, config: TriggerConfig) -> None: ...
|
|
54
|
+
async def async_attach_action(self, action: TriggerAction, action_payload_builder: TriggerActionPayloadBuilder) -> CALLBACK_TYPE: ...
|
|
55
|
+
@abc.abstractmethod
|
|
56
|
+
async def async_attach_runner(self, run_action: TriggerActionRunner) -> CALLBACK_TYPE: ...
|
|
57
|
+
|
|
58
|
+
ATTR_BEHAVIOR: Final[str]
|
|
59
|
+
BEHAVIOR_FIRST: Final[str]
|
|
60
|
+
BEHAVIOR_LAST: Final[str]
|
|
61
|
+
BEHAVIOR_ANY: Final[str]
|
|
62
|
+
ENTITY_STATE_TRIGGER_SCHEMA: Incomplete
|
|
63
|
+
ENTITY_STATE_TRIGGER_SCHEMA_FIRST_LAST: Incomplete
|
|
64
|
+
|
|
65
|
+
class EntityTriggerBase(Trigger, metaclass=abc.ABCMeta):
|
|
66
|
+
_domain: str
|
|
67
|
+
_schema: vol.Schema
|
|
68
|
+
@override
|
|
69
|
+
@classmethod
|
|
70
|
+
async def async_validate_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
|
71
|
+
_options: Incomplete
|
|
72
|
+
_target: Incomplete
|
|
73
|
+
def __init__(self, hass: HomeAssistant, config: TriggerConfig) -> None: ...
|
|
74
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
45
75
|
@abc.abstractmethod
|
|
46
|
-
|
|
76
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
77
|
+
def check_all_match(self, entity_ids: set[str]) -> bool: ...
|
|
78
|
+
def check_one_match(self, entity_ids: set[str]) -> bool: ...
|
|
79
|
+
def entity_filter(self, entities: set[str]) -> set[str]: ...
|
|
80
|
+
@override
|
|
81
|
+
async def async_attach_runner(self, run_action: TriggerActionRunner) -> CALLBACK_TYPE: ...
|
|
82
|
+
|
|
83
|
+
class EntityTargetStateTriggerBase(EntityTriggerBase):
|
|
84
|
+
_to_states: set[str]
|
|
85
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
86
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
87
|
+
|
|
88
|
+
class EntityTransitionTriggerBase(EntityTriggerBase):
|
|
89
|
+
_from_states: set[str]
|
|
90
|
+
_to_states: set[str]
|
|
91
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
92
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
93
|
+
|
|
94
|
+
class EntityOriginStateTriggerBase(EntityTriggerBase):
|
|
95
|
+
_from_state: str
|
|
96
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
97
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
98
|
+
|
|
99
|
+
class EntityTargetStateAttributeTriggerBase(EntityTriggerBase):
|
|
100
|
+
_attribute: str
|
|
101
|
+
_attribute_to_state: str
|
|
102
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
103
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
104
|
+
|
|
105
|
+
def _validate_range[_T: dict[str, Any]](lower_limit: str, upper_limit: str) -> Callable[[_T], _T]: ...
|
|
106
|
+
|
|
107
|
+
_NUMBER_OR_ENTITY_CHOOSE_SCHEMA: Incomplete
|
|
108
|
+
|
|
109
|
+
def _validate_number_or_entity(value: dict | float | str) -> float | str: ...
|
|
110
|
+
|
|
111
|
+
_number_or_entity: Incomplete
|
|
112
|
+
NUMERICAL_ATTRIBUTE_CHANGED_TRIGGER_SCHEMA: Incomplete
|
|
113
|
+
|
|
114
|
+
def _get_numerical_value(hass: HomeAssistant, entity_or_float: float | str) -> float | None: ...
|
|
115
|
+
|
|
116
|
+
class EntityNumericalStateAttributeChangedTriggerBase(EntityTriggerBase):
|
|
117
|
+
_attribute: str
|
|
118
|
+
_schema = NUMERICAL_ATTRIBUTE_CHANGED_TRIGGER_SCHEMA
|
|
119
|
+
_above: None | float | str
|
|
120
|
+
_below: None | float | str
|
|
121
|
+
def __init__(self, hass: HomeAssistant, config: TriggerConfig) -> None: ...
|
|
122
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
123
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
124
|
+
|
|
125
|
+
CONF_LOWER_LIMIT: str
|
|
126
|
+
CONF_UPPER_LIMIT: str
|
|
127
|
+
CONF_THRESHOLD_TYPE: str
|
|
128
|
+
|
|
129
|
+
class ThresholdType(StrEnum):
|
|
130
|
+
ABOVE = 'above'
|
|
131
|
+
BELOW = 'below'
|
|
132
|
+
BETWEEN = 'between'
|
|
133
|
+
OUTSIDE = 'outside'
|
|
134
|
+
|
|
135
|
+
def _validate_limits_for_threshold_type(value: dict[str, Any]) -> dict[str, Any]: ...
|
|
136
|
+
|
|
137
|
+
NUMERICAL_ATTRIBUTE_CROSSED_THRESHOLD_SCHEMA: Incomplete
|
|
138
|
+
|
|
139
|
+
class EntityNumericalStateAttributeCrossedThresholdTriggerBase(EntityTriggerBase):
|
|
140
|
+
_attribute: str
|
|
141
|
+
_schema = NUMERICAL_ATTRIBUTE_CROSSED_THRESHOLD_SCHEMA
|
|
142
|
+
_lower_limit: float | str | None
|
|
143
|
+
_upper_limit: float | str | None
|
|
144
|
+
_threshold_type: ThresholdType
|
|
145
|
+
def __init__(self, hass: HomeAssistant, config: TriggerConfig) -> None: ...
|
|
146
|
+
def is_valid_transition(self, from_state: State, to_state: State) -> bool: ...
|
|
147
|
+
def is_valid_state(self, state: State) -> bool: ...
|
|
148
|
+
|
|
149
|
+
def make_entity_target_state_trigger(domain: str, to_states: str | set[str]) -> type[EntityTargetStateTriggerBase]: ...
|
|
150
|
+
def make_entity_transition_trigger(domain: str, *, from_states: set[str], to_states: set[str]) -> type[EntityTransitionTriggerBase]: ...
|
|
151
|
+
def make_entity_origin_state_trigger(domain: str, *, from_state: str) -> type[EntityOriginStateTriggerBase]: ...
|
|
152
|
+
def make_entity_numerical_state_attribute_changed_trigger(domain: str, attribute: str) -> type[EntityNumericalStateAttributeChangedTriggerBase]: ...
|
|
153
|
+
def make_entity_numerical_state_attribute_crossed_threshold_trigger(domain: str, attribute: str) -> type[EntityNumericalStateAttributeCrossedThresholdTriggerBase]: ...
|
|
154
|
+
def make_entity_target_state_attribute_trigger(domain: str, attribute: str, to_state: str) -> type[EntityTargetStateAttributeTriggerBase]: ...
|
|
47
155
|
|
|
48
156
|
class TriggerProtocol(Protocol):
|
|
49
157
|
async def async_get_triggers(self, hass: HomeAssistant) -> dict[str, type[Trigger]]: ...
|
|
@@ -51,9 +159,25 @@ class TriggerProtocol(Protocol):
|
|
|
51
159
|
async def async_validate_trigger_config(self, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
|
52
160
|
async def async_attach_trigger(self, hass: HomeAssistant, config: ConfigType, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
|
53
161
|
|
|
54
|
-
|
|
162
|
+
@dataclass(slots=True, frozen=True)
|
|
163
|
+
class TriggerConfig:
|
|
164
|
+
key: str
|
|
165
|
+
target: dict[str, Any] | None = ...
|
|
166
|
+
options: dict[str, Any] | None = ...
|
|
167
|
+
|
|
168
|
+
class TriggerActionRunner(Protocol):
|
|
169
|
+
@callback
|
|
170
|
+
def __call__(self, extra_trigger_payload: dict[str, Any], description: str, context: Context | None = None) -> asyncio.Task[Any]: ...
|
|
171
|
+
|
|
172
|
+
class TriggerActionPayloadBuilder(Protocol):
|
|
173
|
+
def __call__(self, extra_trigger_payload: dict[str, Any], description: str) -> dict[str, Any]: ...
|
|
174
|
+
|
|
175
|
+
class TriggerAction(Protocol):
|
|
55
176
|
async def __call__(self, run_variables: dict[str, Any], context: Context | None = None) -> Any: ...
|
|
56
177
|
|
|
178
|
+
class TriggerActionType(Protocol):
|
|
179
|
+
def __call__(self, run_variables: dict[str, Any], context: Context | None = None) -> Coroutine[Any, Any, Any] | Any: ...
|
|
180
|
+
|
|
57
181
|
class TriggerData(TypedDict):
|
|
58
182
|
id: str
|
|
59
183
|
idx: str
|
|
@@ -69,7 +193,7 @@ class TriggerInfo(TypedDict):
|
|
|
69
193
|
@dataclass(slots=True)
|
|
70
194
|
class PluggableActionsEntry:
|
|
71
195
|
plugs: set[PluggableAction] = field(default_factory=set)
|
|
72
|
-
actions: dict[object, tuple[HassJob[[dict[str, Any], Context | None], Coroutine[Any, Any, None]], dict[str, Any]]] = field(default_factory=dict)
|
|
196
|
+
actions: dict[object, tuple[HassJob[[dict[str, Any], Context | None], Coroutine[Any, Any, None] | Any], dict[str, Any]]] = field(default_factory=dict)
|
|
73
197
|
|
|
74
198
|
class PluggableAction:
|
|
75
199
|
_entry: PluggableActionsEntry | None
|
|
@@ -91,6 +215,7 @@ class PluggableAction:
|
|
|
91
215
|
async def _async_get_trigger_platform(hass: HomeAssistant, trigger_key: str) -> tuple[str, TriggerProtocol]: ...
|
|
92
216
|
async def async_validate_trigger_config(hass: HomeAssistant, trigger_config: list[ConfigType]) -> list[ConfigType]: ...
|
|
93
217
|
def _trigger_action_wrapper(hass: HomeAssistant, action: Callable, conf: ConfigType) -> Callable: ...
|
|
218
|
+
async def _async_attach_trigger_cls(hass: HomeAssistant, trigger_cls: type[Trigger], trigger_key: str, conf: ConfigType, action: Callable, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
|
94
219
|
async def async_initialize_triggers(hass: HomeAssistant, trigger_config: list[ConfigType], action: Callable, domain: str, name: str, log_cb: Callable, home_assistant_start: bool = False, variables: TemplateVarsType = None) -> CALLBACK_TYPE | None: ...
|
|
95
220
|
def _load_triggers_file(integration: Integration) -> dict[str, Any]: ...
|
|
96
221
|
def _load_triggers_files(integrations: Iterable[Integration]) -> dict[str, dict[str, Any]]: ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import voluptuous as vol
|
|
2
2
|
from .entity import Entity as Entity
|
|
3
|
-
from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL,
|
|
3
|
+
from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL, render_complex as render_complex, result_as_boolean as result_as_boolean
|
|
4
|
+
from .template.context import render_with_context as render_with_context
|
|
4
5
|
from .typing import ConfigType as ConfigType
|
|
5
6
|
from _typeshed import Incomplete
|
|
6
7
|
from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import voluptuous as vol
|
|
2
|
-
from .deprecation import DeferredDeprecatedAlias as DeferredDeprecatedAlias, all_with_deprecated_constants as all_with_deprecated_constants, check_if_deprecated_constant as check_if_deprecated_constant, dir_with_deprecated_constants as dir_with_deprecated_constants
|
|
3
2
|
from _typeshed import Incomplete
|
|
4
3
|
from collections.abc import Mapping
|
|
5
4
|
from enum import Enum
|
|
@@ -19,13 +18,3 @@ class UndefinedType(Enum):
|
|
|
19
18
|
_singleton = 0
|
|
20
19
|
|
|
21
20
|
UNDEFINED: Incomplete
|
|
22
|
-
|
|
23
|
-
def _deprecated_typing_helper(attr: str) -> DeferredDeprecatedAlias: ...
|
|
24
|
-
|
|
25
|
-
_DEPRECATED_ContextType: Incomplete
|
|
26
|
-
_DEPRECATED_EventType: Incomplete
|
|
27
|
-
_DEPRECATED_HomeAssistantType: Incomplete
|
|
28
|
-
_DEPRECATED_ServiceCallType: Incomplete
|
|
29
|
-
__getattr__: Incomplete
|
|
30
|
-
__dir__: Incomplete
|
|
31
|
-
__all__: Incomplete
|
|
@@ -3,7 +3,6 @@ import asyncio
|
|
|
3
3
|
import logging
|
|
4
4
|
from . import entity as entity, event as event
|
|
5
5
|
from .debounce import Debouncer as Debouncer
|
|
6
|
-
from .frame import report_usage as report_usage
|
|
7
6
|
from .typing import UNDEFINED as UNDEFINED, UndefinedType as UndefinedType
|
|
8
7
|
from _typeshed import Incomplete
|
|
9
8
|
from abc import abstractmethod
|
|
@@ -21,7 +20,9 @@ REQUEST_REFRESH_DEFAULT_COOLDOWN: int
|
|
|
21
20
|
REQUEST_REFRESH_DEFAULT_IMMEDIATE: bool
|
|
22
21
|
_DataT = TypeVar('_DataT', default=dict[str, Any])
|
|
23
22
|
|
|
24
|
-
class UpdateFailed(HomeAssistantError):
|
|
23
|
+
class UpdateFailed(HomeAssistantError):
|
|
24
|
+
retry_after: Incomplete
|
|
25
|
+
def __init__(self, *args: Any, retry_after: float | None = None, **kwargs: Any) -> None: ...
|
|
25
26
|
|
|
26
27
|
class BaseDataUpdateCoordinatorProtocol(Protocol):
|
|
27
28
|
@callback
|
|
@@ -44,8 +45,9 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
|
|
|
44
45
|
_unsub_refresh: CALLBACK_TYPE | None
|
|
45
46
|
_unsub_shutdown: CALLBACK_TYPE | None
|
|
46
47
|
_request_refresh_task: asyncio.TimerHandle | None
|
|
48
|
+
_retry_after: float | None
|
|
47
49
|
last_update_success: bool
|
|
48
|
-
last_exception:
|
|
50
|
+
last_exception: BaseException | None
|
|
49
51
|
_debounced_refresh: Incomplete
|
|
50
52
|
def __init__(self, hass: HomeAssistant, logger: logging.Logger, *, config_entry: config_entries.ConfigEntry | None | UndefinedType = ..., name: str, update_interval: timedelta | None = None, update_method: Callable[[], Awaitable[_DataT]] | None = None, setup_method: Callable[[], Awaitable[None]] | None = None, request_refresh_debouncer: Debouncer[Coroutine[Any, Any, None]] | None = None, always_update: bool = True) -> None: ...
|
|
51
53
|
async def async_register_shutdown(self) -> None: ...
|
|
@@ -74,6 +76,7 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
|
|
|
74
76
|
async def async_request_refresh(self) -> None: ...
|
|
75
77
|
async def _async_update_data(self) -> _DataT: ...
|
|
76
78
|
async def async_config_entry_first_refresh(self) -> None: ...
|
|
79
|
+
async def _async_config_entry_first_refresh(self) -> None: ...
|
|
77
80
|
async def __wrap_async_setup(self) -> bool: ...
|
|
78
81
|
async def _async_setup(self) -> None: ...
|
|
79
82
|
async def async_refresh(self) -> None: ...
|
homeassistant-stubs/loader.pyi
CHANGED
|
@@ -119,6 +119,7 @@ class Manifest(TypedDict, total=False):
|
|
|
119
119
|
loggers: list[str]
|
|
120
120
|
import_executor: bool
|
|
121
121
|
single_config_entry: bool
|
|
122
|
+
preview_features: dict[str, dict[str, str]]
|
|
122
123
|
|
|
123
124
|
def async_setup(hass: HomeAssistant) -> None: ...
|
|
124
125
|
def manifest_from_legacy_module(domain: str, module: ModuleType) -> Manifest: ...
|
|
@@ -214,6 +215,8 @@ class Integration:
|
|
|
214
215
|
@property
|
|
215
216
|
def bluetooth(self) -> list[dict[str, str | int]] | None: ...
|
|
216
217
|
@property
|
|
218
|
+
def preview_features(self) -> dict[str, dict[str, str]] | None: ...
|
|
219
|
+
@property
|
|
217
220
|
def dhcp(self) -> list[dict[str, str | bool]] | None: ...
|
|
218
221
|
@property
|
|
219
222
|
def usb(self) -> list[dict[str, str]] | None: ...
|