homeassistant-stubs 2025.7.4__py3-none-any.whl → 2025.8.0b1__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.
Potentially problematic release.
This version of homeassistant-stubs might be problematic. Click here for more details.
- homeassistant-stubs/bootstrap.pyi +1 -1
- homeassistant-stubs/components/airnow/__init__.pyi +0 -1
- homeassistant-stubs/components/airnow/config_flow.pyi +2 -2
- homeassistant-stubs/components/airos/__init__.pyi +9 -0
- homeassistant-stubs/components/airos/config_flow.pyi +14 -0
- homeassistant-stubs/components/airos/const.pyi +5 -0
- homeassistant-stubs/components/airos/coordinator.pyi +16 -0
- homeassistant-stubs/components/airos/entity.pyi +11 -0
- homeassistant-stubs/components/airos/sensor.pyi +29 -0
- homeassistant-stubs/components/airq/const.pyi +0 -1
- homeassistant-stubs/components/airq/sensor.pyi +2 -2
- homeassistant-stubs/components/airthings/sensor.pyi +1 -1
- homeassistant-stubs/components/alexa_devices/__init__.pyi +6 -0
- homeassistant-stubs/components/alexa_devices/config_flow.pyi +10 -0
- homeassistant-stubs/components/alexa_devices/coordinator.pyi +4 -3
- homeassistant-stubs/components/alexa_devices/services.pyi +24 -0
- homeassistant-stubs/components/amberelectric/__init__.pyi +7 -1
- homeassistant-stubs/components/amberelectric/const.pyi +8 -1
- homeassistant-stubs/components/amberelectric/coordinator.pyi +1 -2
- homeassistant-stubs/components/amberelectric/helpers.pyi +6 -0
- homeassistant-stubs/components/amberelectric/sensor.pyi +2 -2
- homeassistant-stubs/components/amberelectric/services.pyi +15 -0
- homeassistant-stubs/components/analytics/__init__.pyi +1 -0
- homeassistant-stubs/components/analytics/analytics.pyi +3 -0
- homeassistant-stubs/components/analytics/http.pyi +10 -0
- homeassistant-stubs/components/analytics_insights/__init__.pyi +0 -1
- homeassistant-stubs/components/analytics_insights/config_flow.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/__init__.pyi +2 -6
- homeassistant-stubs/components/androidtv_remote/config_flow.pyi +6 -6
- homeassistant-stubs/components/androidtv_remote/diagnostics.pyi +1 -1
- homeassistant-stubs/components/androidtv_remote/entity.pyi +2 -2
- homeassistant-stubs/components/androidtv_remote/helpers.pyi +3 -1
- homeassistant-stubs/components/androidtv_remote/media_player.pyi +4 -4
- homeassistant-stubs/components/androidtv_remote/remote.pyi +1 -1
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +2 -2
- homeassistant-stubs/components/assist_pipeline/const.pyi +0 -1
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +2 -5
- homeassistant-stubs/components/awair/const.pyi +1 -0
- homeassistant-stubs/components/awair/sensor.pyi +1 -1
- homeassistant-stubs/components/backup/__init__.pyi +6 -2
- homeassistant-stubs/components/backup/coordinator.pyi +0 -1
- homeassistant-stubs/components/backup/manager.pyi +6 -3
- homeassistant-stubs/components/backup/onboarding.pyi +1 -1
- homeassistant-stubs/components/backup/services.pyi +7 -0
- homeassistant-stubs/components/backup/websocket.pyi +4 -1
- homeassistant-stubs/components/blue_current/__init__.pyi +5 -5
- homeassistant-stubs/components/blue_current/const.pyi +11 -0
- homeassistant-stubs/components/blue_current/switch.pyi +40 -0
- homeassistant-stubs/components/bosch_alarm/__init__.pyi +1 -1
- homeassistant-stubs/components/bosch_alarm/services.pyi +3 -2
- homeassistant-stubs/components/bring/__init__.pyi +5 -0
- homeassistant-stubs/components/bring/const.pyi +4 -0
- homeassistant-stubs/components/bring/services.pyi +14 -0
- homeassistant-stubs/components/cloud/backup.pyi +3 -3
- homeassistant-stubs/components/cloud/repairs.pyi +3 -3
- homeassistant-stubs/components/cloud/subscription.pyi +2 -1
- homeassistant-stubs/components/cloud/tts.pyi +2 -1
- homeassistant-stubs/components/command_line/sensor.pyi +0 -2
- homeassistant-stubs/components/demo/vacuum.pyi +0 -3
- homeassistant-stubs/components/derivative/__init__.pyi +5 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +2 -0
- homeassistant-stubs/components/derivative/sensor.pyi +7 -4
- homeassistant-stubs/components/devolo_home_control/config_flow.pyi +3 -7
- homeassistant-stubs/components/devolo_home_control/entity.pyi +0 -1
- homeassistant-stubs/components/devolo_home_network/coordinator.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -2
- homeassistant-stubs/components/devolo_home_network/entity.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/sensor.pyi +1 -1
- homeassistant-stubs/components/discovergy/__init__.pyi +1 -0
- homeassistant-stubs/components/discovergy/coordinator.pyi +1 -0
- homeassistant-stubs/components/dnsip/__init__.pyi +0 -1
- homeassistant-stubs/components/dnsip/config_flow.pyi +2 -2
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +13 -3
- homeassistant-stubs/components/ecovacs/sensor.pyi +13 -0
- homeassistant-stubs/components/ecovacs/vacuum.pyi +1 -7
- homeassistant-stubs/components/eheimdigital/config_flow.pyi +2 -1
- homeassistant-stubs/components/elevenlabs/config_flow.pyi +1 -1
- homeassistant-stubs/components/elevenlabs/const.pyi +0 -2
- homeassistant-stubs/components/elevenlabs/tts.pyi +2 -3
- homeassistant-stubs/components/enphase_envoy/__init__.pyi +0 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +2 -2
- homeassistant-stubs/components/esphome/config_flow.pyi +2 -0
- homeassistant-stubs/components/esphome/encryption_key_storage.pyi +29 -0
- homeassistant-stubs/components/esphome/entity.pyi +3 -1
- homeassistant-stubs/components/esphome/entry_data.pyi +14 -6
- homeassistant-stubs/components/esphome/manager.pyi +3 -1
- homeassistant-stubs/components/feedreader/__init__.pyi +0 -1
- homeassistant-stubs/components/feedreader/config_flow.pyi +3 -3
- homeassistant-stubs/components/forecast_solar/__init__.pyi +0 -1
- homeassistant-stubs/components/forecast_solar/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritz/__init__.pyi +0 -1
- homeassistant-stubs/components/fritz/config_flow.pyi +2 -2
- homeassistant-stubs/components/fritzbox_callmonitor/__init__.pyi +0 -1
- homeassistant-stubs/components/fritzbox_callmonitor/config_flow.pyi +2 -2
- homeassistant-stubs/components/frontend/__init__.pyi +1 -0
- homeassistant-stubs/components/generic_hygrostat/__init__.pyi +3 -1
- homeassistant-stubs/components/generic_hygrostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/generic_hygrostat/humidifier.pyi +3 -3
- homeassistant-stubs/components/generic_thermostat/__init__.pyi +5 -1
- homeassistant-stubs/components/generic_thermostat/climate.pyi +3 -3
- homeassistant-stubs/components/generic_thermostat/config_flow.pyi +1 -0
- homeassistant-stubs/components/geo_location/trigger.pyi +0 -1
- homeassistant-stubs/components/gios/const.pyi +2 -0
- homeassistant-stubs/components/gios/sensor.pyi +1 -1
- homeassistant-stubs/components/google_assistant_sdk/application_credentials.pyi +1 -0
- homeassistant-stubs/components/google_cloud/const.pyi +1 -0
- homeassistant-stubs/components/google_cloud/stt.pyi +3 -2
- homeassistant-stubs/components/guardian/__init__.pyi +1 -1
- homeassistant-stubs/components/guardian/services.pyi +2 -1
- homeassistant-stubs/components/habitica/button.pyi +3 -4
- homeassistant-stubs/components/habitica/coordinator.pyi +2 -3
- homeassistant-stubs/components/habitica/entity.pyi +1 -1
- homeassistant-stubs/components/habitica/sensor.pyi +3 -18
- homeassistant-stubs/components/habitica/switch.pyi +4 -3
- homeassistant-stubs/components/habitica/util.pyi +2 -1
- homeassistant-stubs/components/heos/__init__.pyi +1 -1
- homeassistant-stubs/components/heos/config_flow.pyi +3 -0
- homeassistant-stubs/components/heos/services.pyi +3 -2
- homeassistant-stubs/components/here_travel_time/__init__.pyi +3 -1
- homeassistant-stubs/components/here_travel_time/config_flow.pyi +3 -2
- homeassistant-stubs/components/here_travel_time/const.pyi +1 -0
- homeassistant-stubs/components/here_travel_time/coordinator.pyi +1 -1
- homeassistant-stubs/components/here_travel_time/model.pyi +2 -1
- homeassistant-stubs/components/history_stats/__init__.pyi +5 -1
- homeassistant-stubs/components/history_stats/config_flow.pyi +14 -0
- homeassistant-stubs/components/history_stats/coordinator.pyi +3 -1
- homeassistant-stubs/components/history_stats/data.pyi +2 -1
- homeassistant-stubs/components/history_stats/helpers.pyi +1 -1
- homeassistant-stubs/components/history_stats/sensor.pyi +7 -4
- homeassistant-stubs/components/holiday/__init__.pyi +0 -1
- homeassistant-stubs/components/holiday/config_flow.pyi +2 -2
- homeassistant-stubs/components/home_connect/__init__.pyi +1 -1
- homeassistant-stubs/components/home_connect/services.pyi +3 -2
- homeassistant-stubs/components/homeassistant/__init__.pyi +2 -1
- homeassistant-stubs/components/homeassistant/triggers/time.pyi +2 -1
- homeassistant-stubs/components/homeassistant_hardware/coordinator.pyi +2 -1
- homeassistant-stubs/components/homee/__init__.pyi +1 -1
- homeassistant-stubs/components/homee/config_flow.pyi +5 -0
- homeassistant-stubs/components/homekit/__init__.pyi +2 -1
- homeassistant-stubs/components/http/__init__.pyi +1 -2
- homeassistant-stubs/components/huawei_lte/__init__.pyi +1 -2
- homeassistant-stubs/components/huawei_lte/config_flow.pyi +5 -4
- homeassistant-stubs/components/huawei_lte/const.pyi +1 -1
- homeassistant-stubs/components/huawei_lte/diagnostics.pyi +18 -0
- homeassistant-stubs/components/husqvarna_automower/button.pyi +2 -2
- homeassistant-stubs/components/husqvarna_automower/calendar.pyi +3 -0
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +15 -13
- homeassistant-stubs/components/husqvarna_automower/entity.pyi +2 -6
- homeassistant-stubs/components/husqvarna_automower/lawn_mower.pyi +2 -2
- homeassistant-stubs/components/husqvarna_automower/sensor.pyi +5 -0
- homeassistant-stubs/components/hydrawise/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/hydrawise/const.pyi +1 -0
- homeassistant-stubs/components/hydrawise/coordinator.pyi +9 -2
- homeassistant-stubs/components/hydrawise/entity.pyi +1 -1
- homeassistant-stubs/components/hydrawise/sensor.pyi +1 -1
- homeassistant-stubs/components/hydrawise/switch.pyi +1 -1
- homeassistant-stubs/components/hydrawise/valve.pyi +1 -1
- homeassistant-stubs/components/hyperion/__init__.pyi +0 -1
- homeassistant-stubs/components/hyperion/config_flow.pyi +2 -2
- homeassistant-stubs/components/imgw_pib/sensor.pyi +7 -1
- homeassistant-stubs/components/immich/__init__.pyi +6 -0
- homeassistant-stubs/components/immich/media_source.pyi +1 -0
- homeassistant-stubs/components/immich/services.pyi +18 -0
- homeassistant-stubs/components/input_text/__init__.pyi +1 -1
- homeassistant-stubs/components/integration/__init__.pyi +5 -1
- homeassistant-stubs/components/integration/config_flow.pyi +1 -0
- homeassistant-stubs/components/integration/sensor.pyi +5 -6
- homeassistant-stubs/components/iron_os/__init__.pyi +0 -3
- homeassistant-stubs/components/iron_os/const.pyi +4 -0
- homeassistant-stubs/components/iron_os/coordinator.pyi +1 -1
- homeassistant-stubs/components/iron_os/number.pyi +20 -4
- homeassistant-stubs/components/iron_os/switch.pyi +2 -0
- homeassistant-stubs/components/isy994/__init__.pyi +0 -1
- homeassistant-stubs/components/isy994/config_flow.pyi +3 -3
- homeassistant-stubs/components/jellyfin/browse_media.pyi +2 -1
- homeassistant-stubs/components/jellyfin/media_player.pyi +5 -2
- homeassistant-stubs/components/jewish_calendar/binary_sensor.pyi +5 -15
- homeassistant-stubs/components/jewish_calendar/config_flow.pyi +2 -2
- homeassistant-stubs/components/jewish_calendar/entity.pyi +19 -5
- homeassistant-stubs/components/jewish_calendar/sensor.pyi +11 -7
- homeassistant-stubs/components/knx/__init__.pyi +6 -40
- homeassistant-stubs/components/knx/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/knx/button.pyi +1 -1
- homeassistant-stubs/components/knx/climate.pyi +1 -1
- homeassistant-stubs/components/knx/config_flow.pyi +14 -21
- homeassistant-stubs/components/knx/const.pyi +1 -1
- homeassistant-stubs/components/knx/cover.pyi +3 -2
- homeassistant-stubs/components/knx/date.pyi +1 -1
- homeassistant-stubs/components/knx/datetime.pyi +1 -1
- homeassistant-stubs/components/knx/entity.pyi +1 -1
- homeassistant-stubs/components/knx/fan.pyi +1 -1
- homeassistant-stubs/components/knx/knx_module.pyi +43 -0
- homeassistant-stubs/components/knx/light.pyi +3 -2
- homeassistant-stubs/components/knx/notify.pyi +1 -1
- homeassistant-stubs/components/knx/number.pyi +1 -1
- homeassistant-stubs/components/knx/scene.pyi +1 -1
- homeassistant-stubs/components/knx/select.pyi +1 -1
- homeassistant-stubs/components/knx/sensor.pyi +1 -1
- homeassistant-stubs/components/knx/services.pyi +2 -2
- homeassistant-stubs/components/knx/storage/config_store.pyi +4 -0
- homeassistant-stubs/components/knx/storage/const.pyi +8 -7
- homeassistant-stubs/components/knx/storage/entity_store_schema.pyi +3 -10
- homeassistant-stubs/components/knx/storage/knx_selector.pyi +4 -0
- homeassistant-stubs/components/knx/storage/migration.pyi +5 -0
- homeassistant-stubs/components/knx/storage/util.pyi +16 -0
- homeassistant-stubs/components/knx/switch.pyi +3 -2
- homeassistant-stubs/components/knx/text.pyi +1 -1
- homeassistant-stubs/components/knx/time.pyi +1 -1
- homeassistant-stubs/components/knx/weather.pyi +1 -1
- homeassistant-stubs/components/knx/websocket.pyi +1 -1
- homeassistant-stubs/components/lamarzocco/config_flow.pyi +2 -2
- homeassistant-stubs/components/lcn/binary_sensor.pyi +1 -20
- homeassistant-stubs/components/lcn/helpers.pyi +1 -0
- homeassistant-stubs/components/lcn/light.pyi +2 -1
- homeassistant-stubs/components/letpot/coordinator.pyi +3 -4
- homeassistant-stubs/components/letpot/switch.pyi +1 -1
- homeassistant-stubs/components/letpot/time.pyi +1 -1
- homeassistant-stubs/components/lifx/const.pyi +1 -0
- homeassistant-stubs/components/lifx/coordinator.pyi +5 -1
- homeassistant-stubs/components/lifx/manager.pyi +1 -1
- homeassistant-stubs/components/linkplay/select.pyi +35 -0
- homeassistant-stubs/components/litterrobot/sensor.pyi +3 -0
- homeassistant-stubs/components/matrix/__init__.pyi +1 -1
- homeassistant-stubs/components/matrix/services.pyi +3 -2
- homeassistant-stubs/components/matter/entity.pyi +2 -2
- homeassistant-stubs/components/matter/number.pyi +29 -1
- homeassistant-stubs/components/matter/select.pyi +2 -2
- homeassistant-stubs/components/matter/vacuum.pyi +2 -0
- homeassistant-stubs/components/mcp_server/server.pyi +1 -1
- homeassistant-stubs/components/mealie/const.pyi +2 -0
- homeassistant-stubs/components/mealie/services.pyi +4 -1
- homeassistant-stubs/components/media_player/const.pyi +2 -2
- homeassistant-stubs/components/media_source/const.pyi +3 -0
- homeassistant-stubs/components/media_source/local_source.pyi +1 -1
- homeassistant-stubs/components/media_source/models.pyi +6 -2
- homeassistant-stubs/components/met_eireann/__init__.pyi +2 -17
- homeassistant-stubs/components/met_eireann/coordinator.pyi +28 -0
- homeassistant-stubs/components/met_eireann/weather.pyi +1 -3
- homeassistant-stubs/components/miele/__init__.pyi +5 -0
- homeassistant-stubs/components/miele/coordinator.pyi +1 -1
- homeassistant-stubs/components/miele/entity.pyi +2 -0
- homeassistant-stubs/components/miele/sensor.pyi +7 -6
- homeassistant-stubs/components/miele/services.pyi +24 -0
- homeassistant-stubs/components/miele/vacuum.pyi +0 -2
- homeassistant-stubs/components/modem_callerid/sensor.pyi +2 -2
- homeassistant-stubs/components/mold_indicator/__init__.pyi +8 -1
- homeassistant-stubs/components/mold_indicator/config_flow.pyi +2 -0
- homeassistant-stubs/components/mold_indicator/sensor.pyi +2 -2
- homeassistant-stubs/components/mqtt/climate.pyi +1 -37
- homeassistant-stubs/components/mqtt/config_flow.pyi +38 -6
- homeassistant-stubs/components/mqtt/const.pyi +33 -2
- homeassistant-stubs/components/mqtt/repairs.pyi +15 -0
- homeassistant-stubs/components/nasweb/const.pyi +1 -0
- homeassistant-stubs/components/nasweb/coordinator.pyi +3 -1
- homeassistant-stubs/components/nasweb/sensor.pyi +54 -0
- homeassistant-stubs/components/netatmo/climate.pyi +1 -1
- homeassistant-stubs/components/netatmo/const.pyi +1 -0
- homeassistant-stubs/components/nextdns/__init__.pyi +2 -3
- homeassistant-stubs/components/nextdns/coordinator.pyi +10 -2
- homeassistant-stubs/components/nordpool/const.pyi +1 -0
- homeassistant-stubs/components/nordpool/services.pyi +5 -1
- homeassistant-stubs/components/number/const.pyi +2 -1
- homeassistant-stubs/components/nut/__init__.pyi +0 -1
- homeassistant-stubs/components/onewire/__init__.pyi +0 -1
- homeassistant-stubs/components/onewire/config_flow.pyi +2 -2
- homeassistant-stubs/components/onkyo/__init__.pyi +2 -3
- homeassistant-stubs/components/onkyo/config_flow.pyi +9 -6
- homeassistant-stubs/components/onkyo/const.pyi +7 -65
- homeassistant-stubs/components/onkyo/media_player.pyi +16 -44
- homeassistant-stubs/components/onkyo/receiver.pyi +24 -25
- homeassistant-stubs/components/onkyo/services.pyi +3 -3
- homeassistant-stubs/components/onkyo/util.pyi +3 -0
- homeassistant-stubs/components/open_router/__init__.pyi +15 -0
- homeassistant-stubs/components/open_router/ai_task.pyi +17 -0
- homeassistant-stubs/components/open_router/config_flow.pyi +30 -0
- homeassistant-stubs/components/open_router/const.pyi +8 -0
- homeassistant-stubs/components/open_router/conversation.pyi +20 -0
- homeassistant-stubs/components/open_router/entity.pyi +33 -0
- homeassistant-stubs/components/openai_conversation/__init__.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/ai_task.pyi +16 -0
- homeassistant-stubs/components/openai_conversation/config_flow.pyi +2 -3
- homeassistant-stubs/components/openai_conversation/const.pyi +9 -1
- homeassistant-stubs/components/openai_conversation/conversation.pyi +6 -22
- homeassistant-stubs/components/openai_conversation/entity.pyi +36 -0
- homeassistant-stubs/components/opower/__init__.pyi +8 -0
- homeassistant-stubs/components/opower/config_flow.pyi +25 -0
- homeassistant-stubs/components/opower/const.pyi +3 -0
- homeassistant-stubs/components/opower/coordinator.pyi +24 -0
- homeassistant-stubs/components/opower/sensor.pyi +35 -0
- homeassistant-stubs/components/pegel_online/__init__.pyi +1 -1
- homeassistant-stubs/components/pegel_online/sensor.pyi +2 -0
- homeassistant-stubs/components/pi_hole/__init__.pyi +6 -2
- homeassistant-stubs/components/pi_hole/config_flow.pyi +1 -2
- homeassistant-stubs/components/pi_hole/const.pyi +1 -0
- homeassistant-stubs/components/pi_hole/sensor.pyi +5 -0
- homeassistant-stubs/components/pi_hole/update.pyi +3 -3
- homeassistant-stubs/components/ping/__init__.pyi +0 -1
- homeassistant-stubs/components/ping/config_flow.pyi +3 -3
- homeassistant-stubs/components/plugwise/select.pyi +1 -1
- homeassistant-stubs/components/proximity/__init__.pyi +0 -1
- homeassistant-stubs/components/proximity/config_flow.pyi +3 -3
- homeassistant-stubs/components/purpleair/__init__.pyi +0 -1
- homeassistant-stubs/components/purpleair/config_flow.pyi +2 -2
- homeassistant-stubs/components/pyload/config_flow.pyi +4 -0
- homeassistant-stubs/components/recorder/pool.pyi +2 -1
- homeassistant-stubs/components/renault/__init__.pyi +1 -1
- homeassistant-stubs/components/renault/services.pyi +3 -2
- homeassistant-stubs/components/reolink/__init__.pyi +0 -1
- homeassistant-stubs/components/reolink/config_flow.pyi +2 -2
- homeassistant-stubs/components/reolink/number.pyi +1 -1
- homeassistant-stubs/components/reolink/sensor.pyi +1 -1
- homeassistant-stubs/components/rest/sensor.pyi +1 -3
- homeassistant-stubs/components/roborock/__init__.pyi +0 -1
- homeassistant-stubs/components/roborock/config_flow.pyi +2 -2
- homeassistant-stubs/components/roku/__init__.pyi +0 -1
- homeassistant-stubs/components/roku/config_flow.pyi +2 -2
- homeassistant-stubs/components/russound_rio/const.pyi +2 -0
- homeassistant-stubs/components/russound_rio/media_player.pyi +6 -0
- homeassistant-stubs/components/scrape/sensor.pyi +1 -2
- homeassistant-stubs/components/sensor/const.pyi +2 -1
- homeassistant-stubs/components/sensor/device_condition.pyi +1 -0
- homeassistant-stubs/components/sensor/device_trigger.pyi +1 -0
- homeassistant-stubs/components/shelly/button.pyi +2 -2
- homeassistant-stubs/components/shelly/climate.pyi +2 -2
- homeassistant-stubs/components/shelly/coordinator.pyi +5 -1
- homeassistant-stubs/components/shelly/entity.pyi +3 -0
- homeassistant-stubs/components/shelly/event.pyi +2 -2
- homeassistant-stubs/components/shelly/sensor.pyi +2 -2
- homeassistant-stubs/components/shelly/utils.pyi +2 -2
- homeassistant-stubs/components/sleepiq/const.pyi +2 -0
- homeassistant-stubs/components/sleepiq/number.pyi +7 -3
- homeassistant-stubs/components/sleepiq/select.pyi +15 -2
- homeassistant-stubs/components/smhi/coordinator.pyi +3 -0
- homeassistant-stubs/components/smhi/entity.pyi +3 -1
- homeassistant-stubs/components/smhi/sensor.pyi +30 -0
- homeassistant-stubs/components/smhi/weather.pyi +4 -2
- homeassistant-stubs/components/sonarr/__init__.pyi +0 -1
- homeassistant-stubs/components/sonarr/config_flow.pyi +2 -2
- homeassistant-stubs/components/speedtestdotnet/__init__.pyi +0 -1
- homeassistant-stubs/components/speedtestdotnet/config_flow.pyi +2 -2
- homeassistant-stubs/components/sql/__init__.pyi +0 -1
- homeassistant-stubs/components/sql/config_flow.pyi +2 -2
- homeassistant-stubs/components/squeezebox/__init__.pyi +3 -2
- homeassistant-stubs/components/squeezebox/const.pyi +2 -3
- homeassistant-stubs/components/squeezebox/coordinator.pyi +2 -2
- homeassistant-stubs/components/squeezebox/media_player.pyi +2 -2
- homeassistant-stubs/components/statistics/__init__.pyi +3 -1
- homeassistant-stubs/components/statistics/config_flow.pyi +1 -0
- homeassistant-stubs/components/statistics/sensor.pyi +5 -5
- homeassistant-stubs/components/stookwijzer/__init__.pyi +4 -0
- homeassistant-stubs/components/stookwijzer/const.pyi +2 -0
- homeassistant-stubs/components/stookwijzer/services.pyi +17 -0
- homeassistant-stubs/components/switch_as_x/__init__.pyi +2 -2
- homeassistant-stubs/components/switch_as_x/entity.pyi +1 -3
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +2 -0
- homeassistant-stubs/components/switchbot_cloud/const.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/fan.pyi +26 -0
- homeassistant-stubs/components/switchbot_cloud/light.pyi +40 -0
- homeassistant-stubs/components/switchbot_cloud/vacuum.pyi +17 -1
- homeassistant-stubs/components/synology_dsm/__init__.pyi +0 -1
- homeassistant-stubs/components/synology_dsm/config_flow.pyi +2 -2
- homeassistant-stubs/components/tankerkoenig/__init__.pyi +10 -0
- homeassistant-stubs/components/tankerkoenig/binary_sensor.pyi +23 -0
- homeassistant-stubs/components/tankerkoenig/config_flow.pyi +33 -0
- homeassistant-stubs/components/tankerkoenig/const.pyi +13 -0
- homeassistant-stubs/components/tankerkoenig/coordinator.pyi +22 -0
- homeassistant-stubs/components/tankerkoenig/diagnostics.pyi +10 -0
- homeassistant-stubs/components/tankerkoenig/entity.pyi +11 -0
- homeassistant-stubs/components/tankerkoenig/sensor.pyi +28 -0
- homeassistant-stubs/components/threshold/__init__.pyi +5 -1
- homeassistant-stubs/components/threshold/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/threshold/config_flow.pyi +1 -0
- homeassistant-stubs/components/time_date/config_flow.pyi +1 -2
- homeassistant-stubs/components/trafikverket_train/__init__.pyi +0 -1
- homeassistant-stubs/components/trafikverket_train/config_flow.pyi +2 -2
- homeassistant-stubs/components/trend/__init__.pyi +3 -1
- homeassistant-stubs/components/trend/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/trend/config_flow.pyi +1 -0
- homeassistant-stubs/components/tts/entity.pyi +0 -2
- homeassistant-stubs/components/unifiprotect/__init__.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/config_flow.pyi +5 -5
- homeassistant-stubs/components/unifiprotect/repairs.pyi +0 -6
- homeassistant-stubs/components/unifiprotect/services.pyi +1 -1
- homeassistant-stubs/components/uptime_kuma/__init__.pyi +14 -0
- homeassistant-stubs/components/uptime_kuma/config_flow.pyi +26 -0
- homeassistant-stubs/components/uptime_kuma/const.pyi +7 -0
- homeassistant-stubs/components/uptime_kuma/coordinator.pyi +30 -0
- homeassistant-stubs/components/uptime_kuma/diagnostics.pyi +9 -0
- homeassistant-stubs/components/uptime_kuma/sensor.pyi +46 -0
- homeassistant-stubs/components/uptime_kuma/update.pyi +39 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +7 -0
- homeassistant-stubs/components/velbus/__init__.pyi +1 -1
- homeassistant-stubs/components/velbus/const.pyi +0 -1
- homeassistant-stubs/components/velbus/services.pyi +4 -4
- homeassistant-stubs/components/vodafone_station/__init__.pyi +0 -1
- homeassistant-stubs/components/vodafone_station/config_flow.pyi +2 -2
- homeassistant-stubs/components/volvo/__init__.pyi +15 -0
- homeassistant-stubs/components/volvo/api.pyi +14 -0
- homeassistant-stubs/components/volvo/application_credentials.pyi +9 -0
- homeassistant-stubs/components/volvo/config_flow.pyi +34 -0
- homeassistant-stubs/components/volvo/const.pyi +8 -0
- homeassistant-stubs/components/volvo/coordinator.pyi +46 -0
- homeassistant-stubs/components/volvo/entity.pyi +33 -0
- homeassistant-stubs/components/volvo/sensor.pyi +35 -0
- homeassistant-stubs/components/wallbox/__init__.pyi +4 -5
- homeassistant-stubs/components/wallbox/coordinator.pyi +8 -2
- homeassistant-stubs/components/wallbox/lock.pyi +5 -4
- homeassistant-stubs/components/wallbox/number.pyi +6 -5
- homeassistant-stubs/components/wallbox/select.pyi +4 -3
- homeassistant-stubs/components/wallbox/sensor.pyi +5 -4
- homeassistant-stubs/components/wallbox/switch.pyi +5 -4
- homeassistant-stubs/components/waqi/__init__.pyi +3 -5
- homeassistant-stubs/components/waqi/coordinator.pyi +3 -2
- homeassistant-stubs/components/waqi/sensor.pyi +2 -13
- homeassistant-stubs/components/webostv/__init__.pyi +0 -1
- homeassistant-stubs/components/webostv/config_flow.pyi +3 -3
- homeassistant-stubs/components/websocket_api/commands.pyi +4 -0
- homeassistant-stubs/components/wiz/fan.pyi +34 -0
- homeassistant-stubs/components/wled/__init__.pyi +0 -1
- homeassistant-stubs/components/wled/config_flow.pyi +2 -2
- homeassistant-stubs/components/workday/__init__.pyi +0 -1
- homeassistant-stubs/components/workday/config_flow.pyi +2 -2
- homeassistant-stubs/components/yale_smart_alarm/__init__.pyi +0 -1
- homeassistant-stubs/components/yale_smart_alarm/config_flow.pyi +2 -2
- homeassistant-stubs/components/yalexs_ble/lock.pyi +14 -2
- homeassistant-stubs/components/zone/condition.pyi +22 -0
- homeassistant-stubs/components/zone/trigger.pyi +2 -1
- homeassistant-stubs/components/zwave_js/__init__.pyi +10 -9
- homeassistant-stubs/components/zwave_js/api.pyi +35 -34
- homeassistant-stubs/components/zwave_js/binary_sensor.pyi +7 -7
- homeassistant-stubs/components/zwave_js/button.pyi +5 -5
- homeassistant-stubs/components/zwave_js/climate.pyi +5 -5
- homeassistant-stubs/components/zwave_js/config_flow.pyi +4 -3
- homeassistant-stubs/components/zwave_js/const.pyi +0 -2
- homeassistant-stubs/components/zwave_js/cover.pyi +7 -7
- homeassistant-stubs/components/zwave_js/device_automation_helpers.pyi +1 -1
- homeassistant-stubs/components/zwave_js/diagnostics.pyi +5 -5
- homeassistant-stubs/components/zwave_js/event.pyi +4 -4
- homeassistant-stubs/components/zwave_js/fan.pyi +6 -6
- homeassistant-stubs/components/zwave_js/helpers.pyi +6 -5
- homeassistant-stubs/components/zwave_js/humidifier.pyi +4 -4
- homeassistant-stubs/components/zwave_js/light.pyi +15 -5
- homeassistant-stubs/components/zwave_js/lock.pyi +3 -3
- homeassistant-stubs/components/zwave_js/models.pyi +12 -0
- homeassistant-stubs/components/zwave_js/number.pyi +6 -6
- homeassistant-stubs/components/zwave_js/select.pyi +8 -8
- homeassistant-stubs/components/zwave_js/sensor.pyi +10 -10
- homeassistant-stubs/components/zwave_js/siren.pyi +4 -4
- homeassistant-stubs/components/zwave_js/switch.pyi +7 -7
- homeassistant-stubs/components/zwave_js/triggers/event.pyi +1 -2
- homeassistant-stubs/components/zwave_js/triggers/trigger_helpers.pyi +1 -1
- homeassistant-stubs/components/zwave_js/update.pyi +28 -18
- homeassistant-stubs/config.pyi +0 -2
- homeassistant-stubs/config_entries.pyi +3 -0
- homeassistant-stubs/const.pyi +2 -0
- homeassistant-stubs/core.pyi +12 -8
- homeassistant-stubs/helpers/condition.pyi +25 -6
- homeassistant-stubs/helpers/config_validation.pyi +0 -2
- homeassistant-stubs/helpers/device.pyi +2 -0
- homeassistant-stubs/helpers/device_registry.pyi +11 -6
- homeassistant-stubs/helpers/entity.pyi +3 -1
- homeassistant-stubs/helpers/entity_platform.pyi +30 -9
- homeassistant-stubs/helpers/frame.pyi +1 -1
- homeassistant-stubs/helpers/helper_integration.pyi +2 -1
- homeassistant-stubs/helpers/llm.pyi +5 -1
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +1 -0
- homeassistant-stubs/helpers/selector.pyi +42 -37
- homeassistant-stubs/helpers/service.pyi +9 -26
- homeassistant-stubs/helpers/target.pyi +59 -0
- homeassistant-stubs/helpers/trigger.pyi +3 -1
- homeassistant-stubs/helpers/trigger_template_entity.pyi +5 -1
- homeassistant-stubs/loader.pyi +2 -9
- homeassistant-stubs/runner.pyi +1 -0
- homeassistant-stubs/util/resource.pyi +7 -0
- homeassistant-stubs/util/unit_conversion.pyi +1 -1
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b1.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b1.dist-info}/RECORD +479 -411
- homeassistant-stubs/components/backup/basic_websocket.pyi +0 -12
- homeassistant-stubs/helpers/backup.pyi +0 -24
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b1.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b1.dist-info}/licenses/LICENSE +0 -0
|
@@ -84,6 +84,10 @@ class IntentTool(Tool):
|
|
|
84
84
|
def __init__(self, name: str, intent_handler: intent.IntentHandler) -> None: ...
|
|
85
85
|
async def async_call(self, hass: HomeAssistant, tool_input: ToolInput, llm_context: LLMContext) -> JsonObjectType: ...
|
|
86
86
|
|
|
87
|
+
class IntentResponseDict(dict):
|
|
88
|
+
original: Incomplete
|
|
89
|
+
def __init__(self, intent_response: Any) -> None: ...
|
|
90
|
+
|
|
87
91
|
class NamespacedTool(Tool):
|
|
88
92
|
namespace: Incomplete
|
|
89
93
|
name: Incomplete
|
|
@@ -114,7 +118,7 @@ class AssistAPI(API):
|
|
|
114
118
|
def _async_get_tools(self, llm_context: LLMContext, exposed_entities: dict | None) -> list[Tool]: ...
|
|
115
119
|
|
|
116
120
|
def _get_exposed_entities(hass: HomeAssistant, assistant: str, include_state: bool = True) -> dict[str, dict[str, dict[str, Any]]]: ...
|
|
117
|
-
def
|
|
121
|
+
def selector_serializer(schema: Any) -> Any: ...
|
|
118
122
|
def _get_cached_action_parameters(hass: HomeAssistant, domain: str, action: str) -> tuple[str | None, vol.Schema]: ...
|
|
119
123
|
|
|
120
124
|
class ActionTool(Tool):
|
|
@@ -22,6 +22,7 @@ class SchemaFlowFormStep(SchemaFlowStep):
|
|
|
22
22
|
next_step: Callable[[dict[str, Any]], Coroutine[Any, Any, str | None]] | str | None = ...
|
|
23
23
|
suggested_values: Callable[[SchemaCommonFlowHandler], Coroutine[Any, Any, dict[str, Any]]] | None | UndefinedType = ...
|
|
24
24
|
preview: str | None = ...
|
|
25
|
+
description_placeholders: Callable[[SchemaCommonFlowHandler], Coroutine[Any, Any, dict[str, str]]] | UndefinedType = ...
|
|
25
26
|
|
|
26
27
|
@dataclass(slots=True)
|
|
27
28
|
class SchemaFlowMenuStep(SchemaFlowStep):
|
|
@@ -26,7 +26,7 @@ class Selector[_T: Mapping[str, Any]]:
|
|
|
26
26
|
@cache
|
|
27
27
|
def _entity_feature_flag(domain: str, enum_name: str, feature_name: str) -> int: ...
|
|
28
28
|
def _validate_supported_feature(supported_feature: str) -> int: ...
|
|
29
|
-
def _validate_supported_features(supported_features:
|
|
29
|
+
def _validate_supported_features(supported_features: list[str]) -> int: ...
|
|
30
30
|
|
|
31
31
|
BASE_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
32
32
|
|
|
@@ -34,6 +34,7 @@ class BaseSelectorConfig(TypedDict, total=False):
|
|
|
34
34
|
read_only: bool
|
|
35
35
|
|
|
36
36
|
ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
37
|
+
LEGACY_ENTITY_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
37
38
|
|
|
38
39
|
class EntityFilterSelectorConfig(TypedDict, total=False):
|
|
39
40
|
integration: str
|
|
@@ -42,6 +43,7 @@ class EntityFilterSelectorConfig(TypedDict, total=False):
|
|
|
42
43
|
supported_features: list[str]
|
|
43
44
|
|
|
44
45
|
DEVICE_FILTER_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
46
|
+
LEGACY_DEVICE_SELECTOR_CONFIG_SCHEMA: Incomplete
|
|
45
47
|
|
|
46
48
|
class DeviceFilterSelectorConfig(TypedDict, total=False):
|
|
47
49
|
integration: str
|
|
@@ -165,23 +167,6 @@ class ConstantSelector(Selector[ConstantSelectorConfig]):
|
|
|
165
167
|
def __init__(self, config: ConstantSelectorConfig) -> None: ...
|
|
166
168
|
def __call__(self, data: Any) -> Any: ...
|
|
167
169
|
|
|
168
|
-
class QrErrorCorrectionLevel(StrEnum):
|
|
169
|
-
LOW = 'low'
|
|
170
|
-
MEDIUM = 'medium'
|
|
171
|
-
QUARTILE = 'quartile'
|
|
172
|
-
HIGH = 'high'
|
|
173
|
-
|
|
174
|
-
class QrCodeSelectorConfig(BaseSelectorConfig, total=False):
|
|
175
|
-
data: str
|
|
176
|
-
scale: int
|
|
177
|
-
error_correction_level: QrErrorCorrectionLevel
|
|
178
|
-
|
|
179
|
-
class QrCodeSelector(Selector[QrCodeSelectorConfig]):
|
|
180
|
-
selector_type: str
|
|
181
|
-
CONFIG_SCHEMA: Incomplete
|
|
182
|
-
def __init__(self, config: QrCodeSelectorConfig) -> None: ...
|
|
183
|
-
def __call__(self, data: Any) -> Any: ...
|
|
184
|
-
|
|
185
170
|
class ConversationAgentSelectorConfig(BaseSelectorConfig, total=False):
|
|
186
171
|
language: str
|
|
187
172
|
|
|
@@ -243,6 +228,7 @@ class EntitySelectorConfig(BaseSelectorConfig, EntityFilterSelectorConfig, total
|
|
|
243
228
|
exclude_entities: list[str]
|
|
244
229
|
include_entities: list[str]
|
|
245
230
|
multiple: bool
|
|
231
|
+
reorder: bool
|
|
246
232
|
filter: EntityFilterSelectorConfig | list[EntityFilterSelectorConfig]
|
|
247
233
|
|
|
248
234
|
class EntitySelector(Selector[EntitySelectorConfig]):
|
|
@@ -251,6 +237,15 @@ class EntitySelector(Selector[EntitySelectorConfig]):
|
|
|
251
237
|
def __init__(self, config: EntitySelectorConfig | None = None) -> None: ...
|
|
252
238
|
def __call__(self, data: Any) -> str | list[str]: ...
|
|
253
239
|
|
|
240
|
+
class FileSelectorConfig(BaseSelectorConfig):
|
|
241
|
+
accept: str
|
|
242
|
+
|
|
243
|
+
class FileSelector(Selector[FileSelectorConfig]):
|
|
244
|
+
selector_type: str
|
|
245
|
+
CONFIG_SCHEMA: Incomplete
|
|
246
|
+
def __init__(self, config: FileSelectorConfig) -> None: ...
|
|
247
|
+
def __call__(self, data: Any) -> str: ...
|
|
248
|
+
|
|
254
249
|
class FloorSelectorConfig(BaseSelectorConfig, total=False):
|
|
255
250
|
entity: EntityFilterSelectorConfig | list[EntityFilterSelectorConfig]
|
|
256
251
|
device: DeviceFilterSelectorConfig | list[DeviceFilterSelectorConfig]
|
|
@@ -310,7 +305,7 @@ class MediaSelector(Selector[MediaSelectorConfig]):
|
|
|
310
305
|
CONFIG_SCHEMA: Incomplete
|
|
311
306
|
DATA_SCHEMA: Incomplete
|
|
312
307
|
def __init__(self, config: MediaSelectorConfig | None = None) -> None: ...
|
|
313
|
-
def __call__(self, data: Any) -> dict[str,
|
|
308
|
+
def __call__(self, data: Any) -> dict[str, str]: ...
|
|
314
309
|
|
|
315
310
|
class NumberSelectorConfig(BaseSelectorConfig, total=False):
|
|
316
311
|
min: float
|
|
@@ -318,6 +313,7 @@ class NumberSelectorConfig(BaseSelectorConfig, total=False):
|
|
|
318
313
|
step: float | Literal['any']
|
|
319
314
|
unit_of_measurement: str
|
|
320
315
|
mode: NumberSelectorMode
|
|
316
|
+
translation_key: str
|
|
321
317
|
|
|
322
318
|
class NumberSelectorMode(StrEnum):
|
|
323
319
|
BOX = 'box'
|
|
@@ -349,6 +345,23 @@ class ObjectSelector(Selector[ObjectSelectorConfig]):
|
|
|
349
345
|
def __init__(self, config: ObjectSelectorConfig | None = None) -> None: ...
|
|
350
346
|
def __call__(self, data: Any) -> Any: ...
|
|
351
347
|
|
|
348
|
+
class QrErrorCorrectionLevel(StrEnum):
|
|
349
|
+
LOW = 'low'
|
|
350
|
+
MEDIUM = 'medium'
|
|
351
|
+
QUARTILE = 'quartile'
|
|
352
|
+
HIGH = 'high'
|
|
353
|
+
|
|
354
|
+
class QrCodeSelectorConfig(BaseSelectorConfig, total=False):
|
|
355
|
+
data: str
|
|
356
|
+
scale: int
|
|
357
|
+
error_correction_level: QrErrorCorrectionLevel
|
|
358
|
+
|
|
359
|
+
class QrCodeSelector(Selector[QrCodeSelectorConfig]):
|
|
360
|
+
selector_type: str
|
|
361
|
+
CONFIG_SCHEMA: Incomplete
|
|
362
|
+
def __init__(self, config: QrCodeSelectorConfig) -> None: ...
|
|
363
|
+
def __call__(self, data: Any) -> Any: ...
|
|
364
|
+
|
|
352
365
|
select_option: Incomplete
|
|
353
366
|
|
|
354
367
|
class SelectOptionDict(TypedDict):
|
|
@@ -373,6 +386,16 @@ class SelectSelector(Selector[SelectSelectorConfig]):
|
|
|
373
386
|
def __init__(self, config: SelectSelectorConfig) -> None: ...
|
|
374
387
|
def __call__(self, data: Any) -> Any: ...
|
|
375
388
|
|
|
389
|
+
class StateSelectorConfig(BaseSelectorConfig, total=False):
|
|
390
|
+
entity_id: str
|
|
391
|
+
hide_states: list[str]
|
|
392
|
+
|
|
393
|
+
class StateSelector(Selector[StateSelectorConfig]):
|
|
394
|
+
selector_type: str
|
|
395
|
+
CONFIG_SCHEMA: Incomplete
|
|
396
|
+
def __init__(self, config: StateSelectorConfig) -> None: ...
|
|
397
|
+
def __call__(self, data: Any) -> str: ...
|
|
398
|
+
|
|
376
399
|
class StatisticSelectorConfig(BaseSelectorConfig, total=False):
|
|
377
400
|
multiple: bool
|
|
378
401
|
|
|
@@ -386,15 +409,6 @@ class TargetSelectorConfig(BaseSelectorConfig, total=False):
|
|
|
386
409
|
entity: EntityFilterSelectorConfig | list[EntityFilterSelectorConfig]
|
|
387
410
|
device: DeviceFilterSelectorConfig | list[DeviceFilterSelectorConfig]
|
|
388
411
|
|
|
389
|
-
class StateSelectorConfig(BaseSelectorConfig, total=False):
|
|
390
|
-
entity_id: Required[str]
|
|
391
|
-
|
|
392
|
-
class StateSelector(Selector[StateSelectorConfig]):
|
|
393
|
-
selector_type: str
|
|
394
|
-
CONFIG_SCHEMA: Incomplete
|
|
395
|
-
def __init__(self, config: StateSelectorConfig) -> None: ...
|
|
396
|
-
def __call__(self, data: Any) -> str: ...
|
|
397
|
-
|
|
398
412
|
class TargetSelector(Selector[TargetSelectorConfig]):
|
|
399
413
|
selector_type: str
|
|
400
414
|
CONFIG_SCHEMA: Incomplete
|
|
@@ -462,12 +476,3 @@ class TriggerSelector(Selector[TriggerSelectorConfig]):
|
|
|
462
476
|
CONFIG_SCHEMA = BASE_SELECTOR_CONFIG_SCHEMA
|
|
463
477
|
def __init__(self, config: TriggerSelectorConfig | None = None) -> None: ...
|
|
464
478
|
def __call__(self, data: Any) -> Any: ...
|
|
465
|
-
|
|
466
|
-
class FileSelectorConfig(BaseSelectorConfig):
|
|
467
|
-
accept: str
|
|
468
|
-
|
|
469
|
-
class FileSelector(Selector[FileSelectorConfig]):
|
|
470
|
-
selector_type: str
|
|
471
|
-
CONFIG_SCHEMA: Incomplete
|
|
472
|
-
def __init__(self, config: FileSelectorConfig) -> None: ...
|
|
473
|
-
def __call__(self, data: Any) -> str: ...
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
from . import
|
|
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, translation as translation
|
|
3
|
+
from .deprecation import deprecated_class as deprecated_class, deprecated_function as deprecated_function
|
|
3
4
|
from .entity import Entity as Entity
|
|
4
|
-
from .group import expand_entity_ids as expand_entity_ids
|
|
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
8
|
from collections.abc import Callable as Callable, Coroutine, Iterable
|
|
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
|
-
from homeassistant.const import
|
|
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
|
|
12
12
|
from homeassistant.core import Context as Context, EntityServiceResponse as EntityServiceResponse, HassJob as HassJob, HassJobType as HassJobType, HomeAssistant as HomeAssistant, ServiceCall as ServiceCall, ServiceResponse as ServiceResponse, SupportsResponse as SupportsResponse, callback as callback
|
|
13
13
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, ServiceNotSupported as ServiceNotSupported, TemplateError as TemplateError, Unauthorized as Unauthorized, UnknownUser as UnknownUser
|
|
14
14
|
from homeassistant.loader import Integration as Integration, async_get_integrations as async_get_integrations, bind_hass as bind_hass
|
|
@@ -17,7 +17,7 @@ from homeassistant.util.hass_dict import HassKey as HassKey
|
|
|
17
17
|
from homeassistant.util.yaml import load_yaml_dict as load_yaml_dict
|
|
18
18
|
from homeassistant.util.yaml.loader import JSON_TYPE as JSON_TYPE
|
|
19
19
|
from types import ModuleType
|
|
20
|
-
from typing import Any,
|
|
20
|
+
from typing import Any, TypedDict, override
|
|
21
21
|
|
|
22
22
|
CONF_SERVICE_ENTITY_ID: str
|
|
23
23
|
_LOGGER: Incomplete
|
|
@@ -44,28 +44,12 @@ class ServiceParams(TypedDict):
|
|
|
44
44
|
service_data: dict[str, Any]
|
|
45
45
|
target: dict | None
|
|
46
46
|
|
|
47
|
-
class ServiceTargetSelector:
|
|
48
|
-
__slots__: Incomplete
|
|
49
|
-
entity_ids: Incomplete
|
|
50
|
-
device_ids: Incomplete
|
|
51
|
-
area_ids: Incomplete
|
|
52
|
-
floor_ids: Incomplete
|
|
53
|
-
label_ids: Incomplete
|
|
47
|
+
class ServiceTargetSelector(target_helpers.TargetSelectorData):
|
|
54
48
|
def __init__(self, service_call: ServiceCall) -> None: ...
|
|
55
|
-
@property
|
|
56
|
-
def has_any_selector(self) -> bool: ...
|
|
57
49
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
indirectly_referenced: set[str] = dataclasses.field(default_factory=set)
|
|
62
|
-
missing_devices: set[str] = dataclasses.field(default_factory=set)
|
|
63
|
-
missing_areas: set[str] = dataclasses.field(default_factory=set)
|
|
64
|
-
missing_floors: set[str] = dataclasses.field(default_factory=set)
|
|
65
|
-
missing_labels: set[str] = dataclasses.field(default_factory=set)
|
|
66
|
-
referenced_devices: set[str] = dataclasses.field(default_factory=set)
|
|
67
|
-
referenced_areas: set[str] = dataclasses.field(default_factory=set)
|
|
68
|
-
def log_missing(self, missing_entities: set[str]) -> None: ...
|
|
50
|
+
class SelectedEntities(target_helpers.SelectedEntities):
|
|
51
|
+
@override
|
|
52
|
+
def log_missing(self, missing_entities: set[str], logger: logging.Logger | None = None) -> None: ...
|
|
69
53
|
|
|
70
54
|
@bind_hass
|
|
71
55
|
def call_from_config(hass: HomeAssistant, config: ConfigType, blocking: bool = False, variables: TemplateVarsType = None, validate_config: bool = True) -> None: ...
|
|
@@ -80,7 +64,6 @@ def extract_entity_ids(hass: HomeAssistant, service_call: ServiceCall, expand_gr
|
|
|
80
64
|
async def async_extract_entities[_EntityT: Entity](hass: HomeAssistant, entities: Iterable[_EntityT], service_call: ServiceCall, expand_group: bool = True) -> list[_EntityT]: ...
|
|
81
65
|
@bind_hass
|
|
82
66
|
async def async_extract_entity_ids(hass: HomeAssistant, service_call: ServiceCall, expand_group: bool = True) -> set[str]: ...
|
|
83
|
-
def _has_match(ids: str | list[str] | None) -> TypeGuard[str | list[str]]: ...
|
|
84
67
|
@bind_hass
|
|
85
68
|
def async_extract_referenced_entity_ids(hass: HomeAssistant, service_call: ServiceCall, expand_group: bool = True) -> SelectedEntities: ...
|
|
86
69
|
@bind_hass
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import dataclasses
|
|
2
|
+
from . import group as group
|
|
3
|
+
from .event import async_track_state_change_event as async_track_state_change_event
|
|
4
|
+
from .typing import ConfigType as ConfigType
|
|
5
|
+
from _typeshed import Incomplete
|
|
6
|
+
from collections.abc import Callable as Callable
|
|
7
|
+
from homeassistant.const import ATTR_AREA_ID as ATTR_AREA_ID, ATTR_DEVICE_ID as ATTR_DEVICE_ID, ATTR_ENTITY_ID as ATTR_ENTITY_ID, ATTR_FLOOR_ID as ATTR_FLOOR_ID, ATTR_LABEL_ID as ATTR_LABEL_ID, ENTITY_MATCH_NONE as ENTITY_MATCH_NONE
|
|
8
|
+
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Event as Event, EventStateChangedData as EventStateChangedData, HomeAssistant as HomeAssistant, callback as callback
|
|
9
|
+
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
10
|
+
from logging import Logger
|
|
11
|
+
from typing import Any, TypeGuard
|
|
12
|
+
|
|
13
|
+
_LOGGER: Incomplete
|
|
14
|
+
|
|
15
|
+
@dataclasses.dataclass(slots=True, frozen=True)
|
|
16
|
+
class TargetStateChangedData:
|
|
17
|
+
state_change_event: Event[EventStateChangedData]
|
|
18
|
+
targeted_entity_ids: set[str]
|
|
19
|
+
|
|
20
|
+
def _has_match(ids: str | list[str] | None) -> TypeGuard[str | list[str]]: ...
|
|
21
|
+
|
|
22
|
+
class TargetSelectorData:
|
|
23
|
+
__slots__: Incomplete
|
|
24
|
+
entity_ids: Incomplete
|
|
25
|
+
device_ids: Incomplete
|
|
26
|
+
area_ids: Incomplete
|
|
27
|
+
floor_ids: Incomplete
|
|
28
|
+
label_ids: Incomplete
|
|
29
|
+
def __init__(self, config: ConfigType) -> None: ...
|
|
30
|
+
@property
|
|
31
|
+
def has_any_selector(self) -> bool: ...
|
|
32
|
+
|
|
33
|
+
@dataclasses.dataclass(slots=True)
|
|
34
|
+
class SelectedEntities:
|
|
35
|
+
referenced: set[str] = dataclasses.field(default_factory=set)
|
|
36
|
+
indirectly_referenced: set[str] = dataclasses.field(default_factory=set)
|
|
37
|
+
missing_devices: set[str] = dataclasses.field(default_factory=set)
|
|
38
|
+
missing_areas: set[str] = dataclasses.field(default_factory=set)
|
|
39
|
+
missing_floors: set[str] = dataclasses.field(default_factory=set)
|
|
40
|
+
missing_labels: set[str] = dataclasses.field(default_factory=set)
|
|
41
|
+
referenced_devices: set[str] = dataclasses.field(default_factory=set)
|
|
42
|
+
referenced_areas: set[str] = dataclasses.field(default_factory=set)
|
|
43
|
+
def log_missing(self, missing_entities: set[str], logger: Logger) -> None: ...
|
|
44
|
+
|
|
45
|
+
def async_extract_referenced_entity_ids(hass: HomeAssistant, selector_data: TargetSelectorData, expand_group: bool = True) -> SelectedEntities: ...
|
|
46
|
+
|
|
47
|
+
class TargetStateChangeTracker:
|
|
48
|
+
_hass: Incomplete
|
|
49
|
+
_selector_data: Incomplete
|
|
50
|
+
_action: Incomplete
|
|
51
|
+
_state_change_unsub: CALLBACK_TYPE | None
|
|
52
|
+
_registry_unsubs: list[CALLBACK_TYPE]
|
|
53
|
+
def __init__(self, hass: HomeAssistant, selector_data: TargetSelectorData, action: Callable[[TargetStateChangedData], Any]) -> None: ...
|
|
54
|
+
def async_setup(self) -> Callable[[], None]: ...
|
|
55
|
+
def _track_entities_state_change(self) -> None: ...
|
|
56
|
+
def _setup_registry_listeners(self) -> None: ...
|
|
57
|
+
def _unsubscribe(self) -> None: ...
|
|
58
|
+
|
|
59
|
+
def async_track_target_selector_state_change_event(hass: HomeAssistant, target_selector_config: ConfigType, action: Callable[[TargetStateChangedData], Any]) -> CALLBACK_TYPE: ...
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import abc
|
|
2
2
|
import voluptuous as vol
|
|
3
|
+
from . import selector as selector
|
|
3
4
|
from .integration_platform import async_process_integration_platforms as async_process_integration_platforms
|
|
5
|
+
from .selector import TargetSelector as TargetSelector
|
|
4
6
|
from .template import Template as Template
|
|
5
7
|
from .typing import ConfigType as ConfigType, TemplateVarsType as TemplateVarsType
|
|
6
8
|
from _typeshed import Incomplete
|
|
7
9
|
from collections import defaultdict
|
|
8
10
|
from collections.abc import Callable, Coroutine, Iterable
|
|
9
11
|
from dataclasses import dataclass, field
|
|
10
|
-
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_ENABLED as CONF_ENABLED, CONF_ID as CONF_ID, CONF_PLATFORM as CONF_PLATFORM, CONF_VARIABLES as CONF_VARIABLES
|
|
12
|
+
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_ENABLED as CONF_ENABLED, CONF_ID as CONF_ID, CONF_PLATFORM as CONF_PLATFORM, CONF_SELECTOR as CONF_SELECTOR, CONF_VARIABLES as CONF_VARIABLES
|
|
11
13
|
from homeassistant.core import CALLBACK_TYPE as CALLBACK_TYPE, Context as Context, HassJob as HassJob, HomeAssistant as HomeAssistant, callback as callback, is_callback as is_callback
|
|
12
14
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError
|
|
13
15
|
from homeassistant.loader import Integration as Integration, IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, async_get_integrations as async_get_integrations
|
|
@@ -3,7 +3,8 @@ from .entity import Entity as Entity
|
|
|
3
3
|
from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL, _render_with_context as _render_with_context, render_complex as render_complex, result_as_boolean as result_as_boolean
|
|
4
4
|
from .typing import ConfigType as ConfigType
|
|
5
5
|
from _typeshed import Incomplete
|
|
6
|
-
from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorEntity as SensorEntity
|
|
6
|
+
from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity
|
|
7
|
+
from homeassistant.components.sensor.helpers import async_parse_date_datetime as async_parse_date_datetime
|
|
7
8
|
from homeassistant.const import ATTR_ENTITY_PICTURE as ATTR_ENTITY_PICTURE, ATTR_FRIENDLY_NAME as ATTR_FRIENDLY_NAME, ATTR_ICON as ATTR_ICON, CONF_DEVICE_CLASS as CONF_DEVICE_CLASS, CONF_ICON as CONF_ICON, CONF_NAME as CONF_NAME, CONF_UNIQUE_ID as CONF_UNIQUE_ID, CONF_UNIT_OF_MEASUREMENT as CONF_UNIT_OF_MEASUREMENT
|
|
8
9
|
from homeassistant.core import HomeAssistant as HomeAssistant, State as State, callback as callback
|
|
9
10
|
from homeassistant.exceptions import TemplateError as TemplateError
|
|
@@ -74,3 +75,6 @@ class ManualTriggerSensorEntity(ManualTriggerEntity, SensorEntity):
|
|
|
74
75
|
_attr_native_unit_of_measurement: Incomplete
|
|
75
76
|
_attr_state_class: Incomplete
|
|
76
77
|
def __init__(self, hass: HomeAssistant, config: ConfigType) -> None: ...
|
|
78
|
+
_attr_native_value: Incomplete
|
|
79
|
+
@callback
|
|
80
|
+
def _set_native_value_with_possible_timestamp(self, value: Any) -> None: ...
|
homeassistant-stubs/loader.pyi
CHANGED
|
@@ -198,6 +198,8 @@ class Integration:
|
|
|
198
198
|
@cached_property
|
|
199
199
|
def import_executor(self) -> bool: ...
|
|
200
200
|
@cached_property
|
|
201
|
+
def has_conditions(self) -> bool: ...
|
|
202
|
+
@cached_property
|
|
201
203
|
def has_services(self) -> bool: ...
|
|
202
204
|
@cached_property
|
|
203
205
|
def has_translations(self) -> bool: ...
|
|
@@ -279,17 +281,8 @@ class CircularDependency(LoaderError):
|
|
|
279
281
|
def __init__(self, domain_cycle: list[str]) -> None: ...
|
|
280
282
|
def extend_cycle(self, domain: str) -> None: ...
|
|
281
283
|
|
|
282
|
-
def _load_file(hass: HomeAssistant, comp_or_platform: str, base_paths: list[str]) -> ComponentProtocol | None: ...
|
|
283
|
-
|
|
284
|
-
class ModuleWrapper:
|
|
285
|
-
_hass: Incomplete
|
|
286
|
-
_module: Incomplete
|
|
287
|
-
def __init__(self, hass: HomeAssistant, module: ComponentProtocol) -> None: ...
|
|
288
|
-
def __getattr__(self, attr: str) -> Any: ...
|
|
289
|
-
|
|
290
284
|
def bind_hass[_CallableT: Callable[..., Any]](func: _CallableT) -> _CallableT: ...
|
|
291
285
|
def _async_mount_config_dir(hass: HomeAssistant) -> None: ...
|
|
292
|
-
def _lookup_path(hass: HomeAssistant) -> list[str]: ...
|
|
293
286
|
def is_component_module_loaded(hass: HomeAssistant, module: str) -> bool: ...
|
|
294
287
|
@callback
|
|
295
288
|
def async_get_issue_integration(hass: HomeAssistant | None, integration_domain: str | None) -> Integration | None: ...
|
homeassistant-stubs/runner.pyi
CHANGED
|
@@ -4,6 +4,7 @@ from . import bootstrap as bootstrap
|
|
|
4
4
|
from .core import callback as callback
|
|
5
5
|
from .helpers.frame import warn_use as warn_use
|
|
6
6
|
from .util.executor import InterruptibleThreadPoolExecutor as InterruptibleThreadPoolExecutor
|
|
7
|
+
from .util.resource import set_open_file_descriptor_limit as set_open_file_descriptor_limit
|
|
7
8
|
from .util.thread import deadlock_safe_shutdown as deadlock_safe_shutdown
|
|
8
9
|
from _typeshed import Incomplete
|
|
9
10
|
from typing import Any
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from _typeshed import Incomplete
|
|
2
2
|
from collections.abc import Callable as Callable
|
|
3
3
|
from functools import lru_cache
|
|
4
|
-
from homeassistant.const import CONCENTRATION_MICROGRAMS_PER_CUBIC_METER as CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER as CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_BILLION as CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE as PERCENTAGE, UNIT_NOT_RECOGNIZED_TEMPLATE as UNIT_NOT_RECOGNIZED_TEMPLATE, UnitOfArea as UnitOfArea, UnitOfBloodGlucoseConcentration as UnitOfBloodGlucoseConcentration, UnitOfConductivity as UnitOfConductivity, UnitOfDataRate as UnitOfDataRate, UnitOfElectricCurrent as UnitOfElectricCurrent, UnitOfElectricPotential as UnitOfElectricPotential, UnitOfEnergy as UnitOfEnergy, UnitOfEnergyDistance as UnitOfEnergyDistance, UnitOfInformation as UnitOfInformation, UnitOfLength as UnitOfLength, UnitOfMass as UnitOfMass, UnitOfPower as UnitOfPower, UnitOfPressure as UnitOfPressure, UnitOfReactiveEnergy as UnitOfReactiveEnergy, UnitOfSpeed as UnitOfSpeed, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime, UnitOfVolume as UnitOfVolume, UnitOfVolumeFlowRate as UnitOfVolumeFlowRate, UnitOfVolumetricFlux as UnitOfVolumetricFlux
|
|
4
|
+
from homeassistant.const import CONCENTRATION_GRAMS_PER_CUBIC_METER as CONCENTRATION_GRAMS_PER_CUBIC_METER, CONCENTRATION_MICROGRAMS_PER_CUBIC_METER as CONCENTRATION_MICROGRAMS_PER_CUBIC_METER, CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER as CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER, CONCENTRATION_PARTS_PER_BILLION as CONCENTRATION_PARTS_PER_BILLION, CONCENTRATION_PARTS_PER_MILLION as CONCENTRATION_PARTS_PER_MILLION, PERCENTAGE as PERCENTAGE, UNIT_NOT_RECOGNIZED_TEMPLATE as UNIT_NOT_RECOGNIZED_TEMPLATE, UnitOfArea as UnitOfArea, UnitOfBloodGlucoseConcentration as UnitOfBloodGlucoseConcentration, UnitOfConductivity as UnitOfConductivity, UnitOfDataRate as UnitOfDataRate, UnitOfElectricCurrent as UnitOfElectricCurrent, UnitOfElectricPotential as UnitOfElectricPotential, UnitOfEnergy as UnitOfEnergy, UnitOfEnergyDistance as UnitOfEnergyDistance, UnitOfInformation as UnitOfInformation, UnitOfLength as UnitOfLength, UnitOfMass as UnitOfMass, UnitOfPower as UnitOfPower, UnitOfPressure as UnitOfPressure, UnitOfReactiveEnergy as UnitOfReactiveEnergy, UnitOfSpeed as UnitOfSpeed, UnitOfTemperature as UnitOfTemperature, UnitOfTime as UnitOfTime, UnitOfVolume as UnitOfVolume, UnitOfVolumeFlowRate as UnitOfVolumeFlowRate, UnitOfVolumetricFlux as UnitOfVolumetricFlux
|
|
5
5
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError
|
|
6
6
|
|
|
7
7
|
_MM_TO_M: float
|
{homeassistant_stubs-2025.7.4.dist-info → homeassistant_stubs-2025.8.0b1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: homeassistant-stubs
|
|
3
|
-
Version: 2025.
|
|
3
|
+
Version: 2025.8.0b1
|
|
4
4
|
Summary: PEP 484 typing stubs for Home Assistant Core
|
|
5
5
|
Project-URL: Homepage, https://github.com/KapJI/homeassistant-stubs
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/KapJI/homeassistant-stubs/issues
|
|
@@ -18,7 +18,7 @@ Classifier: Topic :: Home Automation
|
|
|
18
18
|
Classifier: Topic :: Software Development
|
|
19
19
|
Classifier: Typing :: Typed
|
|
20
20
|
Requires-Python: >=3.13.2
|
|
21
|
-
Requires-Dist: homeassistant==2025.
|
|
21
|
+
Requires-Dist: homeassistant==2025.8.0b1
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|