Commit Graph
87719 Commits
Author SHA1 Message Date
J. Nick Koston 440212ddce Reduce dict lookups in entity registry indices (#109712) 2024-02-05 17:23:53 -05:00
J. Nick Koston f73431ac06 Switch utc_to_timestamp to .timestamp() where possible (#109729)
* Switch utc_to_timestamp to .timestamp()

.timestamp() is faster now in newer cpython

```
from homeassistant.util.dt import utc_to_timestamp, utcnow
import timeit
now = utcnow()
print(timeit.timeit('utc_to_timestamp(now)',globals={"now":now,"utc_to_timestamp":utc_to_timestamp}))
print(timeit.timeit('now.timestamp()',globals={"now":now}))
```

utc_to_timestamp = 0.18721245788037777
timestamp = 0.11421508435159922

* compat

* revert

* revert

* revert

* revert

* revert
2024-02-05 23:04:52 +01:00
Vilppu Vuorinen e399bebbcd Fix compatibility issues with older pymelcloud version (#109757) 2024-02-05 22:30:20 +01:00
G Johansson 4119d20f87 Bump holidays to 0.42 (#109760) 2024-02-05 15:59:02 -05:00
J. Nick Koston 908cedf981 Avoid linear search of entity registry in async_clear_config_entry (#109724) 2024-02-05 14:12:16 -06:00
J. Nick Koston e9a41e5023 Avoid linear search in entity registry to clear an area (#109735) 2024-02-05 13:53:33 -06:00
Jirka d27ca83694 Fix string in xiaomi_ble (#109758)
Update strings.json

Fixed typo:
From
"rotate_right_pressed": "Rotate left (pressed)"
to
"rotate_right_pressed": "Rotate right (pressed)"
2024-02-05 21:50:37 +02:00
Franck Nijhof df88335370 Bump version to 2024.2.0b8 2024.2.0b8 2024-02-05 20:27:40 +01:00
Joost Lekkerkerker 4c6c5ee63d Handle startup error in Analytics insights (#109755) 2024-02-05 20:27:29 +01:00
Vilppu Vuorinen 65476914ed Reduce MELCloud poll frequency to avoid throttling (#109750) 2024-02-05 20:27:26 +01:00
Bouwe Westerdijk d30a2e3611 Fix incorrectly assigning supported features for plugwise climates (#109749) 2024-02-05 20:27:23 +01:00
G Johansson eb510e3630 Add missing new climate feature flags to Mill (#109748) 2024-02-05 20:27:20 +01:00
Michael 532df5b5f1 Use tracked entity friendly name for proximity sensors (#109744)
user tracked entity friendly name
2024-02-05 20:27:17 +01:00
Jan Bouwhuis 1534f99c80 Fix generic camera error when template renders to an invalid URL (#109737) 2024-02-05 20:27:14 +01:00
Cyrill Raccaud a19aa9595a Bump python-bring-api to 3.0.0 (#109720) 2024-02-05 20:27:11 +01:00
Joost Lekkerkerker e3191d098f Add strings to Ruuvitag BLE (#109717) 2024-02-05 20:27:08 +01:00
Bram Kragten cc36071612 Update frontend to 20240205.0 (#109716) 2024-02-05 20:27:04 +01:00
Joakim Sørensen 2d90ee8237 Fix log string in Traccar Server Coordinator (#109709) 2024-02-05 20:27:01 +01:00
Simone Chemelli 16266703df Queue climate calls for Comelit SimpleHome (#109707) 2024-02-05 20:26:58 +01:00
Joost Lekkerkerker dd2cc52119 Set Analytics Insights as diagnostic (#109702)
* Set Analytics Insights as diagnostic

* Set Analytics Insights as diagnostic
2024-02-05 20:26:54 +01:00
Joost Lekkerkerker c48c8c25fa Remove obsolete check from Proximity (#109701) 2024-02-05 20:26:51 +01:00
Joost Lekkerkerker 83a5659d57 Set shorthand attribute in Epion (#109695) 2024-02-05 20:26:48 +01:00
Joost Lekkerkerker 3183cd346d Add data descriptions to analytics insights (#109694) 2024-02-05 20:26:45 +01:00
Marcel van der Veldt 5930c841d7 Bump python matter server to 5.4.1 (#109692) 2024-02-05 20:26:42 +01:00
Myles Eftos f05ba22b5c Show site state in Amberelectric config flow (#104702) 2024-02-05 20:26:38 +01:00
Michael Hansen 5b1e0b2602 Set default for OSTYPE in run-in-env script (#109731) 2024-02-05 20:23:52 +01:00
Erik Montnemery 49a99559c7 Remove lru cache size limit of TemperatureConverter (#109726) 2024-02-05 20:21:04 +01:00
Jan Bouwhuis 94ccd59123 Fix generic camera error when template renders to an invalid URL (#109737) 2024-02-05 20:19:38 +01:00
Michael 45f44e9216 Use tracked entity friendly name for proximity sensors (#109744)
user tracked entity friendly name
2024-02-05 20:18:59 +01:00
Vilppu Vuorinen 189f3dacfb Reduce MELCloud poll frequency to avoid throttling (#109750) 2024-02-05 20:18:01 +01:00
G Johansson 3752e14362 Add missing new climate feature flags to Mill (#109748) 2024-02-05 20:17:13 +01:00
Bouwe Westerdijk 2899c296a8 Fix incorrectly assigning supported features for plugwise climates (#109749) 2024-02-05 20:15:51 +01:00
Joost Lekkerkerker 2318d28127 Handle startup error in Analytics insights (#109755) 2024-02-05 20:14:34 +01:00
Erik Montnemery 9d42455955 Move async_deinitialize to google_assistant AbstractConfig (#109736) 2024-02-05 19:53:22 +01:00
Simone Chemelli 3294506190 Queue climate calls for Comelit SimpleHome (#109707) 2024-02-05 18:52:58 +01:00
Cyrill Raccaud 53d46acc50 Bump python-bring-api to 3.0.0 (#109720) 2024-02-05 18:51:01 +01:00
Marc Mueller ed7307cdaf Use builtin TimeoutError [socket.timeout] (#109704) 2024-02-05 18:46:11 +01:00
Marc Mueller 46f8fb3ac1 Use builtin TimeoutError [misc] (#109703) 2024-02-05 18:45:16 +01:00
Jan Bouwhuis 5dfffb0818 Allow weight to be used as total_increasing state_class for sensors (#108505)
* Allow weight to be used as total_increasing state_class for sensors

* Add SensorStateClass.TOTAL
2024-02-05 18:01:06 +01:00
Pascal ReebandMartin Hjelmare be6399410e Use a single call to add entities in Nuki (#109696)
* Nuki: use a single call to add entities

* Clean up list addition

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-05 17:09:18 +01:00
J. Nick Koston 6f28d79651 Copy callbacks instead of slice for event dispatch (#109711)
We established copy is faster in
https://github.com/home-assistant/core/pull/108428#discussion_r1466932262
2024-02-05 17:07:21 +01:00
Joost Lekkerkerker 8df305c881 Remove obsolete check from Proximity (#109701) 2024-02-05 16:32:39 +01:00
Joost Lekkerkerker aaff8a8c62 Add strings to Ruuvitag BLE (#109717) 2024-02-05 16:26:25 +01:00
Bram Kragten 0e9628bba0 Update frontend to 20240205.0 (#109716) 2024-02-05 16:09:33 +01:00
Joost Lekkerkerker 3bcd367b65 Set Analytics Insights as diagnostic (#109702)
* Set Analytics Insights as diagnostic

* Set Analytics Insights as diagnostic
2024-02-05 16:03:14 +01:00
Erik Montnemery ebda0472e9 Bump hass-nabucasa from 0.76.0 to 0.77.0 (#109699) 2024-02-05 15:11:39 +01:00
Joakim Sørensen d49eff651b Fix log string in Traccar Server Coordinator (#109709) 2024-02-05 15:10:32 +01:00
Marc Mueller bf8bd5ff21 Use dict.get instead of inline if (#109693) 2024-02-05 13:56:10 +01:00
Erik Montnemery 30710815f0 Add test of remote enabling of remote UI (#109698) 2024-02-05 13:07:57 +01:00
Joost Lekkerkerker 70ceddf165 Set shorthand attribute in Epion (#109695) 2024-02-05 12:41:25 +01:00