hass-core/homeassistant
J. Nick Koston f4922edb4b
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 00:29:43 -04:00
..
auth Migrate auth to use async_import_module to avoid blocking I/O in the event loop (#113387) 2024-03-14 10:44:36 +01:00
backports Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
brands Add Motionblinds brand (#114235) 2024-03-27 08:02:25 +01:00
components Don't access States.last_reported_ts before it's added (#114333) 2024-03-28 00:44:01 +01:00
generated Support the Home Assistant Connect ZBT-1 (#114213) 2024-03-27 18:20:48 +01:00
helpers Fix empty delays in script helper (#114346) 2024-03-28 00:29:43 -04:00
scripts Avoid creating unneeded Context and Event objects when firing events (#113798) 2024-03-20 09:40:06 +01:00
util Allow float for int argument type [pylint plugin] (#114105) 2024-03-27 11:51:27 +01:00
__init__.py
__main__.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
block_async_io.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
bootstrap.py Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
config.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
config_entries.py Use SignalType to improve typing [core] (#114298) 2024-03-27 14:25:02 +01:00
const.py Bump version to 2024.5.0dev0 (#114324) 2024-03-27 19:43:38 +01:00
core.py Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
data_entry_flow.py Update mypy-dev to 1.10.0a3 (#114289) 2024-03-27 12:32:29 +01:00
exceptions.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
loader.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
package_constraints.txt Update frontend to 20240327.0 (#114322) 2024-03-27 18:21:45 +01:00
requirements.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
runner.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
setup.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
strings.json Smhi add reconfigure step to config flow (#114044) 2024-03-23 11:01:59 +01:00