core/homeassistant/helpers
J. Nick Koston f204faf202
Fix empty delays in script helper (#114346)
fixes
```
Logger: homeassistant.components.automation.kamermaster_knop_4_acties_licht
Bron: components/automation/__init__.py:726
integratie: Automatisering (documentatie, problemen)
Eerst voorgekomen: 22:17:29 (5 gebeurtenissen)
Laatst gelogd: 22:59:24

While executing automation automation.kamermaster_knop_4_acties_licht
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 726, in async_trigger
    return await self.action_script.async_run(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1645, in async_run
    return await asyncio.shield(create_eager_task(run.async_run()))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 454, in async_run
    await self._async_step(log_exceptions=False)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 506, in _async_step
    self._handle_exception(
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 536, in _handle_exception
    raise exception
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 504, in _async_step
    await getattr(self, handler)()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 626, in _async_delay_step
    if timeout_future.done():
       ^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'done'
```
2024-03-28 20:42:21 +01:00
..
service_info
__init__.py
aiohttp_client.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
area_registry.py Avoid creating unneeded Context and Event objects when firing events (#113798) 2024-03-20 09:40:06 +01:00
category_registry.py Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
check_config.py Use a constant to reference `homeassistant` domain (#113889) 2024-03-23 19:58:39 +01:00
collection.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
condition.py Clean up unneeded ruff noqa directives (#113616) 2024-03-16 09:48:37 -10:00
config_entry_flow.py Await discovery_function in the DiscoveryFlowHandler instead of wrapping it in a task (#113115) 2024-03-11 21:37:03 -04:00
config_entry_oauth2_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
config_validation.py Allow numeric state trigger/condition against zone entities (#114221) 2024-03-26 19:41:46 +01:00
data_entry_flow.py Revert "Update typing-extensions to 4.11.0rc1 (#114116)" (#114216) 2024-03-25 20:44:57 -10:00
debounce.py Add the ability to create Debouncer tasks as background tasks (#113128) 2024-03-12 08:41:12 -04:00
deprecation.py Clean up unneeded ruff noqa directives (#113616) 2024-03-16 09:48:37 -10:00
device_registry.py Cache parsing the url for the device registry (#113910) 2024-03-20 19:35:01 -04:00
discovery.py Move SignalTypes to util (#114236) 2024-03-27 08:41:44 +01:00
discovery_flow.py Use run_immediately for starting discovery at the started event (#113112) 2024-03-11 14:29:39 -10:00
dispatcher.py Move SignalTypes to util (#114236) 2024-03-27 08:41:44 +01:00
entity.py Fix argument name in async_update_ha_state warning message (#113969) 2024-03-22 02:26:11 +01:00
entity_component.py Avoid creating inner function in EntityComponent setup (#114050) 2024-03-23 11:31:23 -10:00
entity_platform.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
entity_registry.py Remove async_get_device_class_lookup from entity_registry (#114212) 2024-03-26 09:22:53 +01:00
entity_values.py
entityfilter.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
event.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
floor_registry.py Default floor level to None (and allow unsetting it) (#114249) 2024-03-26 18:58:25 +01:00
frame.py
group.py
http.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
httpx_client.py
icon.py
importlib.py Add a helper to import modules from the event loop (#113169) 2024-03-14 00:26:33 -04:00
instance_id.py
integration_platform.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
intent.py Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
issue_registry.py
json.py
label_registry.py
location.py
network.py Remove deprecated `hass.components` from network helper function (#113615) 2024-03-17 17:42:48 +01:00
normalized_name_base_registry.py
ratelimit.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
recorder.py
redact.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
registry.py Fix delayed registry check to only using the short delay at running (#113471) 2024-03-14 15:11:09 -10:00
reload.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
restore_state.py Migrate restore_state shutdown to use run_immediately (#113786) 2024-03-19 08:42:49 +01:00
schema_config_entry_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
script.py Fix empty delays in script helper (#114346) 2024-03-28 20:42:21 +01:00
script_variables.py
selector.py Add label selector (#111029) 2024-03-26 20:31:06 +01:00
sensor.py
service.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
signal.py
significant_change.py
singleton.py
start.py Run coroutines as eager tasks in async_run_hass_job (#111683) 2024-03-11 20:05:08 -04:00
state.py
storage.py Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
sun.py
system_info.py Fix system_info importing hassio in the event loop (#113903) 2024-03-20 12:06:40 -10:00
temperature.py
template.py Add label template functions (#111024) 2024-03-26 10:32:29 +01:00
trace.py
translation.py Avoid creating unneeded Context and Event objects when firing events (#113798) 2024-03-20 09:40:06 +01:00
trigger.py
trigger_template_entity.py
typing.py
update_coordinator.py Run coordinator shutdown eagerly (#113174) 2024-03-13 17:33:50 +01:00