homeassistant-stubs 2025.6.3__py3-none-any.whl → 2025.7.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/bootstrap.pyi +1 -1
- homeassistant-stubs/components/abode/__init__.pyi +3 -12
- homeassistant-stubs/components/abode/services.pyi +20 -0
- homeassistant-stubs/components/adax/sensor.pyi +29 -0
- homeassistant-stubs/components/airly/config_flow.pyi +1 -1
- homeassistant-stubs/components/airthings/__init__.pyi +3 -5
- homeassistant-stubs/components/airthings/coordinator.pyi +13 -0
- homeassistant-stubs/components/airthings/sensor.pyi +5 -4
- homeassistant-stubs/components/alexa_devices/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/alexa_devices/sensor.pyi +29 -0
- homeassistant-stubs/components/altruist/__init__.pyi +9 -0
- homeassistant-stubs/components/altruist/config_flow.pyi +15 -0
- homeassistant-stubs/components/altruist/const.pyi +2 -0
- homeassistant-stubs/components/altruist/coordinator.pyi +19 -0
- homeassistant-stubs/components/altruist/sensor.pyi +34 -0
- homeassistant-stubs/components/amcrest/__init__.pyi +4 -7
- homeassistant-stubs/components/amcrest/services.pyi +13 -0
- homeassistant-stubs/components/analytics/analytics.pyi +3 -1
- homeassistant-stubs/components/android_ip_webcam/camera.pyi +4 -0
- homeassistant-stubs/components/apcupsd/sensor.pyi +1 -1
- homeassistant-stubs/components/assist_satellite/__init__.pyi +2 -2
- homeassistant-stubs/components/assist_satellite/entity.pyi +13 -1
- homeassistant-stubs/components/axis/hub/hub.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +0 -2
- homeassistant-stubs/components/camera/webrtc.pyi +1 -0
- homeassistant-stubs/components/climate/__init__.pyi +0 -2
- homeassistant-stubs/components/command_line/notify.pyi +1 -2
- homeassistant-stubs/components/command_line/sensor.pyi +1 -2
- homeassistant-stubs/components/command_line/utils.pyi +5 -2
- homeassistant-stubs/components/deconz/logbook.pyi +1 -1
- homeassistant-stubs/components/derivative/config_flow.pyi +1 -1
- homeassistant-stubs/components/derivative/const.pyi +1 -0
- homeassistant-stubs/components/derivative/sensor.pyi +9 -4
- homeassistant-stubs/components/device_automation/condition.pyi +17 -4
- homeassistant-stubs/components/devolo_home_control/__init__.pyi +3 -2
- homeassistant-stubs/components/devolo_home_control/climate.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/const.pyi +0 -1
- homeassistant-stubs/components/devolo_home_control/cover.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/entity.pyi +6 -0
- homeassistant-stubs/components/devolo_home_control/light.pyi +1 -1
- homeassistant-stubs/components/devolo_home_control/siren.pyi +1 -1
- homeassistant-stubs/components/devolo_home_network/device_tracker.pyi +2 -0
- homeassistant-stubs/components/dnsip/sensor.pyi +3 -2
- homeassistant-stubs/components/downloader/__init__.pyi +1 -1
- homeassistant-stubs/components/downloader/services.pyi +3 -2
- homeassistant-stubs/components/ecovacs/binary_sensor.pyi +4 -4
- homeassistant-stubs/components/ecovacs/entity.pyi +9 -12
- homeassistant-stubs/components/ecovacs/number.pyi +4 -4
- homeassistant-stubs/components/ecovacs/select.pyi +5 -4
- homeassistant-stubs/components/ecovacs/sensor.pyi +3 -3
- homeassistant-stubs/components/eheimdigital/number.pyi +8 -9
- homeassistant-stubs/components/eheimdigital/select.pyi +8 -9
- homeassistant-stubs/components/eheimdigital/sensor.pyi +7 -8
- homeassistant-stubs/components/eheimdigital/time.pyi +8 -9
- homeassistant-stubs/components/elkm1/__init__.pyi +4 -9
- homeassistant-stubs/components/elkm1/services.pyi +21 -0
- homeassistant-stubs/components/enphase_envoy/__init__.pyi +2 -2
- homeassistant-stubs/components/enphase_envoy/config_flow.pyi +1 -1
- homeassistant-stubs/components/enphase_envoy/diagnostics.pyi +1 -0
- homeassistant-stubs/components/enphase_envoy/sensor.pyi +1 -1
- homeassistant-stubs/components/eq3btsmart/climate.pyi +6 -8
- homeassistant-stubs/components/eq3btsmart/const.pyi +3 -2
- homeassistant-stubs/components/eq3btsmart/entity.pyi +5 -1
- homeassistant-stubs/components/eq3btsmart/number.pyi +3 -3
- homeassistant-stubs/components/eq3btsmart/switch.pyi +5 -3
- homeassistant-stubs/components/esphome/entity.pyi +2 -1
- homeassistant-stubs/components/esphome/entry_data.pyi +3 -0
- homeassistant-stubs/components/evohome/water_heater.pyi +1 -1
- homeassistant-stubs/components/fritz/binary_sensor.pyi +2 -1
- homeassistant-stubs/components/fritz/button.pyi +3 -1
- homeassistant-stubs/components/fritz/coordinator.pyi +8 -82
- homeassistant-stubs/components/fritz/device_tracker.pyi +3 -1
- homeassistant-stubs/components/fritz/entity.pyi +2 -1
- homeassistant-stubs/components/fritz/helpers.pyi +9 -0
- homeassistant-stubs/components/fritz/models.pyi +78 -0
- homeassistant-stubs/components/fritz/sensor.pyi +2 -1
- homeassistant-stubs/components/fritz/services.pyi +3 -2
- homeassistant-stubs/components/fritz/switch.pyi +3 -1
- homeassistant-stubs/components/fully_kiosk/services.pyi +7 -2
- homeassistant-stubs/components/go2rtc/__init__.pyi +10 -4
- homeassistant-stubs/components/google/__init__.pyi +3 -9
- homeassistant-stubs/components/google_assistant_sdk/__init__.pyi +3 -7
- homeassistant-stubs/components/google_assistant_sdk/services.pyi +13 -0
- homeassistant-stubs/components/google_photos/services.pyi +4 -2
- homeassistant-stubs/components/google_sheets/__init__.pyi +7 -10
- homeassistant-stubs/components/google_sheets/services.pyi +18 -0
- homeassistant-stubs/components/group/sensor.pyi +1 -1
- homeassistant-stubs/components/habitica/services.pyi +8 -1
- homeassistant-stubs/components/here_travel_time/model.pyi +2 -1
- homeassistant-stubs/components/home_connect/diagnostics.pyi +2 -0
- homeassistant-stubs/components/homeassistant/__init__.pyi +2 -3
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +7 -7
- homeassistant-stubs/components/homeassistant_hardware/update.pyi +2 -6
- homeassistant-stubs/components/homeassistant_hardware/util.pyi +3 -1
- homeassistant-stubs/components/homeassistant_sky_connect/config_flow.pyi +9 -5
- homeassistant-stubs/components/homeassistant_yellow/config_flow.pyi +12 -5
- homeassistant-stubs/components/homee/config_flow.pyi +1 -0
- homeassistant-stubs/components/homee/diagnostics.pyi +12 -0
- homeassistant-stubs/components/homee/entity.pyi +3 -2
- homeassistant-stubs/components/homee/event.pyi +8 -4
- homeassistant-stubs/components/homee/siren.pyi +19 -0
- homeassistant-stubs/components/homewizard/select.pyi +35 -0
- homeassistant-stubs/components/immich/coordinator.pyi +2 -1
- homeassistant-stubs/components/immich/update.pyi +21 -0
- homeassistant-stubs/components/isy994/__init__.pyi +3 -1
- homeassistant-stubs/components/isy994/services.pyi +0 -2
- homeassistant-stubs/components/jewish_calendar/__init__.pyi +1 -1
- homeassistant-stubs/components/jewish_calendar/{service.pyi → services.pyi} +2 -1
- homeassistant-stubs/components/kaleidescape/__init__.pyi +4 -4
- homeassistant-stubs/components/kaleidescape/media_player.pyi +2 -3
- homeassistant-stubs/components/kaleidescape/remote.pyi +2 -3
- homeassistant-stubs/components/kaleidescape/sensor.pyi +2 -3
- homeassistant-stubs/components/lacrosse_view/__init__.pyi +3 -5
- homeassistant-stubs/components/lacrosse_view/coordinator.pyi +3 -2
- homeassistant-stubs/components/lacrosse_view/diagnostics.pyi +2 -4
- homeassistant-stubs/components/lacrosse_view/sensor.pyi +2 -2
- homeassistant-stubs/components/lametric/__init__.pyi +3 -4
- homeassistant-stubs/components/lametric/button.pyi +2 -4
- homeassistant-stubs/components/lametric/coordinator.pyi +3 -2
- homeassistant-stubs/components/lametric/diagnostics.pyi +2 -4
- homeassistant-stubs/components/lametric/entity.pyi +1 -1
- homeassistant-stubs/components/lametric/helpers.pyi +1 -1
- homeassistant-stubs/components/lametric/notify.pyi +2 -2
- homeassistant-stubs/components/lametric/number.pyi +2 -4
- homeassistant-stubs/components/lametric/select.pyi +2 -4
- homeassistant-stubs/components/lametric/sensor.pyi +2 -4
- homeassistant-stubs/components/lametric/switch.pyi +2 -4
- homeassistant-stubs/components/lametric/update.pyi +17 -0
- homeassistant-stubs/components/laundrify/__init__.pyi +4 -6
- homeassistant-stubs/components/laundrify/binary_sensor.pyi +2 -3
- homeassistant-stubs/components/laundrify/coordinator.pyi +1 -0
- homeassistant-stubs/components/laundrify/sensor.pyi +2 -3
- homeassistant-stubs/components/lcn/__init__.pyi +9 -10
- homeassistant-stubs/components/lcn/binary_sensor.pyi +9 -8
- homeassistant-stubs/components/lcn/climate.pyi +5 -6
- homeassistant-stubs/components/lcn/const.pyi +0 -4
- homeassistant-stubs/components/lcn/cover.pyi +6 -7
- homeassistant-stubs/components/lcn/entity.pyi +2 -3
- homeassistant-stubs/components/lcn/helpers.pyi +15 -5
- homeassistant-stubs/components/lcn/light.pyi +6 -7
- homeassistant-stubs/components/lcn/scene.pyi +5 -5
- homeassistant-stubs/components/lcn/sensor.pyi +7 -7
- homeassistant-stubs/components/lcn/services.pyi +5 -4
- homeassistant-stubs/components/lcn/switch.pyi +8 -9
- homeassistant-stubs/components/lcn/websocket.pyi +12 -13
- homeassistant-stubs/components/ld2410_ble/__init__.pyi +4 -6
- homeassistant-stubs/components/ld2410_ble/binary_sensor.pyi +2 -4
- homeassistant-stubs/components/ld2410_ble/coordinator.pyi +3 -3
- homeassistant-stubs/components/ld2410_ble/models.pyi +2 -0
- homeassistant-stubs/components/ld2410_ble/sensor.pyi +4 -5
- homeassistant-stubs/components/led_ble/__init__.pyi +5 -6
- homeassistant-stubs/components/led_ble/light.pyi +3 -4
- homeassistant-stubs/components/led_ble/models.pyi +2 -0
- homeassistant-stubs/components/lifx/__init__.pyi +4 -5
- homeassistant-stubs/components/lifx/binary_sensor.pyi +3 -4
- homeassistant-stubs/components/lifx/button.pyi +3 -4
- homeassistant-stubs/components/lifx/const.pyi +3 -1
- homeassistant-stubs/components/lifx/coordinator.pyi +3 -2
- homeassistant-stubs/components/lifx/diagnostics.pyi +3 -4
- homeassistant-stubs/components/lifx/light.pyi +3 -4
- homeassistant-stubs/components/lifx/manager.pyi +2 -2
- homeassistant-stubs/components/lifx/migration.pyi +3 -3
- homeassistant-stubs/components/lifx/select.pyi +3 -4
- homeassistant-stubs/components/lifx/sensor.pyi +3 -4
- homeassistant-stubs/components/lifx/util.pyi +3 -3
- homeassistant-stubs/components/linear_garage_door/__init__.pyi +4 -5
- homeassistant-stubs/components/linear_garage_door/coordinator.pyi +3 -2
- homeassistant-stubs/components/linear_garage_door/cover.pyi +2 -4
- homeassistant-stubs/components/linear_garage_door/diagnostics.pyi +2 -4
- homeassistant-stubs/components/linear_garage_door/light.pyi +2 -4
- homeassistant-stubs/components/lookin/__init__.pyi +4 -5
- homeassistant-stubs/components/lookin/climate.pyi +3 -4
- homeassistant-stubs/components/lookin/coordinator.pyi +3 -3
- homeassistant-stubs/components/lookin/light.pyi +3 -4
- homeassistant-stubs/components/lookin/media_player.pyi +3 -4
- homeassistant-stubs/components/lookin/models.pyi +2 -0
- homeassistant-stubs/components/lookin/sensor.pyi +2 -4
- homeassistant-stubs/components/luftdaten/__init__.pyi +4 -6
- homeassistant-stubs/components/luftdaten/coordinator.pyi +15 -0
- homeassistant-stubs/components/luftdaten/diagnostics.pyi +3 -4
- homeassistant-stubs/components/luftdaten/sensor.pyi +4 -4
- homeassistant-stubs/components/matrix/__init__.pyi +2 -7
- homeassistant-stubs/components/matrix/const.pyi +3 -0
- homeassistant-stubs/components/matrix/services.pyi +12 -0
- homeassistant-stubs/components/matter/sensor.pyi +7 -2
- homeassistant-stubs/components/matter/vacuum.pyi +4 -4
- homeassistant-stubs/components/mealie/__init__.pyi +1 -1
- homeassistant-stubs/components/mealie/services.pyi +9 -3
- homeassistant-stubs/components/media_player/__init__.pyi +0 -2
- homeassistant-stubs/components/media_player/intent.pyi +1 -1
- homeassistant-stubs/components/miele/const.pyi +24 -0
- homeassistant-stubs/components/miele/sensor.pyi +1 -2
- homeassistant-stubs/components/mqtt/config_flow.pyi +4 -1
- homeassistant-stubs/components/mqtt/sensor.pyi +1 -4
- homeassistant-stubs/components/music_assistant/__init__.pyi +5 -1
- homeassistant-stubs/components/music_assistant/button.pyi +17 -0
- homeassistant-stubs/components/music_assistant/helpers.pyi +5 -0
- homeassistant-stubs/components/music_assistant/media_player.pyi +4 -4
- homeassistant-stubs/components/nextdns/binary_sensor.pyi +6 -12
- homeassistant-stubs/components/nextdns/button.pyi +2 -9
- homeassistant-stubs/components/nextdns/coordinator.pyi +2 -7
- homeassistant-stubs/components/nextdns/entity.pyi +14 -0
- homeassistant-stubs/components/nextdns/sensor.pyi +8 -15
- homeassistant-stubs/components/nextdns/switch.pyi +3 -6
- homeassistant-stubs/components/nfandroidtv/__init__.pyi +0 -1
- homeassistant-stubs/components/nfandroidtv/notify.pyi +5 -4
- homeassistant-stubs/components/nordpool/services.pyi +2 -1
- homeassistant-stubs/components/ntfy/__init__.pyi +1 -3
- homeassistant-stubs/components/ntfy/config_flow.pyi +3 -0
- homeassistant-stubs/components/ntfy/coordinator.pyi +16 -0
- homeassistant-stubs/components/ntfy/notify.pyi +1 -1
- homeassistant-stubs/components/ntfy/sensor.pyi +56 -0
- homeassistant-stubs/components/ohme/services.pyi +2 -1
- homeassistant-stubs/components/onedrive/__init__.pyi +1 -1
- homeassistant-stubs/components/onedrive/services.pyi +3 -2
- homeassistant-stubs/components/onewire/binary_sensor.pyi +3 -2
- homeassistant-stubs/components/onewire/const.pyi +0 -1
- homeassistant-stubs/components/onewire/entity.pyi +2 -3
- homeassistant-stubs/components/onewire/switch.pyi +3 -2
- homeassistant-stubs/components/onkyo/__init__.pyi +1 -1
- homeassistant-stubs/components/onkyo/services.pyi +3 -2
- homeassistant-stubs/components/openai_conversation/__init__.pyi +2 -1
- homeassistant-stubs/components/openai_conversation/config_flow.pyi +18 -14
- homeassistant-stubs/components/openai_conversation/const.pyi +1 -0
- homeassistant-stubs/components/openai_conversation/conversation.pyi +4 -4
- homeassistant-stubs/components/overseerr/__init__.pyi +1 -1
- homeassistant-stubs/components/overseerr/services.pyi +6 -4
- homeassistant-stubs/components/paperless_ngx/__init__.pyi +1 -1
- homeassistant-stubs/components/paperless_ngx/config_flow.pyi +2 -2
- homeassistant-stubs/components/paperless_ngx/coordinator.pyi +3 -5
- homeassistant-stubs/components/paperless_ngx/entity.pyi +2 -5
- homeassistant-stubs/components/paperless_ngx/sensor.pyi +8 -8
- homeassistant-stubs/components/paperless_ngx/update.pyi +25 -0
- homeassistant-stubs/components/plugwise/climate.pyi +0 -1
- homeassistant-stubs/components/qbus/climate.pyi +3 -2
- homeassistant-stubs/components/qbus/cover.pyi +39 -0
- homeassistant-stubs/components/qbus/entity.pyi +7 -3
- homeassistant-stubs/components/qbus/light.pyi +4 -3
- homeassistant-stubs/components/qbus/scene.pyi +2 -2
- homeassistant-stubs/components/qbus/switch.pyi +3 -2
- homeassistant-stubs/components/recorder/__init__.pyi +1 -1
- homeassistant-stubs/components/recorder/services.pyi +7 -12
- homeassistant-stubs/components/reolink/__init__.pyi +1 -1
- homeassistant-stubs/components/reolink/config_flow.pyi +1 -1
- homeassistant-stubs/components/reolink/const.pyi +1 -0
- homeassistant-stubs/components/reolink/entity.pyi +1 -1
- homeassistant-stubs/components/reolink/host.pyi +1 -1
- homeassistant-stubs/components/reolink/services.pyi +2 -0
- homeassistant-stubs/components/rest/data.pyi +7 -6
- homeassistant-stubs/components/russound_rio/__init__.pyi +1 -0
- homeassistant-stubs/components/russound_rio/entity.pyi +6 -2
- homeassistant-stubs/components/russound_rio/media_player.pyi +1 -5
- homeassistant-stubs/components/russound_rio/number.pyi +30 -0
- homeassistant-stubs/components/russound_rio/switch.pyi +33 -0
- homeassistant-stubs/components/shopping_list/__init__.pyi +1 -0
- homeassistant-stubs/components/shopping_list/intent.pyi +9 -1
- homeassistant-stubs/components/squeezebox/button.pyi +0 -2
- homeassistant-stubs/components/squeezebox/entity.pyi +2 -0
- homeassistant-stubs/components/squeezebox/media_player.pyi +0 -2
- homeassistant-stubs/components/sun/__init__.pyi +1 -0
- homeassistant-stubs/components/sun/binary_sensor.pyi +36 -0
- homeassistant-stubs/components/sun/condition.pyi +13 -3
- homeassistant-stubs/components/sun/sensor.pyi +2 -0
- homeassistant-stubs/components/switch/light.pyi +1 -0
- homeassistant-stubs/components/switch_as_x/entity.pyi +1 -0
- homeassistant-stubs/components/synology_dsm/__init__.pyi +4 -1
- homeassistant-stubs/components/synology_dsm/{service.pyi → services.pyi} +4 -2
- homeassistant-stubs/components/tedee/binary_sensor.pyi +4 -0
- homeassistant-stubs/components/telegram_bot/__init__.pyi +34 -0
- homeassistant-stubs/components/telegram_bot/bot.pyi +63 -0
- homeassistant-stubs/components/telegram_bot/broadcast.pyi +5 -0
- homeassistant-stubs/components/telegram_bot/config_flow.pyi +53 -0
- homeassistant-stubs/components/telegram_bot/const.pyi +92 -0
- homeassistant-stubs/components/telegram_bot/polling.pyi +19 -0
- homeassistant-stubs/components/telegram_bot/webhooks.pyi +47 -0
- homeassistant-stubs/components/tplink/climate.pyi +1 -2
- homeassistant-stubs/components/trend/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/tts/entity.pyi +1 -2
- homeassistant-stubs/components/unifi/button.pyi +5 -5
- homeassistant-stubs/components/unifi/device_tracker.pyi +5 -5
- homeassistant-stubs/components/unifi/entity.pyi +5 -8
- homeassistant-stubs/components/unifi/hub/hub.pyi +1 -1
- homeassistant-stubs/components/unifi/image.pyi +5 -5
- homeassistant-stubs/components/unifi/sensor.pyi +5 -5
- homeassistant-stubs/components/unifi/switch.pyi +7 -7
- homeassistant-stubs/components/unifi/update.pyi +3 -5
- homeassistant-stubs/components/unifiprotect/services.pyi +1 -0
- homeassistant-stubs/components/vacuum/__init__.pyi +0 -2
- homeassistant-stubs/components/websocket_api/commands.pyi +6 -3
- homeassistant-stubs/components/websocket_api/messages.pyi +1 -0
- homeassistant-stubs/components/wiz/__init__.pyi +3 -3
- homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
- homeassistant-stubs/components/zwave_js/api.pyi +2 -2
- homeassistant-stubs/components/zwave_js/device_trigger.pyi +0 -1
- homeassistant-stubs/components/zwave_js/services.pyi +2 -0
- homeassistant-stubs/components/zwave_js/trigger.pyi +3 -7
- homeassistant-stubs/components/zwave_js/triggers/event.pyi +9 -1
- homeassistant-stubs/components/zwave_js/triggers/value_updated.pyi +9 -1
- homeassistant-stubs/const.pyi +1 -0
- homeassistant-stubs/helpers/condition.pyi +11 -3
- homeassistant-stubs/helpers/device_registry.pyi +5 -1
- homeassistant-stubs/helpers/entity.pyi +1 -4
- homeassistant-stubs/helpers/entity_registry.pyi +11 -1
- homeassistant-stubs/helpers/llm.pyi +0 -1
- homeassistant-stubs/helpers/selector.pyi +24 -4
- homeassistant-stubs/helpers/system_info.pyi +2 -0
- homeassistant-stubs/helpers/template.pyi +2 -1
- homeassistant-stubs/helpers/trigger.pyi +33 -2
- homeassistant-stubs/loader.pyi +3 -1
- homeassistant-stubs/util/timeout.pyi +6 -3
- homeassistant-stubs/util/yaml/loader.pyi +3 -1
- {homeassistant_stubs-2025.6.3.dist-info → homeassistant_stubs-2025.7.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.6.3.dist-info → homeassistant_stubs-2025.7.0b0.dist-info}/RECORD +315 -279
- homeassistant-stubs/backports/enum.pyi +0 -7
- homeassistant-stubs/backports/functools.pyi +0 -7
- homeassistant-stubs/components/devolo_home_control/devolo_multi_level_switch.pyi +0 -10
- {homeassistant_stubs-2025.6.3.dist-info → homeassistant_stubs-2025.7.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.6.3.dist-info → homeassistant_stubs-2025.7.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -302,11 +302,12 @@ class LocationSelector(Selector[LocationSelectorConfig]):
|
|
302
302
|
def __init__(self, config: LocationSelectorConfig | None = None) -> None: ...
|
303
303
|
def __call__(self, data: Any) -> dict[str, float]: ...
|
304
304
|
|
305
|
-
class MediaSelectorConfig(BaseSelectorConfig):
|
305
|
+
class MediaSelectorConfig(BaseSelectorConfig, total=False):
|
306
|
+
accept: list[str]
|
306
307
|
|
307
308
|
class MediaSelector(Selector[MediaSelectorConfig]):
|
308
309
|
selector_type: str
|
309
|
-
CONFIG_SCHEMA
|
310
|
+
CONFIG_SCHEMA: Incomplete
|
310
311
|
DATA_SCHEMA: Incomplete
|
311
312
|
def __init__(self, config: MediaSelectorConfig | None = None) -> None: ...
|
312
313
|
def __call__(self, data: Any) -> dict[str, float]: ...
|
@@ -330,11 +331,21 @@ class NumberSelector(Selector[NumberSelectorConfig]):
|
|
330
331
|
def __init__(self, config: NumberSelectorConfig | None = None) -> None: ...
|
331
332
|
def __call__(self, data: Any) -> float: ...
|
332
333
|
|
333
|
-
class
|
334
|
+
class ObjectSelectorField(TypedDict):
|
335
|
+
label: str
|
336
|
+
required: bool
|
337
|
+
selector: dict[str, Any]
|
338
|
+
|
339
|
+
class ObjectSelectorConfig(BaseSelectorConfig):
|
340
|
+
fields: dict[str, ObjectSelectorField]
|
341
|
+
multiple: bool
|
342
|
+
label_field: str
|
343
|
+
description_field: bool
|
344
|
+
translation_key: str
|
334
345
|
|
335
346
|
class ObjectSelector(Selector[ObjectSelectorConfig]):
|
336
347
|
selector_type: str
|
337
|
-
CONFIG_SCHEMA
|
348
|
+
CONFIG_SCHEMA: Incomplete
|
338
349
|
def __init__(self, config: ObjectSelectorConfig | None = None) -> None: ...
|
339
350
|
def __call__(self, data: Any) -> Any: ...
|
340
351
|
|
@@ -362,6 +373,15 @@ class SelectSelector(Selector[SelectSelectorConfig]):
|
|
362
373
|
def __init__(self, config: SelectSelectorConfig) -> None: ...
|
363
374
|
def __call__(self, data: Any) -> Any: ...
|
364
375
|
|
376
|
+
class StatisticSelectorConfig(BaseSelectorConfig, total=False):
|
377
|
+
multiple: bool
|
378
|
+
|
379
|
+
class StatisticSelector(Selector[StatisticSelectorConfig]):
|
380
|
+
selector_type: str
|
381
|
+
CONFIG_SCHEMA: Incomplete
|
382
|
+
def __init__(self, config: StatisticSelectorConfig | None = None) -> None: ...
|
383
|
+
def __call__(self, data: Any) -> str | list[str]: ...
|
384
|
+
|
365
385
|
class TargetSelectorConfig(BaseSelectorConfig, total=False):
|
366
386
|
entity: EntityFilterSelectorConfig | list[EntityFilterSelectorConfig]
|
367
387
|
device: DeviceFilterSelectorConfig | list[DeviceFilterSelectorConfig]
|
@@ -10,8 +10,10 @@ from typing import Any
|
|
10
10
|
|
11
11
|
_LOGGER: Incomplete
|
12
12
|
_DATA_MAC_VER: str
|
13
|
+
_DATA_CONTAINER_ARCH: str
|
13
14
|
|
14
15
|
async def async_get_mac_ver(hass: HomeAssistant) -> str: ...
|
16
|
+
async def async_get_container_arch(hass: HomeAssistant) -> str: ...
|
15
17
|
|
16
18
|
cached_get_user: Incomplete
|
17
19
|
|
@@ -266,6 +266,7 @@ def area_devices(hass: HomeAssistant, area_id_or_name: str) -> Iterable[str]: ..
|
|
266
266
|
def labels(hass: HomeAssistant, lookup_value: Any = None) -> Iterable[str | None]: ...
|
267
267
|
def label_id(hass: HomeAssistant, lookup_value: Any) -> str | None: ...
|
268
268
|
def label_name(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
269
|
+
def label_description(hass: HomeAssistant, lookup_value: str) -> str | None: ...
|
269
270
|
def _label_id_or_name(hass: HomeAssistant, label_id_or_name: str) -> str | None: ...
|
270
271
|
def label_areas(hass: HomeAssistant, label_id_or_name: str) -> Iterable[str]: ...
|
271
272
|
def label_devices(hass: HomeAssistant, label_id_or_name: str) -> Iterable[str]: ...
|
@@ -338,7 +339,7 @@ def from_hex(value: str) -> bytes: ...
|
|
338
339
|
def base64_encode(value: str | bytes) -> str: ...
|
339
340
|
def base64_decode(value: str, encoding: str | None = 'utf-8') -> str | bytes: ...
|
340
341
|
def ordinal(value): ...
|
341
|
-
def from_json(value): ...
|
342
|
+
def from_json(value, default=...): ...
|
342
343
|
def _to_json_default(obj: Any) -> None: ...
|
343
344
|
def to_json(value: Any, ensure_ascii: bool = False, pretty_print: bool = False, sort_keys: bool = False) -> str: ...
|
344
345
|
@pass_context
|
@@ -1,22 +1,50 @@
|
|
1
|
+
import abc
|
1
2
|
import voluptuous as vol
|
3
|
+
from .integration_platform import async_process_integration_platforms as async_process_integration_platforms
|
2
4
|
from .template import Template as Template
|
3
5
|
from .typing import ConfigType as ConfigType, TemplateVarsType as TemplateVarsType
|
4
6
|
from _typeshed import Incomplete
|
5
7
|
from collections import defaultdict
|
6
|
-
from collections.abc import Callable, Coroutine
|
8
|
+
from collections.abc import Callable, Coroutine, Iterable
|
7
9
|
from dataclasses import dataclass, field
|
8
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
|
9
11
|
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
|
10
12
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError
|
11
|
-
from homeassistant.loader import IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration
|
13
|
+
from homeassistant.loader import Integration as Integration, IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, async_get_integrations as async_get_integrations
|
12
14
|
from homeassistant.util.async_ import create_eager_task as create_eager_task
|
13
15
|
from homeassistant.util.hass_dict import HassKey as HassKey
|
16
|
+
from homeassistant.util.yaml import load_yaml_dict as load_yaml_dict
|
17
|
+
from homeassistant.util.yaml.loader import JSON_TYPE as JSON_TYPE
|
14
18
|
from typing import Any, Protocol, TypedDict
|
15
19
|
|
20
|
+
_LOGGER: Incomplete
|
16
21
|
_PLATFORM_ALIASES: Incomplete
|
17
22
|
DATA_PLUGGABLE_ACTIONS: HassKey[defaultdict[tuple, PluggableActionsEntry]]
|
23
|
+
TRIGGER_DESCRIPTION_CACHE: HassKey[dict[str, dict[str, Any] | None]]
|
24
|
+
TRIGGER_PLATFORM_SUBSCRIPTIONS: HassKey[list[Callable[[set[str]], Coroutine[Any, Any, None]]]]
|
25
|
+
TRIGGERS: HassKey[dict[str, str]]
|
26
|
+
_FIELD_SCHEMA: Incomplete
|
27
|
+
_TRIGGER_SCHEMA: Incomplete
|
28
|
+
|
29
|
+
def starts_with_dot(key: str) -> str: ...
|
30
|
+
|
31
|
+
_TRIGGERS_SCHEMA: Incomplete
|
32
|
+
|
33
|
+
async def async_setup(hass: HomeAssistant) -> None: ...
|
34
|
+
@callback
|
35
|
+
def async_subscribe_platform_events(hass: HomeAssistant, on_event: Callable[[set[str]], Coroutine[Any, Any, None]]) -> Callable[[], None]: ...
|
36
|
+
async def _register_trigger_platform(hass: HomeAssistant, integration_domain: str, platform: TriggerProtocol) -> None: ...
|
37
|
+
|
38
|
+
class Trigger(abc.ABC, metaclass=abc.ABCMeta):
|
39
|
+
def __init__(self, hass: HomeAssistant, config: ConfigType) -> None: ...
|
40
|
+
@classmethod
|
41
|
+
@abc.abstractmethod
|
42
|
+
async def async_validate_trigger_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
43
|
+
@abc.abstractmethod
|
44
|
+
async def async_attach_trigger(self, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
18
45
|
|
19
46
|
class TriggerProtocol(Protocol):
|
47
|
+
async def async_get_triggers(self, hass: HomeAssistant) -> dict[str, type[Trigger]]: ...
|
20
48
|
TRIGGER_SCHEMA: vol.Schema
|
21
49
|
async def async_validate_trigger_config(self, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
22
50
|
async def async_attach_trigger(self, hass: HomeAssistant, config: ConfigType, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
@@ -62,3 +90,6 @@ async def _async_get_trigger_platform(hass: HomeAssistant, config: ConfigType) -
|
|
62
90
|
async def async_validate_trigger_config(hass: HomeAssistant, trigger_config: list[ConfigType]) -> list[ConfigType]: ...
|
63
91
|
def _trigger_action_wrapper(hass: HomeAssistant, action: Callable, conf: ConfigType) -> Callable: ...
|
64
92
|
async def async_initialize_triggers(hass: HomeAssistant, trigger_config: list[ConfigType], action: Callable, domain: str, name: str, log_cb: Callable, home_assistant_start: bool = False, variables: TemplateVarsType = None) -> CALLBACK_TYPE | None: ...
|
93
|
+
def _load_triggers_file(hass: HomeAssistant, integration: Integration) -> JSON_TYPE: ...
|
94
|
+
def _load_triggers_files(hass: HomeAssistant, integrations: Iterable[Integration]) -> dict[str, JSON_TYPE]: ...
|
95
|
+
async def async_get_all_descriptions(hass: HomeAssistant) -> dict[str, dict[str, Any] | None]: ...
|
homeassistant-stubs/loader.pyi
CHANGED
@@ -198,9 +198,11 @@ class Integration:
|
|
198
198
|
@cached_property
|
199
199
|
def import_executor(self) -> bool: ...
|
200
200
|
@cached_property
|
201
|
+
def has_services(self) -> bool: ...
|
202
|
+
@cached_property
|
201
203
|
def has_translations(self) -> bool: ...
|
202
204
|
@cached_property
|
203
|
-
def
|
205
|
+
def has_triggers(self) -> bool: ...
|
204
206
|
@property
|
205
207
|
def mqtt(self) -> list[str] | None: ...
|
206
208
|
@property
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import asyncio
|
2
2
|
import enum
|
3
3
|
from .async_ import run_callback_threadsafe as run_callback_threadsafe
|
4
|
+
from _typeshed import Incomplete
|
4
5
|
from types import TracebackType
|
5
6
|
from typing import Any, Self
|
6
7
|
|
@@ -46,7 +47,8 @@ class _GlobalTaskContext:
|
|
46
47
|
_state: _State
|
47
48
|
_cool_down: float
|
48
49
|
_cancelling: int
|
49
|
-
|
50
|
+
_cancel_message: Incomplete
|
51
|
+
def __init__(self, manager: TimeoutManager, task: asyncio.Task[Any], timeout: float, cool_down: float, cancel_message: str | None) -> None: ...
|
50
52
|
async def __aenter__(self) -> Self: ...
|
51
53
|
async def __aexit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None) -> bool | None: ...
|
52
54
|
@property
|
@@ -69,7 +71,8 @@ class _ZoneTaskContext:
|
|
69
71
|
_expiration_time: float | None
|
70
72
|
_timeout_handler: asyncio.Handle | None
|
71
73
|
_cancelling: int
|
72
|
-
|
74
|
+
_cancel_message: Incomplete
|
75
|
+
def __init__(self, zone: _ZoneTimeoutManager, task: asyncio.Task[Any], timeout: float, cancel_message: str | None) -> None: ...
|
73
76
|
@property
|
74
77
|
def state(self) -> _State: ...
|
75
78
|
async def __aenter__(self) -> Self: ...
|
@@ -117,6 +120,6 @@ class TimeoutManager:
|
|
117
120
|
@property
|
118
121
|
def global_freezes(self) -> list[_GlobalFreezeContext]: ...
|
119
122
|
def drop_zone(self, zone_name: str) -> None: ...
|
120
|
-
def async_timeout(self, timeout: float, zone_name: str = ..., cool_down: float = 0) -> _ZoneTaskContext | _GlobalTaskContext: ...
|
123
|
+
def async_timeout(self, timeout: float, zone_name: str = ..., cool_down: float = 0, cancel_message: str | None = None) -> _ZoneTaskContext | _GlobalTaskContext: ...
|
121
124
|
def async_freeze(self, zone_name: str = ...) -> _ZoneFreezeContext | _GlobalFreezeContext: ...
|
122
125
|
def freeze(self, zone_name: str = ...) -> _ZoneFreezeContext | _GlobalFreezeContext: ...
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import os
|
2
2
|
import yaml
|
3
|
-
from annotatedyaml import YamlTypeError as YamlTypeError
|
4
3
|
from annotatedyaml.loader import HAS_C_LOADER as HAS_C_LOADER, JSON_TYPE as JSON_TYPE, LoaderType, Secrets as Secrets, add_constructor as add_constructor
|
4
|
+
from homeassistant.exceptions import HomeAssistantError
|
5
5
|
from io import StringIO
|
6
6
|
from typing import TextIO
|
7
7
|
|
8
8
|
__all__ = ['HAS_C_LOADER', 'JSON_TYPE', 'Secrets', 'YamlTypeError', 'add_constructor', 'load_yaml', 'load_yaml_dict', 'parse_yaml', 'secret_yaml']
|
9
9
|
|
10
|
+
class YamlTypeError(HomeAssistantError): ...
|
11
|
+
|
10
12
|
def load_yaml(fname: str | os.PathLike[str], secrets: Secrets | None = None) -> JSON_TYPE | None: ...
|
11
13
|
def load_yaml_dict(fname: str | os.PathLike[str], secrets: Secrets | None = None) -> dict: ...
|
12
14
|
def parse_yaml(content: str | TextIO | StringIO, secrets: Secrets | None = None) -> JSON_TYPE: ...
|
{homeassistant_stubs-2025.6.3.dist-info → homeassistant_stubs-2025.7.0b0.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.7.0b0
|
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.7.0b0
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|