Commit Graph
72205 Commits
Author SHA1 Message Date
198cf28a2a Update MELCloud codeowners (#109793)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-02-06 13:27:50 +01:00
Erik MontnemeryandGitHub 1519df6e55 Improve typing of cloud HTTP API (#109780) 2024-02-06 13:09:14 +01:00
Åke StrandbergandGitHub 25f065a980 Add myuplink sensor descriptions for current and frequency sensors (#109784)
Add device_descriptions for current and frequency sensors
2024-02-06 12:40:03 +01:00
Marc MuellerandGitHub 5de76c0be0 Include exception when reraising inside except (#109706) 2024-02-06 12:17:39 +01:00
Steven BandGitHub 6701806ed2 Use has_capability instead of hasattr for ring history (#109791) 2024-02-06 10:55:03 +01:00
MatrixandGitHub b8c4821e48 Bump yolink-api to 0.3.7 (#109776) 2024-02-06 10:52:41 +01:00
tronikosandGitHub d4c235622f Break long strings in Google generative ai conversation (#109771)
* Update test_init.py

* Update __init__.py
2024-02-06 10:50:58 +01:00
Steven BandGitHub f8862f64a1 Bump ring_doorbell to 0.8.7 (#109783) 2024-02-06 10:10:43 +01:00
Jan BouwhuisandGitHub 6ca002a6f4 Improve tests of mqtt device triggers (#108318)
Improve tests on mqtt device triggers
2024-02-06 09:38:15 +01:00
Jan BouwhuisandGitHub 00947b708f Remove aux heat support from mqtt climate (#109513) 2024-02-06 09:37:39 +01:00
Jan-Philipp BeneckeandGitHub 29462fc991 Change state class of Tesla wall connector session energy entity (#109778) 2024-02-06 09:34:02 +01:00
Joost LekkerkerkerandGitHub cc4274bcc0 Fix Radarr health check singularity (#109762)
* Fix Radarr health check singularity

* Fix comment
2024-02-06 07:18:33 +01:00
TheJulianJESandGitHub 61ce328ce1 Fix docstring length in ZHA sensor class (#109774)
Fix ZHA sensor docstring length
2024-02-06 03:00:45 +01:00
G JohanssonandGitHub 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
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
TheJulianJESandGitHub 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. MulcaheyandGitHub 13bc018e23 Buffer JsonDecodeError in Flo (#109767) 2024-02-05 18:39:56 -05:00
Erik MontnemeryandGitHub 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 KostonandGitHub 6fce8a5403 Avoid linear search of the entity registry in ps4 (#109723) 2024-02-05 17:25:12 -05:00
J. Nick KostonandGitHub 440212ddce Reduce dict lookups in entity registry indices (#109712) 2024-02-05 17:23:53 -05:00
J. Nick KostonandGitHub 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 VuorinenandGitHub e399bebbcd Fix compatibility issues with older pymelcloud version (#109757) 2024-02-05 22:30:20 +01:00
G JohanssonandGitHub 4119d20f87 Bump holidays to 0.42 (#109760) 2024-02-05 15:59:02 -05:00
J. Nick KostonandGitHub 908cedf981 Avoid linear search of entity registry in async_clear_config_entry (#109724) 2024-02-05 14:12:16 -06:00
J. Nick KostonandGitHub e9a41e5023 Avoid linear search in entity registry to clear an area (#109735) 2024-02-05 13:53:33 -06:00
JirkaandGitHub 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 HansenandGitHub 5b1e0b2602 Set default for OSTYPE in run-in-env script (#109731) 2024-02-05 20:23:52 +01:00
Erik MontnemeryandGitHub 49a99559c7 Remove lru cache size limit of TemperatureConverter (#109726) 2024-02-05 20:21:04 +01:00
Jan BouwhuisandGitHub 94ccd59123 Fix generic camera error when template renders to an invalid URL (#109737) 2024-02-05 20:19:38 +01:00
MichaelandGitHub 45f44e9216 Use tracked entity friendly name for proximity sensors (#109744)
user tracked entity friendly name
2024-02-05 20:18:59 +01:00
Vilppu VuorinenandGitHub 189f3dacfb Reduce MELCloud poll frequency to avoid throttling (#109750) 2024-02-05 20:18:01 +01:00
G JohanssonandGitHub 3752e14362 Add missing new climate feature flags to Mill (#109748) 2024-02-05 20:17:13 +01:00
Bouwe WesterdijkandGitHub 2899c296a8 Fix incorrectly assigning supported features for plugwise climates (#109749) 2024-02-05 20:15:51 +01:00
Joost LekkerkerkerandGitHub 2318d28127 Handle startup error in Analytics insights (#109755) 2024-02-05 20:14:34 +01:00
Erik MontnemeryandGitHub 9d42455955 Move async_deinitialize to google_assistant AbstractConfig (#109736) 2024-02-05 19:53:22 +01:00
Simone ChemelliandGitHub 3294506190 Queue climate calls for Comelit SimpleHome (#109707) 2024-02-05 18:52:58 +01:00
Cyrill RaccaudandGitHub 53d46acc50 Bump python-bring-api to 3.0.0 (#109720) 2024-02-05 18:51:01 +01:00
Marc MuellerandGitHub ed7307cdaf Use builtin TimeoutError [socket.timeout] (#109704) 2024-02-05 18:46:11 +01:00
Marc MuellerandGitHub 46f8fb3ac1 Use builtin TimeoutError [misc] (#109703) 2024-02-05 18:45:16 +01:00
Jan BouwhuisandGitHub 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
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 KostonandGitHub 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 LekkerkerkerandGitHub 8df305c881 Remove obsolete check from Proximity (#109701) 2024-02-05 16:32:39 +01:00
Joost LekkerkerkerandGitHub aaff8a8c62 Add strings to Ruuvitag BLE (#109717) 2024-02-05 16:26:25 +01:00
Bram KragtenandGitHub 0e9628bba0 Update frontend to 20240205.0 (#109716) 2024-02-05 16:09:33 +01:00
Joost LekkerkerkerandGitHub 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 MontnemeryandGitHub ebda0472e9 Bump hass-nabucasa from 0.76.0 to 0.77.0 (#109699) 2024-02-05 15:11:39 +01:00
Joakim SørensenandGitHub d49eff651b Fix log string in Traccar Server Coordinator (#109709) 2024-02-05 15:10:32 +01:00
Marc MuellerandGitHub bf8bd5ff21 Use dict.get instead of inline if (#109693) 2024-02-05 13:56:10 +01:00
Erik MontnemeryandGitHub 30710815f0 Add test of remote enabling of remote UI (#109698) 2024-02-05 13:07:57 +01:00