core/tests/helpers
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
..
snapshots Add support for placeholders in entity name translations (#104453) 2024-01-03 17:34:47 +01:00
__init__.py
test_aiohttp_client.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_area_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_category_registry.py Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
test_check_config.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_collection.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_condition.py Fix spelling [docstrings + comments] (#114168) 2024-03-25 11:33:00 +01:00
test_config_entry_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_config_entry_oauth2_flow.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_config_validation.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_debounce.py Add the ability to create Debouncer tasks as background tasks (#113128) 2024-03-12 08:41:12 -04:00
test_deprecation.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_device_registry.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_discovery.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_discovery_flow.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_dispatcher.py Move SignalTypes to util (#114236) 2024-03-27 08:41:44 +01:00
test_entity.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_entity_component.py Reverse component path (#104087) 2023-12-05 08:43:58 +01:00
test_entity_platform.py Do not override state property in `MockEntity` (#114231) 2024-03-27 11:36:00 +01:00
test_entity_registry.py Remove async_get_device_class_lookup from entity_registry (#114212) 2024-03-26 09:22:53 +01:00
test_entity_values.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_entityfilter.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_event.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
test_floor_registry.py Default floor level to None (and allow unsetting it) (#114249) 2024-03-26 18:58:25 +01:00
test_frame.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_group.py Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
test_httpx_client.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_icon.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_importlib.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_init.py
test_instance_id.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_integration_platform.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_intent.py Add new intents for cover, valve, vacuum, and media player (#110757) 2024-02-19 22:28:42 -05:00
test_issue_registry.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_json.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_label_registry.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_location.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_network.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_normalized_name_base_registry.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_ratelimit.py Refactor rate limit helper to track time in seconds (#113898) 2024-03-20 19:49:37 -04:00
test_recorder.py
test_redact.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_registry.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_reload.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_restore_state.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_schema_config_entry_flow.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_script.py Fix empty delays in script helper (#114346) 2024-03-28 00:29:43 -04:00
test_script_variables.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_selector.py Add label selector (#111029) 2024-03-26 20:31:06 +01:00
test_service.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_significant_change.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_singleton.py Enable Ruff rule PT007 (#113764) 2024-03-19 09:01:07 +01:00
test_start.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_state.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_storage.py Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
test_storage_remove.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_sun.py Migrate non-component tests to use freezegun/freezer (#105142) 2023-12-07 22:58:09 +01:00
test_system_info.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_temperature.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_template.py Add label template functions (#111024) 2024-03-26 10:32:29 +01:00
test_translation.py Bump ruff to 0.3.4 (#112690) 2024-03-26 00:02:16 +01:00
test_trigger.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
test_update_coordinator.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00