core/tests/components/homeassistant
J. Nick Koston 3a06659120
Speed up single entity/response service calls (#96729)
* Significantly speed up single entity/response service calls

Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather

* Significantly speed up single entity/response service calls

Since the majority of service calls are single entity, we can
avoid creating tasks in this case. Since the multi-entity
service calls always check the result and raise, we can switch
the asyncio.wait to asyncio.gather

* revert

* cannot be inside pytest.raises

* one more

* Update homeassistant/helpers/service.py
2023-07-17 09:33:13 +02:00
..
snapshots Use ReadOnlyDict for entity registry options (#93824) 2023-05-30 20:11:39 -04:00
triggers Speed up single entity/response service calls (#96729) 2023-07-17 09:33:13 +02:00
__init__.py
test_exposed_entities.py Allow setting google disable 2fa flag on any entity (#92403) 2023-05-03 09:55:38 -04:00
test_init.py Rename custom_jinja to custom_templates (#90473) 2023-03-29 21:58:25 +02:00
test_scene.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00