Commit Graph
12242 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub a8aa0e1cca Add Estimated Database Size to the recorder system health (#71463) 2022-05-07 21:02:54 -07:00
Paulus SchoutsenandGitHub e35a5a1a28 Fix other enums in helpers (#71505) 2022-05-07 20:57:48 -07:00
J. Nick KostonandGitHub 523828c81e Ensure sql sensors keep working after using the options flow (#71453)
* Ensure sql sensors keep working after using the options flow

Fixes
```
2022-05-06 16:17:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sql platform for sensor
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 97, in async_setup_entry
    name: str = entry.options[CONF_NAME]
KeyError: name
```

* ensure saving the options flow fixes the broken config entry

* ensure options changes take effect right away

* Add cover to validate the reload
2022-05-07 14:18:40 -07:00
Álvaro Fernández RojasandGitHub 21cee3b1c4 airzone: improve diagnostics (#71488)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-07 23:13:12 +03:00
Paulus SchoutsenandGitHub b1a04302b5 Stringify enums in selectors (#71441) 2022-05-06 11:25:01 -07:00
G JohanssonandGitHub e5619f4af1 Remove yaml import trafikverket_train (#71410) 2022-05-06 14:27:12 +03:00
G JohanssonandGitHub 5931f6598a Add tests for Sensibo (#71148)
* Initial commit

* Check temperature missing

* fix temp is none

* Fix parallell

* Commit to save

* Fix tests

* Fix test_init

* assert 25

* Adjustments tests

* Small removal

* Cleanup

* no hass.data

* Adjustment test_coordinator

* Minor change test_coordinator
2022-05-06 10:05:15 +03:00
d612b9e0b4 Reduce event loop overhead for listeners that already queue (#71364)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-05 23:09:10 -04:00
c22cf3b3d2 Add buttons to Ring chime devices to play ding and motion chimes (#71370)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-05 16:12:51 -07:00
Paulus SchoutsenandGitHub c8f95b7dfc Ignore loading system entity category (#71361) 2022-05-05 14:33:37 -07:00
353cc0b8c2 Fix importing blueprints (#71365)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-05 14:33:17 -07:00
d9a7c4a483 Only lookup unknown Google Cast models once (#71348)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-05 11:04:00 -07:00
Erik MontnemeryandGitHub 203bebe668 Include all non-numeric sensor events in logbook (#71331) 2022-05-05 13:16:36 -04:00
e3433008a2 Upgrade huawei-lte-api to 1.6.0, adapt to it (#71041)
* Upgrade huawei-lte-api to 1.6.0, adapt to it

https://github.com/Salamek/huawei-lte-api/releases/tag/1.5
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.1
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.2
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.3
https://github.com/Salamek/huawei-lte-api/releases/tag/1.5.4
https://github.com/Salamek/huawei-lte-api/releases/tag/1.6

* Fix logout on config flow

Co-authored-by: Antonino Piazza <antpza@gmail.com>
2022-05-05 19:37:32 +03:00
Antoni CzaplickiandGitHub 191230f535 Refactor vulcan integration (#71175) 2022-05-05 14:32:36 +02:00
Álvaro Fernández RojasandGitHub 6a35c3f2ab Update aioairzone to v0.4.3 (#71312)
* Update aioairzone to v0.4.3

Fixes exception on older local API.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: switch to set_hvac_parameters function

Fixes failing airzone tests.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-05 10:06:23 +03:00
Michael ChisholmandGitHub eebf3acb93 Relax dlna_dmr filtering when browsing media (#69576)
* Fix incorrect types of test data structures

* Loosen MIME-type filtering for async_browse_media

* Add option to not filter results when browsing media

Some devices do not report all that they support, and in this case
filtering will hide media that's actually playable. Most devices are OK,
though, and it's better to hide what they can't play. Add an option, off by
default, to show all media.

* Fix linting issues
2022-05-04 22:22:15 -07:00
epenetandGitHub db08c04da6 Only test for EncryptedBridge in Samsung J/H models (#71291) 2022-05-04 22:15:24 -07:00
eb77f8db85 Complete strict typing for recorder (#71274)
* Complete strict typing for recorder

* update tests

* Update tests/components/recorder/test_migrate.py

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

* Update tests/components/recorder/test_migrate.py

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

* Remove the asserts

* remove ignore comments

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-04 12:22:50 -05:00
J. Nick KostonandGitHub 13ce0a7d6a Fix history using pre v25 queries during v26 migration (#71295) 2022-05-04 08:56:50 -07:00
Thomas DietrichandGitHub f2d6a06a6a Add additional characteristics to the statistics integration (#62631)
* Improve config checking, add device_class timestamp

* Improve warning message
2022-05-04 15:57:56 +02:00
Erik MontnemeryandGitHub 1df99badcf Allow scripts to turn themselves on (#71289) 2022-05-04 15:54:37 +02:00
Joakim SørensenandGitHub 03ab9d07a8 Remove more info links for hassio system health (#71286) 2022-05-04 15:47:24 +02:00
ollo69andGitHub ee8eac10c9 Address late review of AsusWRT unique id PR (#71281) 2022-05-04 11:39:55 +02:00
Paulus SchoutsenandGitHub 6e675d6f07 Fix homekit tests in beta (#71268) 2022-05-03 14:09:35 -07:00
ollo69andGitHub 93153b3790 Add UniqueID to AsusWRT config entry (#70478) 2022-05-03 13:56:57 -07:00
J. Nick KostonandGitHub e30940ef2a Move processing of recorder service call arguments into services.py (#71260) 2022-05-03 13:56:22 -07:00
Erik MontnemeryandGitHub e9abfad361 Reject MQTT topics which include control- or non-characters (#71263) 2022-05-03 12:19:43 -07:00
J. Nick KostonandGitHub 236d8aa277 Avoid recording static attributes for group entities (#71256) 2022-05-03 13:22:49 -05:00
J. Nick KostonandGitHub e1be6dd34f Move recorder services to services.py (#71249) 2022-05-03 10:38:44 -07:00
J. Nick KostonandGitHub 60bfcc6be4 Allow hidden entities to be selected in homekit include mode (#71250) 2022-05-03 09:47:13 -07:00
Erik MontnemeryandGitHub eba125b093 Ensure 'this' variable is always defined for template entities (#70911) 2022-05-03 07:43:44 -07:00
J. Nick KostonandGitHub b562416eb2 Remove humidify_supported and dehumidify_supported attributes from nexia (#71248)
These non-standard attributes can already be infered from the dehumidify_setpoint
or humidify_setpoint and took up space in the database every time
any of the values changes
2022-05-03 17:33:50 +03:00
Erik MontnemeryandGitHub eb10654e01 Add test for failing conditions in sub scripts (#71238) 2022-05-03 13:06:13 +02:00
Franck NijhofandGitHub 99360ad7f4 Indicate disabled steps in script trace (#71237) 2022-05-03 13:04:59 +02:00
Erik MontnemeryandGitHub 92f1855bcf Fix script conditions (#71235) 2022-05-03 11:28:08 +02:00
Erik MontnemeryandGitHub 1931600eac Isolate parallel subscripts (#71233) 2022-05-03 10:36:58 +02:00
J. Nick KostonandGitHub 29bda196b5 Break apart recorder into tasks and core modules (#71222) 2022-05-02 21:53:56 -07:00
J. Nick KostonandGitHub 75026f9fed Separate recorder logic for state_changed and non-state_changed events (#71204) 2022-05-02 17:22:53 -05:00
ollo69andGitHub ea456893f9 Review AndroidTV tests for media player entity (#71168) 2022-05-02 15:18:38 -07:00
J. Nick KostonandGitHub 188040b8bb Use lambda_stmt for recorder queries and migrate them to queries module (#71219) 2022-05-02 15:17:21 -07:00
Paulus SchoutsenandGitHub 40cf75844a Add media source support to Bose Soundtouch (#71209) 2022-05-02 20:02:20 +02:00
Yuval AboulafiaandGitHub 7c46eb5952 Add test for incorrect config for Jewish Calendar (#71163)
* Loop load Jewish Calendar platforms

* Address review

* Add test for incorrect config

* add test to sensor platform
2022-05-02 20:52:00 +03:00
Paulus SchoutsenandGitHub 0926470ef0 Skip signing URL that we know requires no auth (#71208) 2022-05-02 19:51:13 +02:00
Erik MontnemeryandGitHub 1aaf78ef99 Remove entity category system in favor of hidden_by (#68550) 2022-05-02 09:33:16 -07:00
Erik MontnemeryandGitHub f35e7d1129 Allow cancelling async_at_start helper (#71196) 2022-05-02 07:41:14 -07:00
Erik MontnemeryandGitHub 1e18307a66 Add reauth flow to Meater (#69895) 2022-05-02 15:50:13 +02:00
Erik MontnemeryandGitHub f6c2fb088c Stop script if sub-script stops or aborts (#71195) 2022-05-02 14:59:58 +02:00
Erik MontnemeryandGitHub 546ba8169d Remove entity registry entries when script is removed (#71193) 2022-05-02 13:15:19 +02:00
738701a2d6 Handle missing kostal plenticore battery option (#65237)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-02 11:42:18 +02:00