Commit graph

72294 commits

Author SHA1 Message Date
Joost Lekkerkerker cc4274bcc0
Fix Radarr health check singularity (#109762)
* Fix Radarr health check singularity

* Fix comment
2024-02-06 07:18:33 +01:00
TheJulianJES 61ce328ce1
Fix docstring length in ZHA sensor class (#109774)
Fix ZHA sensor docstring length
2024-02-06 03:00:45 +01:00
G Johansson 1706156faf
Add Process binary sensor in System Monitor (#108585)
* Process binary sensor in System Monitor

* Add repair flow

* add issue

* add platform

* fix repair

* Tests

* Fix tests

* add minor version

* migrate

* Mod repairs

* Fix tests

* config flow test

* Last fixes

* Review comments

* Remove entities during repair

* Remove snapshot
2024-02-06 02:09:05 +01:00
suaveolent 668d036f71
Improve lupusec code quality (#109727)
* renamed async_add_devices

* fixed typo

* patch class instead of __init__

* ensure non blocking get_alarm

* exception handling

* added test case for json decode error

* avoid blockign calls

---------

Co-authored-by: suaveolent <suaveolent@users.noreply.github.com>
2024-02-06 01:20:14 +01:00
TheJulianJES 965f31a9e0
Fix ZHA creating unnecessary "summ received" entity after upgrade (#109268)
* Do not create `current_summ_received` entity until initialized once

* Update zha_devices_list.py to not expect summation received entities

The attribute isn't initialized for these devices in the test (which our check now expects it to be), hence we need to remove them from this list.

* Update sensor tests to have initial state for current_summ_received entity

The attribute needs to be initialized for it to be created which we do by plugging the attribute read.
The test expects the initial state to be "unknown", but hence we plugged the attribute (to create the entity), the state is whatever we plug the attribute read as.

* Update sensor tests to expect not updating current_summ_received entity if it doesn't exist
2024-02-05 19:12:56 -05:00
David F. Mulcahey 13bc018e23
Buffer JsonDecodeError in Flo (#109767) 2024-02-05 18:39:56 -05:00
Erik Montnemery b7284b92ac
Clean up Alexa when logging out from cloud (#109738)
* Clean up Alexa when logging out from cloud

* Add test
2024-02-05 23:58:34 +01:00
J. Nick Koston 6fce8a5403
Avoid linear search of the entity registry in ps4 (#109723) 2024-02-05 17:25:12 -05:00
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
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 Reeb 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
Marcel van der Veldt 682fff73f5
Bump python matter server to 5.4.1 (#109692) 2024-02-05 12:40:40 +01:00
Joost Lekkerkerker 8022d758ea
Add data descriptions to analytics insights (#109694) 2024-02-05 12:30:09 +01:00
Erik Montnemery f1d3c417f9
Remove homeassistant_yellow config entry if hassio is not present (#109686) 2024-02-05 12:29:25 +01:00
Erik Montnemery 048d9e75e6
Remove homeassistant_green config entry if hassio is not present (#109685) 2024-02-05 12:26:58 +01:00
J. Nick Koston 40166ed51e
Avoid linear search of device registry when no areas are referenced in service calls (#109669) 2024-02-05 12:26:08 +01:00
Erik Montnemery 93e0810938
Remove hardkernel config entry if hassio is not present (#109680) 2024-02-05 12:25:26 +01:00
Erik Montnemery c096ac56db
Remove raspberry_pi config entry if hassio is not present (#109687) 2024-02-05 12:23:30 +01:00
Marc Mueller 8b0c9d3d18
Use builtin TimeoutError [t-z] (#109683) 2024-02-05 12:20:36 +01:00
Marc Mueller 438d3b01b9
Use builtin TimeoutError [o-s] (#109682) 2024-02-05 12:14:37 +01:00
Marc Mueller cd0ee98dba
Use builtin TimeoutError [core + helpers] (#109684) 2024-02-05 12:09:54 +01:00