Commit Graph

73410 Commits

Author SHA1 Message Date
J. Nick Koston
b9718fe2e9 Avoid tracking tasks that finish right away (#111690) 2024-02-27 19:09:34 -10:00
Joost Lekkerkerker
470d121f5c Add icon translations to Flume (#111543) 2024-02-27 18:36:12 -10:00
J. Nick Koston
78bb6dbe75 Reduce latency in storage by making the tasks eager (#111500)
* Reduce latancy to load storage by making the task eager

This changes the semantics a bit under the hood because it
can raise sooner which means we do not store the task
as _load_task if it raises right away. That means
concurrent calls that result in failure are likely to try
again now which will be a tiny performance hit for this
case.

* fix

* will now finish in time
2024-02-27 23:27:37 -05:00
J. Nick Koston
e74e1e3008 Reduce hassio setup time (#111686)
Reduce supervisor setup time

The two calls that take the most time are calling
push_config ~0.4s and updating the api ~0.35s and
can be run concurrently
2024-02-27 21:30:48 -05:00
J. Nick Koston
e62b709dea Reduce task overhead in homekit_controller (#111670) 2024-02-27 14:49:29 -10:00
Joost Lekkerkerker
147c261389 Add icon translations to Generic camera (#111612)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2024-02-27 13:42:56 -10:00
Bernhard B
1570977e9f Bump pysignalclirestapi to 0.3.23 (#111501) 2024-02-27 13:42:29 -10:00
Joost Lekkerkerker
2858d73abc Add icon translations to Foscam (#111546)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2024-02-27 13:41:44 -10:00
Joost Lekkerkerker
74a319f907 Add icon translations to Google (#111656)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2024-02-27 13:41:29 -10:00
Jan-Philipp Benecke
4e4345f04e Drop @bind_hass use from hassio component (#111522)
* Drop `@bind_hass` use from hassio component

* Add comment why we import locally

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-28 00:25:46 +01:00
Simone Chemelli
0e329d2572 Bump aioshelly to 8.1.1 (#111678) 2024-02-28 00:24:42 +01:00
J. Nick Koston
49eb664a05 Update httpx to 0.27.0 and httpcore to 1.0.4 (#111681) 2024-02-27 13:15:33 -10:00
J. Nick Koston
2b19783311 Await service calls in emulated_hue instead of making them blocking (#111674) 2024-02-27 12:44:27 -10:00
J. Nick Koston
105a1ca127 Use eager_start for homekit task creation (#111675) 2024-02-27 12:44:01 -10:00
J. Nick Koston
3c25e2a4bd Small speed up to Bluetooth setup (#111677) 2024-02-27 12:43:44 -10:00
J. Nick Koston
6abb8ae273 Migrate setup to use eager tasks (#111619) 2024-02-27 12:43:32 -10:00
Joost Lekkerkerker
9cf874d4a0 Add icon translations to Energyzero (#111513)
* Add icon translations to Energyzero

* Add icon translations to Energyzero
2024-02-27 23:41:07 +01:00
J. Nick Koston
c4d719a7cf Use eager_start for background service call tasks (#111620) 2024-02-27 12:06:32 -10:00
Jan-Philipp Benecke
c8b7f098e5 Avoid call to hass.helpers.store in FloorRegistry (#111554)
* Avoid call to `hass.helpers.store` in FloorRegistry

* Change type annotation
2024-02-27 23:03:28 +01:00
Jc2k
cf849664ba Cleanup BLE-only controls when migrating HomeKit BLE device to Thread (#110334)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-27 12:02:27 -10:00
Jan-Philipp Benecke
c890c1aeee Remove @bind_hass from camera functions (#111494)
* Remove `@bind_hass` from camera functions

* Pass hass to async_get_image in image_processing
2024-02-27 23:01:43 +01:00
J. Nick Koston
6c00d02d0b Use eager_start for shelly task creation (#111671) 2024-02-27 11:55:38 -10:00
Joost Lekkerkerker
99c1912ccd Add icon translations to Goalzero (#111630) 2024-02-27 22:49:59 +01:00
Arie Catsman
d8d44069b5 Add Grid import export to Enphase Envoy (#110884)
* Add Grid import export to enphase Envoy

* Update snapshot for labels dict element in entity registry

* use identity check for enum

* Revert use of identity check, didn't add entities

* Implement review feedback for tests

* ct phase sensors disabled by default

* import PHASENAMES from pyenphase

* Update tests/components/enphase_envoy/test_sensor.py

* Update tests/components/enphase_envoy/test_sensor.py

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-27 16:43:43 -05:00
Joost Lekkerkerker
a29d29ad85 Add icon translations to Google Assistant (#111657) 2024-02-27 22:30:27 +01:00
Joost Lekkerkerker
071835c761 Add icon translations to Google Generative AI Conversation (#111659) 2024-02-27 22:30:02 +01:00
Joost Lekkerkerker
5aa5bc406c Add icon translations to Google Mail (#111660) 2024-02-27 22:28:53 +01:00
Joost Lekkerkerker
d9486c1eb5 Add icon translations to Google Sheets (#111661) 2024-02-27 22:28:10 +01:00
Joost Lekkerkerker
81590ac887 Add icon translations to Goodwe (#111655) 2024-02-27 22:22:56 +01:00
Jan Čermák
d4a7e4a6ac Add ODROID-M1S as a supported OS hardware board (#111022) 2024-02-27 21:51:55 +01:00
Mike Degatano
68200de4d2 Bad Request from supervisor should be error (#111162) 2024-02-27 21:49:52 +01:00
Shay Levy
2a8e5ceea9 Fix Switcher test update CI failure (#111667) 2024-02-27 10:32:40 -10:00
J. Nick Koston
290ffd14a4 Bump aiohomekit to 3.1.5 (#111663) 2024-02-27 10:13:14 -10:00
Arie Catsman
850add120a Bump pyenphase to 1.19.1 (#111653) 2024-02-27 09:56:49 -10:00
J. Nick Koston
a6f4f6eae8 Use eager task creation to add entities to entity platform (#111553) 2024-02-27 09:54:51 -10:00
Robert Svensson
8da2c53742 Bump aiounifi to v72 (#111649) 2024-02-27 20:15:33 +01:00
Federico D'Amico
1109aba211 Add button platform to microBees (#111141)
* add button platform to microBees

* use list comprehension for async_add_entities

* add a transaltion_key and fix list comprehension

* add panic button

* remove BUTTON_PRODUCT_IDS
2024-02-27 19:41:42 +01:00
Erik Montnemery
fc4b18b907 Return FlowResultType.ABORT when violating single_config_entry (#111637)
* Return FlowResultType.ABORT when violating single_config_entry

* Fix translations

* Fix tests
2024-02-27 18:28:19 +01:00
Robert Svensson
4281f648d2 Break out UniFi get_unifi_api function (#111323)
Break out get api function
2024-02-27 18:20:06 +01:00
Erik Montnemery
6bd7a74fab Update list of integrations known to violate color mode rules (#111647) 2024-02-27 18:17:26 +01:00
J. Nick Koston
e25b097376 Import bluetooth in the executor to avoid blocking the event loop (#111596) 2024-02-27 07:05:39 -10:00
Joakim Sørensen
f622ddef47 Move backup/* WS commands to the backup integration (#111636)
Revert "Revert "Move backup/* WS commands to the backup integration" (#111136)"

This reverts commit 8f83426895.
2024-02-27 11:56:07 -05:00
Michael Hansen
890e651bdd Avoid race condition with UDP voice server starting in ESPHome (#111644)
* Avoid race condition with UDP server starting

* Fix test
2024-02-27 10:54:56 -06:00
Martin Hjelmare
00d11ff68e Fix rfxtrx flaky reconnect test (#111635) 2024-02-27 16:13:08 +01:00
Jan Rothkegel
887182c224 Wolflink connection pooling (#111483)
* Enable connection pooling

* Decrease polling frequency

* Replace client passing by instance instead of lambda
2024-02-27 15:59:52 +01:00
Erik Montnemery
6ccf7dea32 Always allow ignore and unignore flows for single config entry integrations (#111631)
* Always allow ignore and unignore flows for single config entry integrations

* Update tests/test_config_entries.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-27 15:47:56 +01:00
Jan-Philipp Benecke
070b411820 Avoid call to hass.helpers.store in LabelRegistry (#111555)
* Avoid call to `hass.helpers.store` in LabelRegistry

* Change type annotation
2024-02-27 09:37:45 -05:00
J. Nick Koston
773543b617 Ensure all data is set in seventeentrack before adding entities (#111603)
This integration would call async_add_entities before
it has set the data that the entity needed. There is
no guarantee that the entity would take long enough
to add that the data would be there
2024-02-27 08:47:31 -05:00
J. Nick Koston
08e0008d31 Use an eager task to setup entity platforms (#111574)
* Use an eager task to setup entity platforms

Ideally we would have awaited this function instead, but we want
to shield it from cancellation so we wrap it in asyncio.shield
which schedules it as a task. Since we have integrations that
never suspend in async_setup_entry, we can avoid scheduling on
the evnet loop with an eager task for this case

* its an executor future

* its an executor future

* fix

* doc string lied
2024-02-27 08:45:45 -05:00
Joost Lekkerkerker
224ca122fd Add icon translations to Fully kiosk (#111609)
* Add icon translations to Fully kiosk

* Update homeassistant/components/fully_kiosk/icons.json
2024-02-27 08:43:42 -05:00