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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import voluptuous as vol
|
|
1
2
|
from _typeshed import Incomplete
|
|
2
3
|
from collections.abc import Callable as Callable, Mapping, Sequence
|
|
3
4
|
from enum import StrEnum
|
|
@@ -11,7 +12,7 @@ from typing import Any, Literal, Required, TypedDict
|
|
|
11
12
|
|
|
12
13
|
SELECTORS: decorator.Registry[str, type[Selector]]
|
|
13
14
|
|
|
14
|
-
def
|
|
15
|
+
def _get_selector_type_and_class(config: Any) -> tuple[str, type[Selector]]: ...
|
|
15
16
|
def selector(config: Any) -> Selector: ...
|
|
16
17
|
def validate_selector(config: Any) -> dict: ...
|
|
17
18
|
|
|
@@ -19,6 +20,7 @@ class Selector[_T: Mapping[str, Any]]:
|
|
|
19
20
|
CONFIG_SCHEMA: Callable
|
|
20
21
|
config: _T
|
|
21
22
|
selector_type: str
|
|
23
|
+
allowed_context_keys: dict[str, set[str]]
|
|
22
24
|
def __init__(self, config: Mapping[str, Any] | None = None) -> None: ...
|
|
23
25
|
def __eq__(self, other: object) -> bool: ...
|
|
24
26
|
def serialize(self) -> dict[str, dict[str, _T]]: ...
|
|
@@ -27,14 +29,13 @@ class Selector[_T: Mapping[str, Any]]:
|
|
|
27
29
|
def _entity_feature_flag(domain: str, enum_name: str, feature_name: str) -> int: ...
|
|
28
30
|
def _validate_supported_feature(supported_feature: str) -> int: ...
|
|
29
31
|
def _validate_supported_features(supported_features: list[str]) -> int: ...
|
|
30
|
-
|
|
31
|
-
BASE_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
32
|
+
def make_selector_config_schema(schema_dict: dict | None = None) -> vol.Schema: ...
|
|
32
33
|
|
|
33
34
|
class BaseSelectorConfig(TypedDict, total=False):
|
|
34
35
|
read_only: bool
|
|
35
36
|
|
|
36
37
|
ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
37
|
-
|
|
38
|
+
_LEGACY_ENTITY_SELECTOR_CONFIG_SCHEMA_DICT: Incomplete
|
|
38
39
|
|
|
39
40
|
class EntityFilterSelectorConfig(TypedDict, total=False):
|
|
40
41
|
integration: str
|
|
@@ -43,7 +44,7 @@ class EntityFilterSelectorConfig(TypedDict, total=False):
|
|
|
43
44
|
supported_features: list[str]
|
|
44
45
|
|
|
45
46
|
DEVICE_FILTER_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
46
|
-
|
|
47
|
+
_LEGACY_DEVICE_SELECTOR_CONFIG_SCHEMA_DICT: Incomplete
|
|
47
48
|
|
|
48
49
|
class DeviceFilterSelectorConfig(TypedDict, total=False):
|
|
49
50
|
integration: str
|
|
@@ -55,7 +56,7 @@ class ActionSelectorConfig(BaseSelectorConfig): ...
|
|
|
55
56
|
|
|
56
57
|
class ActionSelector(Selector[ActionSelectorConfig]):
|
|
57
58
|
selector_type: str
|
|
58
|
-
CONFIG_SCHEMA
|
|
59
|
+
CONFIG_SCHEMA: Incomplete
|
|
59
60
|
def __init__(self, config: ActionSelectorConfig | None = None) -> None: ...
|
|
60
61
|
def __call__(self, data: Any) -> Any: ...
|
|
61
62
|
|
|
@@ -84,7 +85,7 @@ class AssistPipelineSelectorConfig(BaseSelectorConfig, total=False): ...
|
|
|
84
85
|
|
|
85
86
|
class AssistPipelineSelector(Selector[AssistPipelineSelectorConfig]):
|
|
86
87
|
selector_type: str
|
|
87
|
-
CONFIG_SCHEMA
|
|
88
|
+
CONFIG_SCHEMA: Incomplete
|
|
88
89
|
def __init__(self, config: AssistPipelineSelectorConfig | None = None) -> None: ...
|
|
89
90
|
def __call__(self, data: Any) -> str: ...
|
|
90
91
|
|
|
@@ -94,6 +95,7 @@ class AttributeSelectorConfig(BaseSelectorConfig, total=False):
|
|
|
94
95
|
|
|
95
96
|
class AttributeSelector(Selector[AttributeSelectorConfig]):
|
|
96
97
|
selector_type: str
|
|
98
|
+
allowed_context_keys: Incomplete
|
|
97
99
|
CONFIG_SCHEMA: Incomplete
|
|
98
100
|
def __init__(self, config: AttributeSelectorConfig) -> None: ...
|
|
99
101
|
def __call__(self, data: Any) -> str: ...
|
|
@@ -102,7 +104,7 @@ class BackupLocationSelectorConfig(BaseSelectorConfig, total=False): ...
|
|
|
102
104
|
|
|
103
105
|
class BackupLocationSelector(Selector[BackupLocationSelectorConfig]):
|
|
104
106
|
selector_type: str
|
|
105
|
-
CONFIG_SCHEMA
|
|
107
|
+
CONFIG_SCHEMA: Incomplete
|
|
106
108
|
def __init__(self, config: BackupLocationSelectorConfig | None = None) -> None: ...
|
|
107
109
|
def __call__(self, data: Any) -> str: ...
|
|
108
110
|
|
|
@@ -110,15 +112,31 @@ class BooleanSelectorConfig(BaseSelectorConfig): ...
|
|
|
110
112
|
|
|
111
113
|
class BooleanSelector(Selector[BooleanSelectorConfig]):
|
|
112
114
|
selector_type: str
|
|
113
|
-
CONFIG_SCHEMA
|
|
115
|
+
CONFIG_SCHEMA: Incomplete
|
|
114
116
|
def __init__(self, config: BooleanSelectorConfig | None = None) -> None: ...
|
|
115
117
|
def __call__(self, data: Any) -> bool: ...
|
|
116
118
|
|
|
119
|
+
def reject_nested_choose_selector(config: dict[str, Any]) -> dict[str, Any]: ...
|
|
120
|
+
|
|
121
|
+
class ChooseSelectorChoiceConfig(TypedDict, total=False):
|
|
122
|
+
selector: Required[Selector | dict[str, Any]]
|
|
123
|
+
|
|
124
|
+
class ChooseSelectorConfig(BaseSelectorConfig):
|
|
125
|
+
choices: Required[dict[str, ChooseSelectorChoiceConfig]]
|
|
126
|
+
translation_key: str
|
|
127
|
+
|
|
128
|
+
class ChooseSelector(Selector[ChooseSelectorConfig]):
|
|
129
|
+
selector_type: str
|
|
130
|
+
CONFIG_SCHEMA: Incomplete
|
|
131
|
+
def __init__(self, config: ChooseSelectorConfig | None = None) -> None: ...
|
|
132
|
+
def serialize(self) -> dict[str, dict[str, ChooseSelectorConfig]]: ...
|
|
133
|
+
def __call__(self, data: Any) -> Any: ...
|
|
134
|
+
|
|
117
135
|
class ColorRGBSelectorConfig(BaseSelectorConfig): ...
|
|
118
136
|
|
|
119
137
|
class ColorRGBSelector(Selector[ColorRGBSelectorConfig]):
|
|
120
138
|
selector_type: str
|
|
121
|
-
CONFIG_SCHEMA
|
|
139
|
+
CONFIG_SCHEMA: Incomplete
|
|
122
140
|
def __init__(self, config: ColorRGBSelectorConfig | None = None) -> None: ...
|
|
123
141
|
def __call__(self, data: Any) -> list[int]: ...
|
|
124
142
|
|
|
@@ -143,7 +161,7 @@ class ConditionSelectorConfig(BaseSelectorConfig): ...
|
|
|
143
161
|
|
|
144
162
|
class ConditionSelector(Selector[ConditionSelectorConfig]):
|
|
145
163
|
selector_type: str
|
|
146
|
-
CONFIG_SCHEMA
|
|
164
|
+
CONFIG_SCHEMA: Incomplete
|
|
147
165
|
def __init__(self, config: ConditionSelectorConfig | None = None) -> None: ...
|
|
148
166
|
def __call__(self, data: Any) -> Any: ...
|
|
149
167
|
|
|
@@ -190,7 +208,7 @@ class DateSelectorConfig(BaseSelectorConfig): ...
|
|
|
190
208
|
|
|
191
209
|
class DateSelector(Selector[DateSelectorConfig]):
|
|
192
210
|
selector_type: str
|
|
193
|
-
CONFIG_SCHEMA
|
|
211
|
+
CONFIG_SCHEMA: Incomplete
|
|
194
212
|
def __init__(self, config: DateSelectorConfig | None = None) -> None: ...
|
|
195
213
|
def __call__(self, data: Any) -> Any: ...
|
|
196
214
|
|
|
@@ -198,7 +216,7 @@ class DateTimeSelectorConfig(BaseSelectorConfig): ...
|
|
|
198
216
|
|
|
199
217
|
class DateTimeSelector(Selector[DateTimeSelectorConfig]):
|
|
200
218
|
selector_type: str
|
|
201
|
-
CONFIG_SCHEMA
|
|
219
|
+
CONFIG_SCHEMA: Incomplete
|
|
202
220
|
def __init__(self, config: DateTimeSelectorConfig | None = None) -> None: ...
|
|
203
221
|
def __call__(self, data: Any) -> Any: ...
|
|
204
222
|
|
|
@@ -299,13 +317,15 @@ class LocationSelector(Selector[LocationSelectorConfig]):
|
|
|
299
317
|
|
|
300
318
|
class MediaSelectorConfig(BaseSelectorConfig, total=False):
|
|
301
319
|
accept: list[str]
|
|
320
|
+
multiple: bool
|
|
302
321
|
|
|
303
322
|
class MediaSelector(Selector[MediaSelectorConfig]):
|
|
304
323
|
selector_type: str
|
|
324
|
+
allowed_context_keys: Incomplete
|
|
305
325
|
CONFIG_SCHEMA: Incomplete
|
|
306
326
|
DATA_SCHEMA: Incomplete
|
|
307
327
|
def __init__(self, config: MediaSelectorConfig | None = None) -> None: ...
|
|
308
|
-
def __call__(self, data: Any) -> dict[str, str]: ...
|
|
328
|
+
def __call__(self, data: Any) -> dict[str, str] | list[dict[str, str]]: ...
|
|
309
329
|
|
|
310
330
|
class NumberSelectorConfig(BaseSelectorConfig, total=False):
|
|
311
331
|
min: float
|
|
@@ -327,22 +347,23 @@ class NumberSelector(Selector[NumberSelectorConfig]):
|
|
|
327
347
|
def __init__(self, config: NumberSelectorConfig | None = None) -> None: ...
|
|
328
348
|
def __call__(self, data: Any) -> float: ...
|
|
329
349
|
|
|
330
|
-
class ObjectSelectorField(TypedDict):
|
|
350
|
+
class ObjectSelectorField(TypedDict, total=False):
|
|
331
351
|
label: str
|
|
332
352
|
required: bool
|
|
333
|
-
selector: dict[str, Any]
|
|
353
|
+
selector: Required[Selector | dict[str, Any]]
|
|
334
354
|
|
|
335
|
-
class ObjectSelectorConfig(BaseSelectorConfig):
|
|
355
|
+
class ObjectSelectorConfig(BaseSelectorConfig, total=False):
|
|
336
356
|
fields: dict[str, ObjectSelectorField]
|
|
337
357
|
multiple: bool
|
|
338
358
|
label_field: str
|
|
339
|
-
description_field:
|
|
359
|
+
description_field: str
|
|
340
360
|
translation_key: str
|
|
341
361
|
|
|
342
362
|
class ObjectSelector(Selector[ObjectSelectorConfig]):
|
|
343
363
|
selector_type: str
|
|
344
364
|
CONFIG_SCHEMA: Incomplete
|
|
345
365
|
def __init__(self, config: ObjectSelectorConfig | None = None) -> None: ...
|
|
366
|
+
def serialize(self) -> dict[str, dict[str, ObjectSelectorConfig]]: ...
|
|
346
367
|
def __call__(self, data: Any) -> Any: ...
|
|
347
368
|
|
|
348
369
|
class QrErrorCorrectionLevel(StrEnum):
|
|
@@ -393,6 +414,7 @@ class StateSelectorConfig(BaseSelectorConfig, total=False):
|
|
|
393
414
|
|
|
394
415
|
class StateSelector(Selector[StateSelectorConfig]):
|
|
395
416
|
selector_type: str
|
|
417
|
+
allowed_context_keys: Incomplete
|
|
396
418
|
CONFIG_SCHEMA: Incomplete
|
|
397
419
|
def __init__(self, config: StateSelectorConfig) -> None: ...
|
|
398
420
|
def __call__(self, data: Any) -> str | list[str]: ...
|
|
@@ -421,7 +443,7 @@ class TemplateSelectorConfig(BaseSelectorConfig): ...
|
|
|
421
443
|
|
|
422
444
|
class TemplateSelector(Selector[TemplateSelectorConfig]):
|
|
423
445
|
selector_type: str
|
|
424
|
-
CONFIG_SCHEMA
|
|
446
|
+
CONFIG_SCHEMA: Incomplete
|
|
425
447
|
def __init__(self, config: TemplateSelectorConfig | None = None) -> None: ...
|
|
426
448
|
def __call__(self, data: Any) -> str: ...
|
|
427
449
|
|
|
@@ -466,7 +488,7 @@ class TimeSelectorConfig(BaseSelectorConfig): ...
|
|
|
466
488
|
|
|
467
489
|
class TimeSelector(Selector[TimeSelectorConfig]):
|
|
468
490
|
selector_type: str
|
|
469
|
-
CONFIG_SCHEMA
|
|
491
|
+
CONFIG_SCHEMA: Incomplete
|
|
470
492
|
def __init__(self, config: TimeSelectorConfig | None = None) -> None: ...
|
|
471
493
|
def __call__(self, data: Any) -> str: ...
|
|
472
494
|
|
|
@@ -474,6 +496,6 @@ class TriggerSelectorConfig(BaseSelectorConfig): ...
|
|
|
474
496
|
|
|
475
497
|
class TriggerSelector(Selector[TriggerSelectorConfig]):
|
|
476
498
|
selector_type: str
|
|
477
|
-
CONFIG_SCHEMA
|
|
499
|
+
CONFIG_SCHEMA: Incomplete
|
|
478
500
|
def __init__(self, config: TriggerSelectorConfig | None = None) -> None: ...
|
|
479
501
|
def __call__(self, data: Any) -> Any: ...
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import logging
|
|
2
|
-
from . import device_registry as device_registry, entity_registry as entity_registry, selector as selector, target as target_helpers, template as template
|
|
3
|
-
from .deprecation import deprecated_class as deprecated_class, deprecated_function as deprecated_function
|
|
2
|
+
from . import device_registry as device_registry, entity_registry as entity_registry, selector as selector, target as target_helpers, template as template
|
|
3
|
+
from .deprecation import deprecated_class as deprecated_class, deprecated_function as deprecated_function, deprecated_hass_argument as deprecated_hass_argument
|
|
4
4
|
from .entity import Entity as Entity
|
|
5
5
|
from .selector import TargetSelector as TargetSelector
|
|
6
6
|
from .typing import ConfigType as ConfigType, TemplateVarsType as TemplateVarsType, VolDictType as VolDictType, VolSchemaType as VolSchemaType
|
|
7
7
|
from _typeshed import Incomplete
|
|
8
|
-
from collections.abc import Callable as Callable, Coroutine, Iterable
|
|
8
|
+
from collections.abc import Callable as Callable, Coroutine, Iterable, Mapping
|
|
9
9
|
from functools import cache
|
|
10
10
|
from homeassistant.auth.permissions.const import CAT_ENTITIES as CAT_ENTITIES, POLICY_CONTROL as POLICY_CONTROL
|
|
11
11
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, CONF_ACTION as CONF_ACTION, CONF_ENTITY_ID as CONF_ENTITY_ID, CONF_SELECTOR as CONF_SELECTOR, CONF_SERVICE_DATA as CONF_SERVICE_DATA, CONF_SERVICE_DATA_TEMPLATE as CONF_SERVICE_DATA_TEMPLATE, CONF_SERVICE_TEMPLATE as CONF_SERVICE_TEMPLATE, CONF_TARGET as CONF_TARGET, ENTITY_MATCH_ALL as ENTITY_MATCH_ALL, ENTITY_MATCH_NONE as ENTITY_MATCH_NONE
|
|
@@ -44,7 +44,7 @@ class ServiceParams(TypedDict):
|
|
|
44
44
|
service_data: dict[str, Any]
|
|
45
45
|
target: dict | None
|
|
46
46
|
|
|
47
|
-
class ServiceTargetSelector(target_helpers.
|
|
47
|
+
class ServiceTargetSelector(target_helpers.TargetSelection):
|
|
48
48
|
def __init__(self, service_call: ServiceCall) -> None: ...
|
|
49
49
|
|
|
50
50
|
class SelectedEntities(target_helpers.SelectedEntities):
|
|
@@ -58,18 +58,14 @@ async def async_call_from_config(hass: HomeAssistant, config: ConfigType, blocki
|
|
|
58
58
|
@callback
|
|
59
59
|
@bind_hass
|
|
60
60
|
def async_prepare_call_from_config(hass: HomeAssistant, config: ConfigType, variables: TemplateVarsType = None, validate_config: bool = False) -> ServiceParams: ...
|
|
61
|
-
|
|
62
|
-
def
|
|
63
|
-
|
|
64
|
-
async def async_extract_entities[_EntityT: Entity](hass: HomeAssistant, entities: Iterable[_EntityT], service_call: ServiceCall, expand_group: bool = True) -> list[_EntityT]: ...
|
|
65
|
-
@bind_hass
|
|
66
|
-
async def async_extract_entity_ids(hass: HomeAssistant, service_call: ServiceCall, expand_group: bool = True) -> set[str]: ...
|
|
61
|
+
def extract_entity_ids(service_call: ServiceCall, expand_group: bool = True) -> set[str]: ...
|
|
62
|
+
async def async_extract_entities[_EntityT: Entity](entities: Iterable[_EntityT], service_call: ServiceCall, expand_group: bool = True) -> list[_EntityT]: ...
|
|
63
|
+
async def async_extract_entity_ids(service_call: ServiceCall, expand_group: bool = True) -> set[str]: ...
|
|
67
64
|
@bind_hass
|
|
68
65
|
def async_extract_referenced_entity_ids(hass: HomeAssistant, service_call: ServiceCall, expand_group: bool = True) -> SelectedEntities: ...
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
def
|
|
72
|
-
def _load_services_files(hass: HomeAssistant, integrations: Iterable[Integration]) -> dict[str, JSON_TYPE]: ...
|
|
66
|
+
async def async_extract_config_entry_ids(service_call: ServiceCall, expand_group: bool = True) -> set[str]: ...
|
|
67
|
+
def _load_services_file(integration: Integration) -> JSON_TYPE: ...
|
|
68
|
+
def _load_services_files(integrations: Iterable[Integration]) -> dict[str, JSON_TYPE]: ...
|
|
73
69
|
@callback
|
|
74
70
|
def async_get_cached_service_description(hass: HomeAssistant, domain: str, service: str) -> dict[str, Any] | None: ...
|
|
75
71
|
@bind_hass
|
|
@@ -81,15 +77,14 @@ def remove_entity_service_fields(call: ServiceCall) -> dict[Any, Any]: ...
|
|
|
81
77
|
def async_set_service_schema(hass: HomeAssistant, domain: str, service: str, schema: dict[str, Any]) -> None: ...
|
|
82
78
|
def _get_permissible_entity_candidates(call: ServiceCall, entities: dict[str, Entity], entity_perms: Callable[[str, str], bool] | None, target_all_entities: bool, all_referenced: set[str] | None) -> list[Entity]: ...
|
|
83
79
|
@bind_hass
|
|
84
|
-
async def entity_service_call(hass: HomeAssistant, registered_entities: dict[str, Entity], func: str | HassJob, call: ServiceCall, required_features: Iterable[int] | None = None) -> EntityServiceResponse | None: ...
|
|
80
|
+
async def entity_service_call(hass: HomeAssistant, registered_entities: dict[str, Entity] | Callable[[], dict[str, Entity]], func: str | HassJob, call: ServiceCall, required_features: Iterable[int] | None = None, *, entity_device_classes: Iterable[str | None] | None = None) -> EntityServiceResponse | None: ...
|
|
85
81
|
async def _handle_entity_call(hass: HomeAssistant, entity: Entity, func: str | HassJob, data: dict | ServiceCall, context: Context) -> ServiceResponse: ...
|
|
86
82
|
async def _async_admin_handler(hass: HomeAssistant, service_job: HassJob[[ServiceCall], Coroutine[Any, Any, ServiceResponse | EntityServiceResponse] | ServiceResponse | EntityServiceResponse | None], call: ServiceCall) -> ServiceResponse | EntityServiceResponse | None: ...
|
|
87
83
|
@bind_hass
|
|
88
84
|
@callback
|
|
89
|
-
def async_register_admin_service(hass: HomeAssistant, domain: str, service: str, service_func: Callable[[ServiceCall], Coroutine[Any, Any, ServiceResponse | EntityServiceResponse] | ServiceResponse | EntityServiceResponse | None], schema: VolSchemaType = ..., supports_response: SupportsResponse =
|
|
90
|
-
@bind_hass
|
|
85
|
+
def async_register_admin_service(hass: HomeAssistant, domain: str, service: str, service_func: Callable[[ServiceCall], Coroutine[Any, Any, ServiceResponse | EntityServiceResponse] | ServiceResponse | EntityServiceResponse | None], schema: VolSchemaType = ..., supports_response: SupportsResponse = ..., *, description_placeholders: Mapping[str, str] | None = None) -> None: ...
|
|
91
86
|
@callback
|
|
92
|
-
def verify_domain_control(
|
|
87
|
+
def verify_domain_control(domain: str) -> Callable[[Callable[[ServiceCall], Any]], Callable[[ServiceCall], Any]]: ...
|
|
93
88
|
|
|
94
89
|
class ReloadServiceHelper[_T]:
|
|
95
90
|
_service_func: Incomplete
|
|
@@ -100,5 +95,8 @@ class ReloadServiceHelper[_T]:
|
|
|
100
95
|
def __init__(self, service_func: Callable[[ServiceCall], Coroutine[Any, Any, Any]], reload_targets_func: Callable[[ServiceCall], set[_T]]) -> None: ...
|
|
101
96
|
async def execute_service(self, service_call: ServiceCall) -> None: ...
|
|
102
97
|
|
|
98
|
+
def _validate_entity_service_schema(schema: VolDictType | VolSchemaType | None, service: str) -> VolSchemaType: ...
|
|
99
|
+
@callback
|
|
100
|
+
def async_register_entity_service(hass: HomeAssistant, domain: str, name: str, *, description_placeholders: Mapping[str, str] | None = None, entity_device_classes: Iterable[str | None] | None = None, entities: dict[str, Entity], func: str | Callable[..., Any], job_type: HassJobType | None, required_features: Iterable[int] | None = None, schema: VolDictType | VolSchemaType | None, supports_response: SupportsResponse = ...) -> None: ...
|
|
103
101
|
@callback
|
|
104
|
-
def
|
|
102
|
+
def async_register_platform_entity_service(hass: HomeAssistant, service_domain: str, service_name: str, *, description_placeholders: Mapping[str, str] | None = None, entity_device_classes: Iterable[str | None] | None = None, entity_domain: str, func: str | Callable[..., Any], required_features: Iterable[int] | None = None, schema: VolDictType | VolSchemaType | None, supports_response: SupportsResponse = ...) -> None: ...
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from homeassistant.data_entry_flow import BaseServiceInfo as BaseServiceInfo
|
|
3
|
+
|
|
4
|
+
@dataclass(slots=True)
|
|
5
|
+
class ESPHomeServiceInfo(BaseServiceInfo):
|
|
6
|
+
name: str
|
|
7
|
+
zwave_home_id: int | None
|
|
8
|
+
ip_address: str
|
|
9
|
+
port: int
|
|
10
|
+
noise_psk: str | None = ...
|
|
11
|
+
@property
|
|
12
|
+
def socket_path(self) -> str: ...
|
|
@@ -6,7 +6,7 @@ from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, CoreState as Core
|
|
|
6
6
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
7
7
|
from homeassistant.loader import bind_hass as bind_hass
|
|
8
8
|
from homeassistant.util import json as json_util
|
|
9
|
-
from homeassistant.util.file import WriteError as WriteError
|
|
9
|
+
from homeassistant.util.file import WriteError as WriteError, write_utf8_file as write_utf8_file, write_utf8_file_atomic as write_utf8_file_atomic
|
|
10
10
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
|
11
11
|
from json import JSONEncoder
|
|
12
12
|
from pathlib import Path
|
|
@@ -63,7 +63,8 @@ class Store[_T: Mapping[str, Any] | Sequence[Any]]:
|
|
|
63
63
|
_read_only: Incomplete
|
|
64
64
|
_next_write_time: float
|
|
65
65
|
_manager: Incomplete
|
|
66
|
-
|
|
66
|
+
_serialize_in_event_loop: Incomplete
|
|
67
|
+
def __init__(self, hass: HomeAssistant, version: int, key: str, private: bool = False, *, atomic_writes: bool = False, encoder: type[JSONEncoder] | None = None, minor_version: int = 1, read_only: bool = False, serialize_in_event_loop: bool = True) -> None: ...
|
|
67
68
|
@cached_property
|
|
68
69
|
def path(self): ...
|
|
69
70
|
def make_read_only(self) -> None: ...
|
|
@@ -86,7 +87,8 @@ class Store[_T: Mapping[str, Any] | Sequence[Any]]:
|
|
|
86
87
|
async def _async_callback_delayed_write(self) -> None: ...
|
|
87
88
|
async def _async_callback_final_write(self, _event: Event) -> None: ...
|
|
88
89
|
async def _async_handle_write_data(self, *_args) -> None: ...
|
|
89
|
-
async def _async_write_data(self,
|
|
90
|
-
def _write_data(self,
|
|
90
|
+
async def _async_write_data(self, data: dict) -> None: ...
|
|
91
|
+
def _write_data(self, data: dict) -> None: ...
|
|
92
|
+
def _write_prepared_data(self, mode: str, json_data: str | bytes) -> None: ...
|
|
91
93
|
async def _async_migrate_func(self, old_major_version, old_minor_version, old_data) -> None: ...
|
|
92
94
|
async def async_remove(self) -> None: ...
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import dataclasses
|
|
2
2
|
from . import group as group
|
|
3
|
+
from .deprecation import deprecated_class as deprecated_class
|
|
3
4
|
from .event import async_track_state_change_event as async_track_state_change_event
|
|
4
5
|
from .typing import ConfigType as ConfigType
|
|
5
6
|
from _typeshed import Incomplete
|
|
@@ -19,7 +20,7 @@ class TargetStateChangedData:
|
|
|
19
20
|
|
|
20
21
|
def _has_match(ids: str | list[str] | None) -> TypeGuard[str | list[str]]: ...
|
|
21
22
|
|
|
22
|
-
class
|
|
23
|
+
class TargetSelection:
|
|
23
24
|
__slots__: Incomplete
|
|
24
25
|
entity_ids: Incomplete
|
|
25
26
|
device_ids: Incomplete
|
|
@@ -27,6 +28,10 @@ class TargetSelectorData:
|
|
|
27
28
|
floor_ids: Incomplete
|
|
28
29
|
label_ids: Incomplete
|
|
29
30
|
def __init__(self, config: ConfigType) -> None: ...
|
|
31
|
+
@property
|
|
32
|
+
def has_any_target(self) -> bool: ...
|
|
33
|
+
|
|
34
|
+
class TargetSelectorData(TargetSelection):
|
|
30
35
|
@property
|
|
31
36
|
def has_any_selector(self) -> bool: ...
|
|
32
37
|
|
|
@@ -42,16 +47,16 @@ class SelectedEntities:
|
|
|
42
47
|
referenced_areas: set[str] = dataclasses.field(default_factory=set)
|
|
43
48
|
def log_missing(self, missing_entities: set[str], logger: Logger) -> None: ...
|
|
44
49
|
|
|
45
|
-
def async_extract_referenced_entity_ids(hass: HomeAssistant,
|
|
50
|
+
def async_extract_referenced_entity_ids(hass: HomeAssistant, target_selection: TargetSelection, expand_group: bool = True) -> SelectedEntities: ...
|
|
46
51
|
|
|
47
52
|
class TargetStateChangeTracker:
|
|
48
53
|
_hass: Incomplete
|
|
49
|
-
|
|
54
|
+
_target_selection: Incomplete
|
|
50
55
|
_action: Incomplete
|
|
51
56
|
_entity_filter: Incomplete
|
|
52
57
|
_state_change_unsub: CALLBACK_TYPE | None
|
|
53
58
|
_registry_unsubs: list[CALLBACK_TYPE]
|
|
54
|
-
def __init__(self, hass: HomeAssistant,
|
|
59
|
+
def __init__(self, hass: HomeAssistant, target_selection: TargetSelection, action: Callable[[TargetStateChangedData], Any], entity_filter: Callable[[set[str]], set[str]]) -> None: ...
|
|
55
60
|
def async_setup(self) -> Callable[[], None]: ...
|
|
56
61
|
def _track_entities_state_change(self) -> None: ...
|
|
57
62
|
def _setup_registry_listeners(self) -> None: ...
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import collections.abc
|
|
2
1
|
import jinja2
|
|
3
2
|
import weakref
|
|
4
|
-
from . import
|
|
5
|
-
from .
|
|
6
|
-
from .
|
|
7
|
-
from .translation import async_translate_state as async_translate_state
|
|
8
|
-
from .typing import TemplateVarsType as TemplateVarsType
|
|
3
|
+
from .context import render_with_context as render_with_context, template_context_manager as template_context_manager, template_cv as template_cv
|
|
4
|
+
from .helpers import raise_no_default as raise_no_default
|
|
5
|
+
from .render_info import RenderInfo as RenderInfo, render_info_cv as render_info_cv
|
|
9
6
|
from _typeshed import Incomplete, OptExcInfo as OptExcInfo
|
|
10
|
-
from collections.abc import Callable as Callable, Generator, Iterable
|
|
11
|
-
from
|
|
12
|
-
from contextvars import ContextVar
|
|
13
|
-
from datetime import datetime, timedelta
|
|
7
|
+
from collections.abc import Callable as Callable, Generator, Iterable
|
|
8
|
+
from datetime import datetime
|
|
14
9
|
from functools import cache
|
|
15
10
|
from homeassistant.const import ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_LATITUDE as ATTR_LATITUDE, ATTR_LONGITUDE as ATTR_LONGITUDE, ATTR_PERSONS as ATTR_PERSONS, ATTR_UNIT_OF_MEASUREMENT as ATTR_UNIT_OF_MEASUREMENT, EVENT_HOMEASSISTANT_START as EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP as EVENT_HOMEASSISTANT_STOP, STATE_UNAVAILABLE as STATE_UNAVAILABLE, STATE_UNKNOWN as STATE_UNKNOWN, UnitOfLength as UnitOfLength
|
|
16
|
-
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, ServiceResponse as ServiceResponse, State as State, callback as callback,
|
|
11
|
+
from homeassistant.core import Context as Context, HomeAssistant as HomeAssistant, ServiceResponse as ServiceResponse, State as State, callback as callback, valid_domain as valid_domain, valid_entity_id as valid_entity_id
|
|
17
12
|
from homeassistant.exceptions import TemplateError as TemplateError
|
|
18
|
-
from homeassistant.
|
|
13
|
+
from homeassistant.helpers.singleton import singleton as singleton
|
|
14
|
+
from homeassistant.helpers.translation import async_translate_state as async_translate_state
|
|
15
|
+
from homeassistant.helpers.typing import TemplateVarsType as TemplateVarsType
|
|
19
16
|
from homeassistant.util import convert as convert
|
|
20
17
|
from homeassistant.util.async_ import run_callback_threadsafe as run_callback_threadsafe
|
|
21
18
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
|
@@ -26,8 +23,8 @@ from jinja2 import pass_context
|
|
|
26
23
|
from jinja2.sandbox import ImmutableSandboxedEnvironment
|
|
27
24
|
from lru import LRU
|
|
28
25
|
from propcache.api import under_cached_property
|
|
29
|
-
from types import CodeType
|
|
30
|
-
from typing import Any, Literal,
|
|
26
|
+
from types import CodeType
|
|
27
|
+
from typing import Any, Literal, Self, overload
|
|
31
28
|
|
|
32
29
|
_LOGGER: Incomplete
|
|
33
30
|
_SENTINEL: Incomplete
|
|
@@ -39,10 +36,6 @@ _HASS_LOADER: str
|
|
|
39
36
|
_IS_NUMERIC: Incomplete
|
|
40
37
|
_RESERVED_NAMES: Incomplete
|
|
41
38
|
_COLLECTABLE_STATE_ATTRIBUTES: Incomplete
|
|
42
|
-
ALL_STATES_RATE_LIMIT: int
|
|
43
|
-
DOMAIN_STATES_RATE_LIMIT: int
|
|
44
|
-
_render_info: ContextVar[RenderInfo | None]
|
|
45
|
-
template_cv: ContextVar[tuple[str, str] | None]
|
|
46
39
|
CACHED_TEMPLATE_STATES: int
|
|
47
40
|
EVAL_CACHE_SIZE: int
|
|
48
41
|
MAX_CUSTOM_TEMPLATE_SIZE: Incomplete
|
|
@@ -55,9 +48,6 @@ ORJSON_PASSTHROUGH_OPTIONS: Incomplete
|
|
|
55
48
|
def _template_state_no_collect(hass: HomeAssistant, state: State) -> TemplateState: ...
|
|
56
49
|
def _template_state(hass: HomeAssistant, state: State) -> TemplateState: ...
|
|
57
50
|
def async_setup(hass: HomeAssistant) -> bool: ...
|
|
58
|
-
@bind_hass
|
|
59
|
-
def attach(hass: HomeAssistant, obj: Any) -> None: ...
|
|
60
|
-
def _attach(hass: HomeAssistant, obj: Any) -> None: ...
|
|
61
51
|
def render_complex(value: Any, variables: TemplateVarsType = None, limited: bool = False, parse_result: bool = True) -> Any: ...
|
|
62
52
|
def is_complex(value: Any) -> bool: ...
|
|
63
53
|
def is_template_string(maybe_template: str) -> bool: ...
|
|
@@ -77,35 +67,8 @@ class TupleWrapper(tuple, ResultWrapper):
|
|
|
77
67
|
_types: tuple[type[dict | list | set], ...]
|
|
78
68
|
RESULT_WRAPPERS: dict[type, type]
|
|
79
69
|
|
|
80
|
-
def _true(arg: str) -> bool: ...
|
|
81
|
-
def _false(arg: str) -> bool: ...
|
|
82
70
|
def _cached_parse_result(render_result: str) -> Any: ...
|
|
83
71
|
|
|
84
|
-
class RenderInfo:
|
|
85
|
-
__slots__: Incomplete
|
|
86
|
-
template: Incomplete
|
|
87
|
-
filter_lifecycle: Callable[[str], bool]
|
|
88
|
-
filter: Callable[[str], bool]
|
|
89
|
-
_result: str | None
|
|
90
|
-
is_static: bool
|
|
91
|
-
exception: TemplateError | None
|
|
92
|
-
all_states: bool
|
|
93
|
-
all_states_lifecycle: bool
|
|
94
|
-
domains: collections.abc.Set[str]
|
|
95
|
-
domains_lifecycle: collections.abc.Set[str]
|
|
96
|
-
entities: collections.abc.Set[str]
|
|
97
|
-
rate_limit: float | None
|
|
98
|
-
has_time: bool
|
|
99
|
-
def __init__(self, template: Template) -> None: ...
|
|
100
|
-
def __repr__(self) -> str: ...
|
|
101
|
-
def _filter_domains_and_entities(self, entity_id: str) -> bool: ...
|
|
102
|
-
def _filter_entities(self, entity_id: str) -> bool: ...
|
|
103
|
-
def _filter_lifecycle_domains(self, entity_id: str) -> bool: ...
|
|
104
|
-
def result(self) -> str: ...
|
|
105
|
-
def _freeze_static(self) -> None: ...
|
|
106
|
-
def _freeze_sets(self) -> None: ...
|
|
107
|
-
def _freeze(self) -> None: ...
|
|
108
|
-
|
|
109
72
|
class Template:
|
|
110
73
|
__slots__: Incomplete
|
|
111
74
|
template: str
|
|
@@ -242,35 +205,9 @@ def forgiving_boolean(value: Any) -> bool | object: ...
|
|
|
242
205
|
def forgiving_boolean[_T](value: Any, default: _T) -> bool | _T: ...
|
|
243
206
|
def result_as_boolean(template_result: Any | None) -> bool: ...
|
|
244
207
|
def expand(hass: HomeAssistant, *args: Any) -> Iterable[State]: ...
|
|
245
|
-
def device_entities(hass: HomeAssistant, _device_id: str) -> Iterable[str]: ...
|
|
246
208
|
def integration_entities(hass: HomeAssistant, entry_name: str) -> Iterable[str]: ...
|
|
247
209
|
def config_entry_id(hass: HomeAssistant, entity_id: str) -> str | None: ...
|
|
248
|
-
def device_id(hass: HomeAssistant, entity_id_or_device_name: str) -> str | None: ...
|
|
249
|
-
def device_name(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
|
250
|
-
def device_attr(hass: HomeAssistant, device_or_entity_id: str, attr_name: str) -> Any: ...
|
|
251
210
|
def config_entry_attr(hass: HomeAssistant, config_entry_id_: str, attr_name: str) -> Any: ...
|
|
252
|
-
def is_device_attr(hass: HomeAssistant, device_or_entity_id: str, attr_name: str, attr_value: Any) -> bool: ...
|
|
253
|
-
def issues(hass: HomeAssistant) -> dict[tuple[str, str], dict[str, Any]]: ...
|
|
254
|
-
def issue(hass: HomeAssistant, domain: str, issue_id: str) -> dict[str, Any] | None: ...
|
|
255
|
-
def floors(hass: HomeAssistant) -> Iterable[str | None]: ...
|
|
256
|
-
def floor_id(hass: HomeAssistant, lookup_value: Any) -> str | None: ...
|
|
257
|
-
def floor_name(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
|
258
|
-
def floor_areas(hass: HomeAssistant, floor_id_or_name: str) -> Iterable[str]: ...
|
|
259
|
-
def floor_entities(hass: HomeAssistant, floor_id_or_name: str) -> Iterable[str]: ...
|
|
260
|
-
def areas(hass: HomeAssistant) -> Iterable[str | None]: ...
|
|
261
|
-
def area_id(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
|
262
|
-
def _get_area_name(area_reg: area_registry.AreaRegistry, valid_area_id: str) -> str: ...
|
|
263
|
-
def area_name(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
|
264
|
-
def area_entities(hass: HomeAssistant, area_id_or_name: str) -> Iterable[str]: ...
|
|
265
|
-
def area_devices(hass: HomeAssistant, area_id_or_name: str) -> Iterable[str]: ...
|
|
266
|
-
def labels(hass: HomeAssistant, lookup_value: Any = None) -> Iterable[str | None]: ...
|
|
267
|
-
def label_id(hass: HomeAssistant, lookup_value: Any) -> str | None: ...
|
|
268
|
-
def label_name(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
|
269
|
-
def label_description(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
|
270
|
-
def _label_id_or_name(hass: HomeAssistant, label_id_or_name: str) -> str | None: ...
|
|
271
|
-
def label_areas(hass: HomeAssistant, label_id_or_name: str) -> Iterable[str]: ...
|
|
272
|
-
def label_devices(hass: HomeAssistant, label_id_or_name: str) -> Iterable[str]: ...
|
|
273
|
-
def label_entities(hass: HomeAssistant, label_id_or_name: str) -> Iterable[str]: ...
|
|
274
211
|
def closest(hass: HomeAssistant, *args: Any) -> State | None: ...
|
|
275
212
|
def closest_filter(hass: HomeAssistant, *args: Any) -> State | None: ...
|
|
276
213
|
def distance(hass: HomeAssistant, *args: Any) -> float | None: ...
|
|
@@ -279,98 +216,31 @@ def is_state(hass: HomeAssistant, entity_id: str, state: str | list[str]) -> boo
|
|
|
279
216
|
def is_state_attr(hass: HomeAssistant, entity_id: str, name: str, value: Any) -> bool: ...
|
|
280
217
|
def state_attr(hass: HomeAssistant, entity_id: str, name: str) -> Any: ...
|
|
281
218
|
def has_value(hass: HomeAssistant, entity_id: str) -> bool: ...
|
|
282
|
-
def now(hass: HomeAssistant) -> datetime: ...
|
|
283
|
-
def utcnow(hass: HomeAssistant) -> datetime: ...
|
|
284
|
-
def raise_no_default(function: str, value: Any) -> NoReturn: ...
|
|
285
219
|
def forgiving_round(value, precision: int = 0, method: str = 'common', default=...): ...
|
|
286
220
|
def multiply(value, amount, default=...): ...
|
|
287
221
|
def add(value, amount, default=...): ...
|
|
288
222
|
def apply(value, fn, *args, **kwargs): ...
|
|
289
223
|
def as_function(macro: jinja2.runtime.Macro) -> Callable[..., Any]: ...
|
|
290
|
-
def logarithm(value, base=..., default=...): ...
|
|
291
|
-
def sine(value, default=...): ...
|
|
292
|
-
def cosine(value, default=...): ...
|
|
293
|
-
def tangent(value, default=...): ...
|
|
294
|
-
def arc_sine(value, default=...): ...
|
|
295
|
-
def arc_cosine(value, default=...): ...
|
|
296
|
-
def arc_tangent(value, default=...): ...
|
|
297
|
-
def arc_tangent2(*args, default=...): ...
|
|
298
224
|
def version(value): ...
|
|
299
|
-
def square_root(value, default=...): ...
|
|
300
|
-
def timestamp_custom(value, date_format=..., local: bool = True, default=...): ...
|
|
301
|
-
def timestamp_local(value, default=...): ...
|
|
302
|
-
def timestamp_utc(value, default=...): ...
|
|
303
|
-
def forgiving_as_timestamp(value, default=...): ...
|
|
304
|
-
def as_datetime(value: Any, default: Any = ...) -> Any: ...
|
|
305
|
-
def as_timedelta(value: str) -> timedelta | None: ...
|
|
306
225
|
def merge_response(value: ServiceResponse) -> list[Any]: ...
|
|
307
|
-
def strptime(string, fmt, default=...): ...
|
|
308
226
|
def fail_when_undefined(value): ...
|
|
309
|
-
def min_max_from_filter(builtin_filter: Any, name: str) -> Any: ...
|
|
310
|
-
def average(*args: Any, default: Any = ...) -> Any: ...
|
|
311
|
-
def median(*args: Any, default: Any = ...) -> Any: ...
|
|
312
|
-
def statistical_mode(*args: Any, default: Any = ...) -> Any: ...
|
|
313
227
|
def forgiving_float(value, default=...): ...
|
|
314
228
|
def forgiving_float_filter(value, default=...): ...
|
|
315
229
|
def forgiving_int(value, default=..., base: int = 10): ...
|
|
316
230
|
def forgiving_int_filter(value, default=..., base: int = 10): ...
|
|
317
231
|
def is_number(value): ...
|
|
318
|
-
def _is_list(value: Any) -> bool: ...
|
|
319
|
-
def _is_set(value: Any) -> bool: ...
|
|
320
|
-
def _is_tuple(value: Any) -> bool: ...
|
|
321
|
-
def _to_set(value: Any) -> set[Any]: ...
|
|
322
|
-
def _to_tuple(value): ...
|
|
323
|
-
def _is_datetime(value: Any) -> bool: ...
|
|
324
232
|
def _is_string_like(value: Any) -> bool: ...
|
|
325
|
-
def regex_match(value, find: str = '', ignorecase: bool = False): ...
|
|
326
|
-
|
|
327
|
-
_regex_cache: Incomplete
|
|
328
|
-
|
|
329
|
-
def regex_replace(value: str = '', find: str = '', replace: str = '', ignorecase: bool = False): ...
|
|
330
|
-
def regex_search(value, find: str = '', ignorecase: bool = False): ...
|
|
331
|
-
def regex_findall_index(value, find: str = '', index: int = 0, ignorecase: bool = False): ...
|
|
332
|
-
def regex_findall(value, find: str = '', ignorecase: bool = False): ...
|
|
333
|
-
def bitwise_and(first_value, second_value): ...
|
|
334
|
-
def bitwise_or(first_value, second_value): ...
|
|
335
|
-
def bitwise_xor(first_value, second_value): ...
|
|
336
233
|
def struct_pack(value: Any | None, format_string: str) -> bytes | None: ...
|
|
337
234
|
def struct_unpack(value: bytes, format_string: str, offset: int = 0) -> Any | None: ...
|
|
338
235
|
def from_hex(value: str) -> bytes: ...
|
|
339
|
-
def base64_encode(value: str | bytes) -> str: ...
|
|
340
|
-
def base64_decode(value: str, encoding: str | None = 'utf-8') -> str | bytes: ...
|
|
341
|
-
def ordinal(value): ...
|
|
342
236
|
def from_json(value, default=...): ...
|
|
343
237
|
def _to_json_default(obj: Any) -> None: ...
|
|
344
238
|
def to_json(value: Any, ensure_ascii: bool = False, pretty_print: bool = False, sort_keys: bool = False) -> str: ...
|
|
345
239
|
@pass_context
|
|
346
240
|
def random_every_time(context, values): ...
|
|
347
|
-
def today_at(hass: HomeAssistant, time_str: str = '') -> datetime: ...
|
|
348
|
-
def relative_time(hass: HomeAssistant, value: Any) -> Any: ...
|
|
349
|
-
def time_since(hass: HomeAssistant, value: Any | datetime, precision: int = 1) -> Any: ...
|
|
350
|
-
def time_until(hass: HomeAssistant, value: Any | datetime, precision: int = 1) -> Any: ...
|
|
351
|
-
def urlencode(value): ...
|
|
352
|
-
def slugify(value, separator: str = '_'): ...
|
|
353
241
|
def iif(value: Any, if_true: Any = True, if_false: Any = False, if_none: Any = ...) -> Any: ...
|
|
354
|
-
def shuffle(*args: Any, seed: Any = None) -> MutableSequence[Any]: ...
|
|
355
242
|
def typeof(value: Any) -> Any: ...
|
|
356
|
-
def flatten(value: Iterable[Any], levels: int | None = None) -> list[Any]: ...
|
|
357
|
-
def intersect(value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
358
|
-
def difference(value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
359
|
-
def union(value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
360
|
-
def symmetric_difference(value: Iterable[Any], other: Iterable[Any]) -> list[Any]: ...
|
|
361
243
|
def combine(*args: Any, recursive: bool = False) -> dict[Any, Any]: ...
|
|
362
|
-
def md5(value: str) -> str: ...
|
|
363
|
-
def sha1(value: str) -> str: ...
|
|
364
|
-
def sha256(value: str) -> str: ...
|
|
365
|
-
def sha512(value: str) -> str: ...
|
|
366
|
-
|
|
367
|
-
class TemplateContextManager(AbstractContextManager):
|
|
368
|
-
def set_template(self, template_str: str, action: str) -> None: ...
|
|
369
|
-
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
|
|
370
|
-
|
|
371
|
-
_template_context_manager: Incomplete
|
|
372
|
-
|
|
373
|
-
def _render_with_context(template_str: str, template: jinja2.Template, **kwargs: Any) -> str: ...
|
|
374
244
|
def make_logging_undefined(strict: bool | None, log_fn: Callable[[int, str], None] | None) -> type[jinja2.Undefined]: ...
|
|
375
245
|
async def async_load_custom_templates(hass: HomeAssistant) -> None: ...
|
|
376
246
|
def _load_custom_templates(hass: HomeAssistant) -> dict[str, str]: ...
|
|
@@ -388,6 +258,7 @@ class HassLoader(jinja2.BaseLoader):
|
|
|
388
258
|
|
|
389
259
|
class TemplateEnvironment(ImmutableSandboxedEnvironment):
|
|
390
260
|
hass: Incomplete
|
|
261
|
+
limited: Incomplete
|
|
391
262
|
template_cache: weakref.WeakValueDictionary[str | jinja2.nodes.Template, CodeType | None]
|
|
392
263
|
loader: Incomplete
|
|
393
264
|
def __init__(self, hass: HomeAssistant | None, limited: bool | None = False, strict: bool | None = False, log_fn: Callable[[int, str], None] | None = None) -> None: ...
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import jinja2
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from contextlib import AbstractContextManager
|
|
4
|
+
from contextvars import ContextVar
|
|
5
|
+
from types import TracebackType
|
|
6
|
+
from typing import Any
|
|
7
|
+
|
|
8
|
+
template_cv: ContextVar[tuple[str, str] | None]
|
|
9
|
+
|
|
10
|
+
class TemplateContextManager(AbstractContextManager):
|
|
11
|
+
def set_template(self, template_str: str, action: str) -> None: ...
|
|
12
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
|
|
13
|
+
|
|
14
|
+
template_context_manager: Incomplete
|
|
15
|
+
|
|
16
|
+
def render_with_context(template_str: str, template: jinja2.Template, **kwargs: Any) -> str: ...
|