1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00
Commit Graph

73399 Commits

Author SHA1 Message Date
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
J. Nick Koston c78cccf7d2 Import shelly in the executor to avoid blocking the event loop (#111623)
`[homeassistant.loader] Component shelly import took 0.396 seconds (loaded_executor=False)`
2024-02-27 08:35:57 -05:00
J. Nick Koston 55e3eb6160 Import airvisual in the executor to avoid blocking the event loop (#111624)
`Component airvisual import took 0.566 seconds (loaded_executor=False)`
2024-02-27 08:35:46 -05:00
J. Nick Koston 7fbd10019a Import xbox in the executor to avoid blocking the event loop (#111625)
`Component xbox import took 0.326 seconds (loaded_executor=False)
`
2024-02-27 08:35:33 -05:00
Nils Bergmann 08497db358 Extend ZHA thermostat local temperature calibration range for Sonoff TRVZB (#109691)
* Extend thermostat local temperature calibration range

* Extend thermostat local temperature calibration range only for TRVZB

* Change _attr_native_min_value and _attr_native_max_value back to -2.5 and 2.5

* Adjust _attr_native_step for TRVZB to 0.2

* Implement requested changes

* Fix platform for MULTI_MATCH

* Implement requested changes

* Implement requested changes
2024-02-27 08:32:23 -05:00
Robert Resch d7fb949994 Deprecate mailbox platform (#110930) 2024-02-27 13:50:02 +01:00
Erik Montnemery 8fb542917b Deprecate the Ambiclimate integration (#111627)
Deprecate Ambiclimate integration
2024-02-27 13:45:12 +01:00
Brenan Kelley 458c5ae657 Add statistics keep_last_sample option (#88655)
* introduce preserve last value option

* improve comments

* add unit test

* skip scheduling purge on a preserved value

* do not schedule sensor update if preserving last value

* fix unit test to use new mock time pattern

pattern introduced in https://github.com/home-assistant/core/pull/93499

* rename preserve_last_val to keep_last_sample

* add keep_last_sample config validation
2024-02-27 13:17:05 +01:00
J. Nick Koston 4414b468f3 Import zwave_js in the executor to avoid blocking the event loop (#111622)
`2024-02-27 10:55:54.872 DEBUG (MainThread) [homeassistant.loader] Component zwave_js import took 0.780 seconds (loaded_executor=False)`
2024-02-27 13:14:27 +01:00
David F. Mulcahey 5d1b78a29d Add device list to ZHA config entry diagnostics (#111549)
* Add device list to ZHA  config entry diagnostics

* add logical type
2024-02-27 06:44:26 -05:00
Marc Mueller e854ce5c21 Update typing-extensions to 4.10.0 (#111538) 2024-02-27 12:33:31 +01:00
Marc Mueller adbd9c8d40 Update python-slugify to 8.0.4 (#111284) 2024-02-27 12:29:48 +01:00