homeassistant-stubs 2025.9.4__py3-none-any.whl → 2025.10.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.
Potentially problematic release.
This version of homeassistant-stubs might be problematic. Click here for more details.
- homeassistant-stubs/components/acaia/coordinator.pyi +1 -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/airos/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/airos/config_flow.pyi +1 -1
- homeassistant-stubs/components/airos/coordinator.pyi +4 -4
- homeassistant-stubs/components/airos/sensor.pyi +2 -2
- homeassistant-stubs/components/airzone/select.pyi +1 -0
- homeassistant-stubs/components/alexa_devices/coordinator.pyi +2 -0
- homeassistant-stubs/components/analytics/__init__.pyi +4 -21
- homeassistant-stubs/components/analytics/analytics.pyi +42 -5
- homeassistant-stubs/components/androidtv/__init__.pyi +5 -1
- homeassistant-stubs/components/androidtv/media_player.pyi +1 -10
- homeassistant-stubs/components/androidtv/services.pyi +16 -0
- homeassistant-stubs/components/androidtv_remote/entity.pyi +1 -3
- homeassistant-stubs/components/assist_pipeline/__init__.pyi +1 -1
- homeassistant-stubs/components/assist_pipeline/const.pyi +1 -0
- homeassistant-stubs/components/assist_pipeline/pipeline.pyi +7 -4
- homeassistant-stubs/components/assist_pipeline/select.pyi +1 -1
- homeassistant-stubs/components/asuswrt/bridge.pyi +8 -0
- homeassistant-stubs/components/blue_current/__init__.pyi +11 -5
- homeassistant-stubs/components/blue_current/const.pyi +6 -0
- homeassistant-stubs/components/bluetooth/__init__.pyi +2 -2
- homeassistant-stubs/components/bluetooth/api.pyi +5 -2
- homeassistant-stubs/components/bluetooth/manager.pyi +7 -1
- homeassistant-stubs/components/bluetooth/websocket_api.pyi +6 -1
- homeassistant-stubs/components/brother/__init__.pyi +4 -2
- homeassistant-stubs/components/brother/config_flow.pyi +5 -2
- homeassistant-stubs/components/brother/const.pyi +4 -0
- homeassistant-stubs/components/bthome/sensor.pyi +1 -1
- homeassistant-stubs/components/camera/__init__.pyi +1 -1
- homeassistant-stubs/components/camera/prefs.pyi +3 -1
- homeassistant-stubs/components/cloud/http_api.pyi +2 -0
- homeassistant-stubs/components/comelit/coordinator.pyi +2 -1
- homeassistant-stubs/components/comelit/sensor.pyi +1 -1
- 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/derivative/diagnostics.pyi +5 -0
- homeassistant-stubs/components/droplet/__init__.pyi +10 -0
- homeassistant-stubs/components/droplet/config_flow.pyi +13 -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/ecovacs/number.pyi +4 -1
- homeassistant-stubs/components/elkm1/config_flow.pyi +2 -0
- homeassistant-stubs/components/elkm1/sensor.pyi +8 -1
- homeassistant-stubs/components/energy/sensor.pyi +1 -1
- homeassistant-stubs/components/esphome/assist_satellite.pyi +5 -1
- homeassistant-stubs/components/esphome/climate.pyi +2 -0
- homeassistant-stubs/components/esphome/config_flow.pyi +2 -0
- homeassistant-stubs/components/esphome/const.pyi +1 -0
- homeassistant-stubs/components/esphome/entry_data.pyi +8 -4
- homeassistant-stubs/components/esphome/lock.pyi +1 -1
- homeassistant-stubs/components/esphome/select.pyi +4 -3
- homeassistant-stubs/components/fritz/sensor.pyi +2 -1
- homeassistant-stubs/components/frontend/__init__.pyi +5 -2
- homeassistant-stubs/components/geocaching/entity.pyi +14 -0
- homeassistant-stubs/components/geocaching/sensor.pyi +25 -5
- homeassistant-stubs/components/go2rtc/__init__.pyi +3 -0
- homeassistant-stubs/components/google/__init__.pyi +0 -1
- homeassistant-stubs/components/google/config_flow.pyi +3 -3
- homeassistant-stubs/components/google_cloud/__init__.pyi +0 -1
- homeassistant-stubs/components/google_cloud/config_flow.pyi +2 -2
- homeassistant-stubs/components/google_photos/media_source.pyi +2 -2
- homeassistant-stubs/components/habitica/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/habitica/const.pyi +1 -0
- homeassistant-stubs/components/habitica/sensor.pyi +3 -1
- homeassistant-stubs/components/habitica/services.pyi +2 -1
- homeassistant-stubs/components/habitica/util.pyi +1 -0
- homeassistant-stubs/components/here_travel_time/__init__.pyi +3 -1
- homeassistant-stubs/components/history_stats/config_flow.pyi +7 -2
- homeassistant-stubs/components/history_stats/diagnostics.pyi +5 -0
- homeassistant-stubs/components/home_connect/application_credentials.pyi +0 -1
- homeassistant-stubs/components/home_connect/coordinator.pyi +0 -1
- homeassistant-stubs/components/homeassistant_hardware/firmware_config_flow.pyi +38 -11
- 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/type_switches.pyi +7 -1
- homeassistant-stubs/components/homewizard/sensor.pyi +3 -1
- homeassistant-stubs/components/husqvarna_automower/coordinator.pyi +1 -1
- homeassistant-stubs/components/image/__init__.pyi +1 -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/immich/media_source.pyi +2 -2
- homeassistant-stubs/components/integration/__init__.pyi +0 -1
- homeassistant-stubs/components/integration/config_flow.pyi +1 -0
- homeassistant-stubs/components/lawn_mower/intent.pyi +8 -0
- homeassistant-stubs/components/letpot/number.pyi +34 -0
- homeassistant-stubs/components/libre_hardware_monitor/__init__.pyi +9 -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 +21 -0
- homeassistant-stubs/components/libre_hardware_monitor/sensor.pyi +34 -0
- homeassistant-stubs/components/litterrobot/select.pyi +1 -1
- homeassistant-stubs/components/litterrobot/switch.pyi +5 -1
- homeassistant-stubs/components/logbook/helpers.pyi +4 -3
- homeassistant-stubs/components/mastodon/const.pyi +1 -0
- homeassistant-stubs/components/mastodon/services.pyi +1 -1
- homeassistant-stubs/components/matter/models.pyi +1 -0
- homeassistant-stubs/components/matter/sensor.pyi +1 -0
- homeassistant-stubs/components/mcp_server/session.pyi +2 -2
- 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/metoffice/sensor.pyi +1 -1
- homeassistant-stubs/components/miele/const.pyi +193 -17
- homeassistant-stubs/components/miele/sensor.pyi +12 -3
- homeassistant-stubs/components/miele/vacuum.pyi +1 -2
- homeassistant-stubs/components/min_max/sensor.pyi +1 -1
- homeassistant-stubs/components/modbus/__init__.pyi +1 -1
- homeassistant-stubs/components/modbus/binary_sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/climate.pyi +2 -2
- homeassistant-stubs/components/modbus/const.pyi +1 -0
- homeassistant-stubs/components/modbus/cover.pyi +2 -2
- homeassistant-stubs/components/modbus/entity.pyi +4 -4
- homeassistant-stubs/components/modbus/fan.pyi +2 -2
- homeassistant-stubs/components/modbus/light.pyi +2 -2
- homeassistant-stubs/components/modbus/modbus.pyi +1 -2
- homeassistant-stubs/components/modbus/sensor.pyi +2 -2
- homeassistant-stubs/components/modbus/switch.pyi +2 -2
- homeassistant-stubs/components/modbus/validators.pyi +1 -1
- homeassistant-stubs/components/motionmount/select.pyi +1 -0
- homeassistant-stubs/components/mqtt/config_flow.pyi +61 -60
- homeassistant-stubs/components/mqtt/const.pyi +6 -0
- 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/schemas.pyi +1 -1
- homeassistant-stubs/components/mqtt/tag.pyi +1 -1
- homeassistant-stubs/components/music_assistant/__init__.pyi +2 -1
- homeassistant-stubs/components/music_assistant/config_flow.pyi +1 -1
- homeassistant-stubs/components/music_assistant/const.pyi +1 -0
- homeassistant-stubs/components/nordpool/coordinator.pyi +4 -2
- 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 +1 -1
- homeassistant-stubs/components/openai_conversation/ai_task.pyi +5 -1
- homeassistant-stubs/components/openai_conversation/const.pyi +1 -0
- homeassistant-stubs/components/openai_conversation/entity.pyi +2 -2
- 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/portainer/__init__.pyi +11 -0
- homeassistant-stubs/components/portainer/binary_sensor.pyi +39 -0
- homeassistant-stubs/components/portainer/config_flow.pyi +20 -0
- homeassistant-stubs/components/portainer/const.pyi +2 -0
- homeassistant-stubs/components/portainer/coordinator.pyi +29 -0
- homeassistant-stubs/components/portainer/entity.pyi +22 -0
- homeassistant-stubs/components/prusalink/coordinator.pyi +2 -0
- homeassistant-stubs/components/radio_browser/media_source.pyi +3 -0
- homeassistant-stubs/components/recorder/models/statistics.pyi +1 -0
- homeassistant-stubs/components/recorder/statistics.pyi +1 -1
- homeassistant-stubs/components/recorder/util.pyi +1 -0
- homeassistant-stubs/components/recorder/websocket_api.pyi +1 -1
- homeassistant-stubs/components/reolink/entity.pyi +10 -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 +11 -1
- homeassistant-stubs/components/reolink/switch.pyi +11 -1
- homeassistant-stubs/components/roborock/config_flow.pyi +1 -1
- homeassistant-stubs/components/roborock/const.pyi +1 -0
- homeassistant-stubs/components/roborock/coordinator.pyi +1 -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/scrape/__init__.pyi +0 -1
- homeassistant-stubs/components/scrape/config_flow.pyi +1 -0
- homeassistant-stubs/components/scrape/coordinator.pyi +5 -1
- 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/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 +2 -2
- homeassistant-stubs/components/shelly/binary_sensor.pyi +5 -1
- homeassistant-stubs/components/shelly/button.pyi +10 -2
- homeassistant-stubs/components/shelly/const.pyi +5 -2
- homeassistant-stubs/components/shelly/cover.pyi +6 -0
- homeassistant-stubs/components/shelly/entity.pyi +1 -3
- homeassistant-stubs/components/shelly/light.pyi +18 -10
- homeassistant-stubs/components/shelly/number.pyi +1 -1
- homeassistant-stubs/components/shelly/repairs.pyi +4 -2
- homeassistant-stubs/components/shelly/select.pyi +1 -1
- homeassistant-stubs/components/shelly/sensor.pyi +12 -8
- homeassistant-stubs/components/shelly/switch.pyi +1 -1
- homeassistant-stubs/components/shelly/text.pyi +1 -1
- homeassistant-stubs/components/shelly/utils.pyi +7 -2
- homeassistant-stubs/components/sql/__init__.pyi +2 -2
- homeassistant-stubs/components/sql/config_flow.pyi +6 -2
- homeassistant-stubs/components/sql/const.pyi +1 -0
- homeassistant-stubs/components/sql/sensor.pyi +1 -1
- homeassistant-stubs/components/squeezebox/browse_media.pyi +1 -1
- homeassistant-stubs/components/ssdp/server.pyi +2 -3
- homeassistant-stubs/components/starlink/sensor.pyi +8 -1
- homeassistant-stubs/components/statistics/__init__.pyi +0 -1
- homeassistant-stubs/components/statistics/config_flow.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/__init__.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/binary_sensor.pyi +7 -0
- homeassistant-stubs/components/switchbot_cloud/climate.pyi +7 -3
- homeassistant-stubs/components/switchbot_cloud/const.pyi +13 -0
- homeassistant-stubs/components/switchbot_cloud/humidifier.pyi +48 -0
- homeassistant-stubs/components/switchbot_cloud/light.pyi +1 -0
- homeassistant-stubs/components/switchbot_cloud/sensor.pyi +13 -1
- homeassistant-stubs/components/synology_dsm/media_source.pyi +2 -2
- homeassistant-stubs/components/synology_dsm/sensor.pyi +3 -0
- homeassistant-stubs/components/systemmonitor/binary_sensor.pyi +1 -1
- homeassistant-stubs/components/systemmonitor/const.pyi +1 -0
- homeassistant-stubs/components/systemmonitor/coordinator.pyi +2 -0
- homeassistant-stubs/components/systemmonitor/sensor.pyi +2 -0
- homeassistant-stubs/components/telegram_bot/__init__.pyi +2 -1
- homeassistant-stubs/components/telegram_bot/bot.pyi +1 -0
- homeassistant-stubs/components/telegram_bot/const.pyi +13 -0
- homeassistant-stubs/components/threshold/__init__.pyi +0 -1
- homeassistant-stubs/components/threshold/config_flow.pyi +1 -0
- homeassistant-stubs/components/tolo/config_flow.pyi +5 -3
- homeassistant-stubs/components/tts/__init__.pyi +5 -0
- homeassistant-stubs/components/uptimerobot/config_flow.pyi +1 -0
- homeassistant-stubs/components/vacuum/intent.pyi +1 -1
- homeassistant-stubs/components/volvo/__init__.pyi +1 -1
- homeassistant-stubs/components/volvo/api.pyi +4 -0
- homeassistant-stubs/components/volvo/coordinator.pyi +28 -15
- homeassistant-stubs/components/wake_on_lan/__init__.pyi +0 -1
- homeassistant-stubs/components/wake_on_lan/config_flow.pyi +1 -0
- homeassistant-stubs/components/webhook/trigger.pyi +2 -1
- homeassistant-stubs/components/workday/calendar.pyi +25 -0
- homeassistant-stubs/components/yalexs_ble/__init__.pyi +0 -1
- homeassistant-stubs/components/yalexs_ble/config_flow.pyi +2 -2
- homeassistant-stubs/components/zwave_js/__init__.pyi +1 -1
- homeassistant-stubs/components/zwave_js/config_flow.pyi +6 -3
- homeassistant-stubs/components/zwave_js/const.pyi +3 -0
- homeassistant-stubs/components/zwave_js/device_trigger.pyi +1 -1
- homeassistant-stubs/components/zwave_js/triggers/event.pyi +24 -9
- homeassistant-stubs/components/zwave_js/triggers/value_updated.pyi +11 -7
- homeassistant-stubs/config_entries.pyi +6 -1
- homeassistant-stubs/const.pyi +7 -46
- homeassistant-stubs/data_entry_flow.pyi +16 -3
- homeassistant-stubs/generated/entity_platforms.pyi +46 -0
- homeassistant-stubs/helpers/condition.pyi +3 -1
- homeassistant-stubs/helpers/config_validation.pyi +1 -1
- homeassistant-stubs/helpers/deprecation.pyi +1 -0
- homeassistant-stubs/helpers/device_registry.pyi +4 -3
- homeassistant-stubs/helpers/entity_component.pyi +1 -3
- homeassistant-stubs/helpers/event.pyi +2 -1
- homeassistant-stubs/helpers/intent.pyi +5 -8
- homeassistant-stubs/helpers/schema_config_entry_flow.pyi +5 -1
- homeassistant-stubs/helpers/selector.pyi +16 -16
- homeassistant-stubs/helpers/service.pyi +12 -14
- homeassistant-stubs/helpers/service_info/esphome.pyi +12 -0
- homeassistant-stubs/helpers/{template.pyi → template/__init__.pyi} +14 -97
- homeassistant-stubs/helpers/template/context.pyi +16 -0
- homeassistant-stubs/helpers/template/extensions/__init__.pyi +8 -0
- homeassistant-stubs/helpers/template/extensions/base.pyi +21 -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/math.pyi +43 -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 +4 -0
- homeassistant-stubs/helpers/template/render_info.pyi +39 -0
- homeassistant-stubs/helpers/trigger.pyi +16 -5
- homeassistant-stubs/helpers/trigger_template_entity.pyi +2 -1
- homeassistant-stubs/runner.pyi +16 -0
- homeassistant-stubs/util/unit_conversion.pyi +6 -0
- {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/METADATA +2 -2
- {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/RECORD +304 -246
- homeassistant-stubs/components/home_connect/time.pyi +0 -29
- {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/WHEEL +0 -0
- {homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.0b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
3
|
+
|
|
4
|
+
class CryptoExtension(BaseTemplateExtension):
|
|
5
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
6
|
+
@staticmethod
|
|
7
|
+
def md5(value: str) -> str: ...
|
|
8
|
+
@staticmethod
|
|
9
|
+
def sha1(value: str) -> str: ...
|
|
10
|
+
@staticmethod
|
|
11
|
+
def sha256(value: str) -> str: ...
|
|
12
|
+
@staticmethod
|
|
13
|
+
def sha512(value: str) -> str: ...
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from homeassistant.helpers.template.helpers import raise_no_default as raise_no_default
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
_SENTINEL: Incomplete
|
|
8
|
+
|
|
9
|
+
class MathExtension(BaseTemplateExtension):
|
|
10
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
11
|
+
@staticmethod
|
|
12
|
+
def logarithm(value: Any, base: Any = ..., default: Any = ...) -> Any: ...
|
|
13
|
+
@staticmethod
|
|
14
|
+
def sine(value: Any, default: Any = ...) -> Any: ...
|
|
15
|
+
@staticmethod
|
|
16
|
+
def cosine(value: Any, default: Any = ...) -> Any: ...
|
|
17
|
+
@staticmethod
|
|
18
|
+
def tangent(value: Any, default: Any = ...) -> Any: ...
|
|
19
|
+
@staticmethod
|
|
20
|
+
def arc_sine(value: Any, default: Any = ...) -> Any: ...
|
|
21
|
+
@staticmethod
|
|
22
|
+
def arc_cosine(value: Any, default: Any = ...) -> Any: ...
|
|
23
|
+
@staticmethod
|
|
24
|
+
def arc_tangent(value: Any, default: Any = ...) -> Any: ...
|
|
25
|
+
@staticmethod
|
|
26
|
+
def arc_tangent2(*args: Any, default: Any = ...) -> Any: ...
|
|
27
|
+
@staticmethod
|
|
28
|
+
def square_root(value: Any, default: Any = ...) -> Any: ...
|
|
29
|
+
@staticmethod
|
|
30
|
+
def average(*args: Any, default: Any = ...) -> Any: ...
|
|
31
|
+
@staticmethod
|
|
32
|
+
def median(*args: Any, default: Any = ...) -> Any: ...
|
|
33
|
+
@staticmethod
|
|
34
|
+
def statistical_mode(*args: Any, default: Any = ...) -> Any: ...
|
|
35
|
+
def min_max_from_filter(self, builtin_filter: Any, name: str) -> Any: ...
|
|
36
|
+
def min_max_min(self, *args: Any, **kwargs: Any) -> Any: ...
|
|
37
|
+
def min_max_max(self, *args: Any, **kwargs: Any) -> Any: ...
|
|
38
|
+
@staticmethod
|
|
39
|
+
def bitwise_and(first_value: Any, second_value: Any) -> Any: ...
|
|
40
|
+
@staticmethod
|
|
41
|
+
def bitwise_or(first_value: Any, second_value: Any) -> Any: ...
|
|
42
|
+
@staticmethod
|
|
43
|
+
def bitwise_xor(first_value: Any, second_value: Any) -> Any: ...
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from _typeshed import Incomplete
|
|
3
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
_regex_cache: Incomplete
|
|
7
|
+
|
|
8
|
+
class RegexExtension(BaseTemplateExtension):
|
|
9
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
10
|
+
def regex_match(self, value: Any, find: str = '', ignorecase: bool = False) -> bool: ...
|
|
11
|
+
def regex_replace(self, value: Any = '', find: str = '', replace: str = '', ignorecase: bool = False) -> str: ...
|
|
12
|
+
def regex_search(self, value: Any, find: str = '', ignorecase: bool = False) -> bool: ...
|
|
13
|
+
def regex_findall_index(self, value: Any, find: str = '', index: int = 0, ignorecase: bool = False) -> str: ...
|
|
14
|
+
def regex_findall(self, value: Any, find: str = '', ignorecase: bool = False) -> list[str]: ...
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
from .base import BaseTemplateExtension as BaseTemplateExtension, TemplateFunction as TemplateFunction
|
|
2
|
+
from homeassistant.helpers.template import TemplateEnvironment as TemplateEnvironment
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
class StringExtension(BaseTemplateExtension):
|
|
6
|
+
def __init__(self, environment: TemplateEnvironment) -> None: ...
|
|
7
|
+
def ordinal(self, value: Any) -> str: ...
|
|
8
|
+
def slugify(self, value: Any, separator: str = '_') -> str: ...
|
|
9
|
+
def urlencode(self, value: Any) -> bytes: ...
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import collections.abc
|
|
2
|
+
from . import Template as Template
|
|
3
|
+
from _typeshed import Incomplete
|
|
4
|
+
from collections.abc import Callable as Callable
|
|
5
|
+
from contextvars import ContextVar
|
|
6
|
+
from homeassistant.core import split_entity_id as split_entity_id
|
|
7
|
+
from homeassistant.exceptions import TemplateError as TemplateError
|
|
8
|
+
|
|
9
|
+
ALL_STATES_RATE_LIMIT: int
|
|
10
|
+
DOMAIN_STATES_RATE_LIMIT: int
|
|
11
|
+
render_info_cv: ContextVar[RenderInfo | None]
|
|
12
|
+
|
|
13
|
+
def _true(entity_id: str) -> bool: ...
|
|
14
|
+
def _false(entity_id: str) -> bool: ...
|
|
15
|
+
|
|
16
|
+
class RenderInfo:
|
|
17
|
+
__slots__: Incomplete
|
|
18
|
+
template: Incomplete
|
|
19
|
+
filter_lifecycle: Callable[[str], bool]
|
|
20
|
+
filter: Callable[[str], bool]
|
|
21
|
+
_result: str | None
|
|
22
|
+
is_static: bool
|
|
23
|
+
exception: TemplateError | None
|
|
24
|
+
all_states: bool
|
|
25
|
+
all_states_lifecycle: bool
|
|
26
|
+
domains: collections.abc.Set[str]
|
|
27
|
+
domains_lifecycle: collections.abc.Set[str]
|
|
28
|
+
entities: collections.abc.Set[str]
|
|
29
|
+
rate_limit: float | None
|
|
30
|
+
has_time: bool
|
|
31
|
+
def __init__(self, template: Template) -> None: ...
|
|
32
|
+
def __repr__(self) -> str: ...
|
|
33
|
+
def _filter_domains_and_entities(self, entity_id: str) -> bool: ...
|
|
34
|
+
def _filter_entities(self, entity_id: str) -> bool: ...
|
|
35
|
+
def _filter_lifecycle_domains(self, entity_id: str) -> bool: ...
|
|
36
|
+
def result(self) -> str: ...
|
|
37
|
+
def _freeze_static(self) -> None: ...
|
|
38
|
+
def _freeze_sets(self) -> None: ...
|
|
39
|
+
def _freeze(self) -> None: ...
|
|
@@ -10,7 +10,7 @@ from _typeshed import Incomplete
|
|
|
10
10
|
from collections import defaultdict
|
|
11
11
|
from collections.abc import Callable, Coroutine, Iterable
|
|
12
12
|
from dataclasses import dataclass, field
|
|
13
|
-
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
|
|
13
|
+
from homeassistant.const import CONF_ALIAS as CONF_ALIAS, CONF_ENABLED as CONF_ENABLED, CONF_ID as CONF_ID, CONF_OPTIONS as CONF_OPTIONS, CONF_PLATFORM as CONF_PLATFORM, CONF_SELECTOR as CONF_SELECTOR, CONF_TARGET as CONF_TARGET, CONF_VARIABLES as CONF_VARIABLES
|
|
14
14
|
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
|
|
15
15
|
from homeassistant.exceptions import HomeAssistantError as HomeAssistantError, TemplateError as TemplateError
|
|
16
16
|
from homeassistant.loader import Integration as Integration, IntegrationNotFound as IntegrationNotFound, async_get_integration as async_get_integration, async_get_integrations as async_get_integrations
|
|
@@ -25,23 +25,27 @@ DATA_PLUGGABLE_ACTIONS: HassKey[defaultdict[tuple, PluggableActionsEntry]]
|
|
|
25
25
|
TRIGGER_DESCRIPTION_CACHE: HassKey[dict[str, dict[str, Any] | None]]
|
|
26
26
|
TRIGGER_PLATFORM_SUBSCRIPTIONS: HassKey[list[Callable[[set[str]], Coroutine[Any, Any, None]]]]
|
|
27
27
|
TRIGGERS: HassKey[dict[str, str]]
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_FIELD_DESCRIPTION_SCHEMA: Incomplete
|
|
29
|
+
_TRIGGER_DESCRIPTION_SCHEMA: Incomplete
|
|
30
30
|
|
|
31
31
|
def starts_with_dot(key: str) -> str: ...
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
_TRIGGERS_DESCRIPTION_SCHEMA: Incomplete
|
|
34
34
|
|
|
35
35
|
async def async_setup(hass: HomeAssistant) -> None: ...
|
|
36
36
|
@callback
|
|
37
37
|
def async_subscribe_platform_events(hass: HomeAssistant, on_event: Callable[[set[str]], Coroutine[Any, Any, None]]) -> Callable[[], None]: ...
|
|
38
38
|
async def _register_trigger_platform(hass: HomeAssistant, integration_domain: str, platform: TriggerProtocol) -> None: ...
|
|
39
39
|
|
|
40
|
+
_TRIGGER_SCHEMA: Incomplete
|
|
41
|
+
|
|
40
42
|
class Trigger(abc.ABC, metaclass=abc.ABCMeta):
|
|
41
|
-
|
|
43
|
+
@classmethod
|
|
44
|
+
async def async_validate_complete_config(cls, hass: HomeAssistant, complete_config: ConfigType) -> ConfigType: ...
|
|
42
45
|
@classmethod
|
|
43
46
|
@abc.abstractmethod
|
|
44
47
|
async def async_validate_config(cls, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
|
48
|
+
def __init__(self, hass: HomeAssistant, config: TriggerConfig) -> None: ...
|
|
45
49
|
@abc.abstractmethod
|
|
46
50
|
async def async_attach(self, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
|
47
51
|
|
|
@@ -51,6 +55,12 @@ class TriggerProtocol(Protocol):
|
|
|
51
55
|
async def async_validate_trigger_config(self, hass: HomeAssistant, config: ConfigType) -> ConfigType: ...
|
|
52
56
|
async def async_attach_trigger(self, hass: HomeAssistant, config: ConfigType, action: TriggerActionType, trigger_info: TriggerInfo) -> CALLBACK_TYPE: ...
|
|
53
57
|
|
|
58
|
+
@dataclass(slots=True, frozen=True)
|
|
59
|
+
class TriggerConfig:
|
|
60
|
+
key: str
|
|
61
|
+
target: dict[str, Any] | None = ...
|
|
62
|
+
options: dict[str, Any] | None = ...
|
|
63
|
+
|
|
54
64
|
class TriggerActionType(Protocol):
|
|
55
65
|
async def __call__(self, run_variables: dict[str, Any], context: Context | None = None) -> Any: ...
|
|
56
66
|
|
|
@@ -88,6 +98,7 @@ class PluggableAction:
|
|
|
88
98
|
def async_register(self, hass: HomeAssistant, trigger: dict[str, str]) -> CALLBACK_TYPE: ...
|
|
89
99
|
async def async_run(self, hass: HomeAssistant, context: Context | None = None) -> None: ...
|
|
90
100
|
|
|
101
|
+
def move_top_level_schema_fields_to_options(config: ConfigType, options_schema_dict: dict[vol.Marker, Any]) -> ConfigType: ...
|
|
91
102
|
async def _async_get_trigger_platform(hass: HomeAssistant, trigger_key: str) -> tuple[str, TriggerProtocol]: ...
|
|
92
103
|
async def async_validate_trigger_config(hass: HomeAssistant, trigger_config: list[ConfigType]) -> list[ConfigType]: ...
|
|
93
104
|
def _trigger_action_wrapper(hass: HomeAssistant, action: Callable, conf: ConfigType) -> Callable: ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import voluptuous as vol
|
|
2
2
|
from .entity import Entity as Entity
|
|
3
|
-
from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL,
|
|
3
|
+
from .template import Template as Template, TemplateStateFromEntityId as TemplateStateFromEntityId, _SENTINEL as _SENTINEL, render_complex as render_complex, result_as_boolean as result_as_boolean
|
|
4
|
+
from .template.context import render_with_context as render_with_context
|
|
4
5
|
from .typing import ConfigType as ConfigType
|
|
5
6
|
from _typeshed import Incomplete
|
|
6
7
|
from homeassistant.components.sensor import CONF_STATE_CLASS as CONF_STATE_CLASS, DEVICE_CLASSES_SCHEMA as DEVICE_CLASSES_SCHEMA, STATE_CLASSES_SCHEMA as STATE_CLASSES_SCHEMA, SensorDeviceClass as SensorDeviceClass, SensorEntity as SensorEntity
|
homeassistant-stubs/runner.pyi
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import dataclasses
|
|
3
3
|
from . import bootstrap as bootstrap
|
|
4
|
+
from .const import __version__ as __version__
|
|
4
5
|
from .core import callback as callback
|
|
5
6
|
from .helpers.frame import warn_use as warn_use
|
|
6
7
|
from .util.executor import InterruptibleThreadPoolExecutor as InterruptibleThreadPoolExecutor
|
|
7
8
|
from .util.resource import set_open_file_descriptor_limit as set_open_file_descriptor_limit
|
|
8
9
|
from .util.thread import deadlock_safe_shutdown as deadlock_safe_shutdown
|
|
9
10
|
from _typeshed import Incomplete
|
|
11
|
+
from collections.abc import Generator
|
|
12
|
+
from contextlib import contextmanager
|
|
13
|
+
from io import TextIOWrapper
|
|
14
|
+
from pathlib import Path
|
|
10
15
|
from typing import Any
|
|
11
16
|
|
|
12
17
|
MAX_EXECUTOR_WORKERS: int
|
|
13
18
|
TASK_CANCELATION_TIMEOUT: int
|
|
19
|
+
LOCK_FILE_NAME: str
|
|
20
|
+
LOCK_FILE_VERSION: int
|
|
14
21
|
_LOGGER: Incomplete
|
|
15
22
|
|
|
23
|
+
@dataclasses.dataclass
|
|
24
|
+
class SingleExecutionLock:
|
|
25
|
+
exit_code: int | None = ...
|
|
26
|
+
|
|
27
|
+
def _write_lock_info(lock_file: TextIOWrapper) -> None: ...
|
|
28
|
+
def _report_existing_instance(lock_file_path: Path, config_dir: str) -> None: ...
|
|
29
|
+
@contextmanager
|
|
30
|
+
def ensure_single_execution(config_dir: str) -> Generator[SingleExecutionLock]: ...
|
|
31
|
+
|
|
16
32
|
@dataclasses.dataclass(slots=True)
|
|
17
33
|
class RuntimeConfig:
|
|
18
34
|
config_dir: str
|
|
@@ -32,6 +32,7 @@ _OUNCE_TO_G: Incomplete
|
|
|
32
32
|
_STONE_TO_G: Incomplete
|
|
33
33
|
_STANDARD_GRAVITY: float
|
|
34
34
|
_MERCURY_DENSITY: float
|
|
35
|
+
_INH2O_TO_PA: float
|
|
35
36
|
_L_TO_CUBIC_METER: float
|
|
36
37
|
_ML_TO_CUBIC_METER: Incomplete
|
|
37
38
|
_GALLON_TO_CUBIC_METER: Incomplete
|
|
@@ -63,6 +64,11 @@ class BaseUnitConverter:
|
|
|
63
64
|
@lru_cache
|
|
64
65
|
def _are_unit_inverses(cls, from_unit: str | None, to_unit: str | None) -> bool: ...
|
|
65
66
|
|
|
67
|
+
class CarbonMonoxideConcentrationConverter(BaseUnitConverter):
|
|
68
|
+
UNIT_CLASS: str
|
|
69
|
+
_UNIT_CONVERSION: dict[str | None, float]
|
|
70
|
+
VALID_UNITS: Incomplete
|
|
71
|
+
|
|
66
72
|
class DataRateConverter(BaseUnitConverter):
|
|
67
73
|
UNIT_CLASS: str
|
|
68
74
|
_UNIT_CONVERSION: dict[str | None, float]
|
{homeassistant_stubs-2025.9.4.dist-info → homeassistant_stubs-2025.10.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.10.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.10.0b0
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
|
|
24
24
|
[](https://github.com/KapJI/homeassistant-stubs/actions/workflows/ci.yaml)
|