core/homeassistant/components/hue/v2
J. Nick Koston 4d39a85553
Avoid creating many tasks when adding hue v2 entities (#110386)
Each entity creation would call async_add_entities which spawned a
seperate task

fixes
```
2024-02-12 18:06:09.819 WARNING (MainThread) [asyncio] Executing <Task pending name='config entry forward setup Philips Hue 2 hue fcb64edfc5ac2edbb656607d5193b583 light' coro=<ConfigEntries.async_forward_entry_setup() running at /usr/src/homeassistant/homeassistant/config_entries.py:1597> wait_for=<Future pending cb=[shield.<locals>._outer_done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:922, Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/base_events.py:447> cb=[gather.<locals>._done_callback() at /usr/local/lib/python3.12/asyncio/tasks.py:767] created at /usr/local/lib/python3.12/asyncio/tasks.py:420> took 1.260 seconds
```
2024-02-13 13:04:29 +01:00
..
__init__.py
binary_sensor.py Avoid creating many tasks when adding hue v2 entities (#110386) 2024-02-13 13:04:29 +01:00
device.py
device_trigger.py
entity.py
group.py
helpers.py
hue_event.py
light.py Avoid creating many tasks when adding hue v2 entities (#110386) 2024-02-13 13:04:29 +01:00
sensor.py Avoid creating many tasks when adding hue v2 entities (#110386) 2024-02-13 13:04:29 +01:00