Commit Graph

38640 Commits (0b09376360eef91f95c227f4d2b958010729662d)

Author SHA1 Message Date
Álvaro Fernández Rojas a599325c2d
Add QNAP QSW Binary Sensor platform (#70868) 2022-05-09 07:44:14 -05:00
epenet 141688e210
Cleanup ServiceInfo compatibility (#60540)
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 14:17:48 +02:00
Erik Montnemery ddd22398f2
Bump pychromecast to 12.1.2 (#71567) 2022-05-09 13:59:13 +02:00
Evan Bruhn 0842c29109
Bump logi_circle to 0.2.3 (#71578) 2022-05-09 13:58:26 +02:00
Erik Montnemery d284e579bb
Improve Google Cast detection of HLS playlists (#71564) 2022-05-09 13:57:32 +02:00
Erik Montnemery 524920dd2e
Add 'toggle' device action to fans (#71570) 2022-05-09 13:49:35 +02:00
Robert Hillis 4db289ad6e
Remove deprecated yaml config from Deluge (#71487) 2022-05-09 13:22:51 +02:00
epenet 08856cfab0
Remove 1-Wire SysBus (ADR-0019) (#71232) 2022-05-09 13:16:23 +02:00
J. Nick Koston 30fdfc454f
Avoid lowercasing entities after template ratelimit recovery (#71415) 2022-05-09 12:48:38 +02:00
Joakim Plate 2dbe910e31
Adjust warning for missing entites (#71343) 2022-05-09 12:37:24 +02:00
Shai Ungar 587a29c723
Fix SABnzbd config check (#71549) 2022-05-09 12:34:16 +02:00
Hans Oischinger 20d9f2d3b7
Vicare Gas & Power consumption summary sensors (#66458) 2022-05-09 12:11:09 +02:00
Oscar Calvo 1cc9800a93
Support custom baud speed (#68320)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-05-09 12:06:29 +02:00
Erik Montnemery bb4a5ccc2c
Correct device class for meater cook sensors (#71565) 2022-05-09 11:03:32 +02:00
Shai Ungar f50681e3d3
Migrate sabnzbd sensors unique ids (#71455)
* Migrate sensors unique ids

1. migrate sensors to have unique id constructed also from entry_id
2. add migration flow in init
3. bump config flow to version 2
4. add tests for migration

* move migrate to async_setup_entry

* 1. Use the entity registry api in tests
2. Set up the config entry and not use integration directly
3. remove patch for entity registry

* fix too many lines

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

* Update tests/components/sabnzbd/test_init.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-09 09:27:23 +02:00
epenet 1be2438ef6
Use climate enums in mqtt (#70696) 2022-05-09 08:15:11 +02:00
J. Nick Koston 24d7a464e1
Refactor logbook to reduce overhead and complexity (#71509) 2022-05-08 21:47:26 -07:00
J. Nick Koston 15a5878a39
Use MediaPlayerEntityFeature in ws66i (#71553) 2022-05-08 22:38:22 -05:00
Guido Schmitz 2b30bda6c8
Add binary sensor platform to devolo Home Network (#60301)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 21:33:20 -05:00
Andrew Bullock 9ef5c23f1c
Add support to Hunter Douglas for Silhouette Type 23 Tilting (#70775)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 21:10:25 -05:00
Christopher Bailey 6da889326b
Fix typer/click incompatibilty for unifiprotect (#71555)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 21:07:12 -05:00
J. Nick Koston 0b8f87169b
Pretty zha manifest.json (#71556) 2022-05-08 21:05:19 -04:00
GitHub Action f1dd3b7f89 [ci skip] Translation update 2022-05-09 00:21:41 +00:00
RenierM26 e1fa285640
Ezviz dependency bump to 0.2.0.8 (#71512) 2022-05-08 18:28:33 -05:00
Fairesoimeme 1d63c2069e
Add ZiGate device on automatic integration USB and ZEROCONF (#68577)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-08 18:27:09 -05:00
Álvaro Fernández Rojas 9a5e0281db
Add missing AEMET weather units (#70165) 2022-05-08 18:20:18 -05:00
Shawn Saenger 5e737bfe4f
Add ws66i core integration (#56094)
* Add ws66i core integration

* Remove all ws66i translations

* Update ws66i unit tests to meet minimum code coverage

* Update ws66i based on @bdraco review

* General improvements after 2nd PR review

* Disable entities if amp shutoff, set default source names, set 30sec polling

* Add _attr_ and change async_on_unload

* Improve entity generation

* Implement coordinator

* Made options fields required, retry connection on failed attempts, use ZoneStatus for attributes

* Refactor WS66i entity properties, raise HomeAssistantError on restore service if no snapshot

* Update to pyws66i v1.1

* Add quality scale of silver to manifest

* Update config_flow test
2022-05-08 16:52:39 -05:00
Aaron Bach 0b25b44820
Bump simplisafe-python to 2022.05.1 (#71545)
* Bump simplisafe-python to 2022.05.1

* Trigger Build
2022-05-08 15:21:18 -06:00
J. Nick Koston 896bf986eb
Speed up nightly database purges with lambda_stmt (#71537) 2022-05-08 12:47:12 -07:00
Brandon Rothweiler e46310ac0b
Add device class for Mazda pressure sensors (#71539) 2022-05-08 20:29:58 +01:00
J. Nick Koston 6922209ddb
Ensure all mysql tables get optimized (#71538) 2022-05-08 12:15:06 -07:00
Paul Annekov 2eaaa525f4
Add Ukraine Alarm integration (#71501)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-08 08:22:20 -07:00
Jelte Zeilstra d52137cc1a
Add state class measurement to deCONZ LightLevel sensors (#71516) 2022-05-08 15:54:43 +02:00
Fabian Affolter 71e84dfcd1
Remove myself from volkszaehler codeowners (#71515) 2022-05-08 11:31:33 +02:00
Fabian Affolter d3e2d2eb40
Remove myself from shiftr codeowners (#71517) 2022-05-08 11:31:03 +02:00
J. Nick Koston a8aa0e1cca
Add Estimated Database Size to the recorder system health (#71463) 2022-05-07 21:02:54 -07:00
Paulus Schoutsen 49d13b9981
Bump frontend to 20220504.1 (#71504) 2022-05-07 20:57:57 -07:00
Paulus Schoutsen e35a5a1a28
Fix other enums in helpers (#71505) 2022-05-07 20:57:48 -07:00
screenagerbe 00291fb1a6
update to caldav v0.9.0 (#71406) 2022-05-07 17:41:09 -07:00
GitHub Action 12065ad58e [ci skip] Translation update 2022-05-08 00:21:41 +00:00
Paulus Schoutsen 55cb35046e
Move flexit climate to HVAC action (#71443) 2022-05-07 14:19:23 -07:00
J. Nick Koston 3883bad70a
Fix display of multiline queries in sql config flow (#71450) 2022-05-07 14:19:01 -07:00
J. Nick Koston 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
Austin Mroczek a01444b6dd
bump total_connect_client to 2022.5 (#71493) 2022-05-07 23:30:36 +03:00
0bmay b8c76a416b
Update py-canary to 0.5.2 (#71489)
Update py-canary from 0.5.1 to 0.5.2
Github issue #71052
Github Issue #44830
2022-05-07 23:28:05 +03:00
rappenze fe7564813a
Fix rgb conversion in fibaro light (#71476) 2022-05-07 23:22:41 +03:00
rappenze 6442c5949b
Revert usage of Fibaro Client V5 as it has too many errors (#71477) 2022-05-07 23:20:30 +03:00
Shai Ungar 50f4c5d347
fix speed sensor wrong number (#71502) 2022-05-07 23:16:51 +03:00
Álvaro Fernández Rojas 21cee3b1c4
airzone: improve diagnostics (#71488)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-07 23:13:12 +03:00
Maciej Bieniek 6866cca929
Add timeout (#71499) 2022-05-07 23:08:20 +03:00
J. Nick Koston b86f508ac8
Use DataUpdateCoordinator generic for data (#71479) 2022-05-07 06:42:49 -07:00
GitHub Action 44d8f2f773 [ci skip] Translation update 2022-05-07 00:20:47 +00:00
J. Nick Koston 92f46a48c3
Bump zeroconf to 0.38.6 (#71447) 2022-05-07 00:01:05 +03:00
Paulus Schoutsen b1a04302b5
Stringify enums in selectors (#71441) 2022-05-06 11:25:01 -07:00
0bmay 1a00bb9fc4
Fix Canary camera stream blocking call (#71369)
* fix: Canary stream camera, fix blocker

fixes a "detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue for canary doing blocking calls at homeassistant/components/canary/camera.py, line 149: self._live_stream_session.live_stream_url, extra_cmd=self._ffmpeg_arguments" from log file.

* refactor: black formatting changes

tsia
2022-05-06 08:00:48 -07:00
David F. Mulcahey 173f14379b
Update Zigpy attribute cache for switch devices that do not report state (#71417)
* fix devices that do not report state

* whoops
2022-05-06 10:24:08 -04:00
G Johansson e5619f4af1
Remove yaml import trafikverket_train (#71410) 2022-05-06 14:27:12 +03:00
Pascal Vizeli f1733236bb
Revert "Bump numpy to v1.22.3 (#71393)" (#71407)
This reverts commit 225d41f82a.
2022-05-06 12:51:19 +02:00
epenet 225d41f82a
Bump numpy to v1.22.3 (#71393)
* Bump numpy to v1.22.3

* Fix mypy
2022-05-06 12:07:02 +02:00
Alessandro Di Felice 118bae6cb4
Upgrade glances_api to 0.3.5 (#71243) 2022-05-06 09:27:46 +02:00
J. Nick Koston 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
GitHub Action 07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
Graham Arthur Blair 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
J. Nick Koston 6722d060dd
Bump yalexs to 1.1.24 (#71372) 2022-05-05 18:49:30 -04:00
Paulus Schoutsen 1d95a37eab
Bump pychromecast to 12.1.1 (#71377) 2022-05-05 15:01:25 -07:00
Shai Ungar afe4892ae6
Add unique ids to sensors (#71367) 2022-05-05 14:34:30 -07:00
Paulus Schoutsen c8f95b7dfc
Ignore loading system entity category (#71361) 2022-05-05 14:33:37 -07:00
Paulus Schoutsen 353cc0b8c2
Fix importing blueprints (#71365)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-05 14:33:17 -07:00
Álvaro Fernández Rojas aadfcc9a6e
Lower Airzone unique id migration log to debug (#71362)
Address late @MartinHjelmare PR comments.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-05 20:57:01 +02:00
G Johansson d2c9fa4075
Bump pytrafikverket to 0.2.0.1 (#71131)
* Bump pytrafikverket to 0.2.0.1

* Use system timezone

* Minor review changes

* current time

* Adjustments timezone
2022-05-05 20:55:52 +02:00
J. Nick Koston 8f5e61ee80
Remove logbook split_entity_id caching (#71359) 2022-05-05 11:48:45 -07:00
Erik Montnemery 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 Montnemery 203bebe668
Include all non-numeric sensor events in logbook (#71331) 2022-05-05 13:16:36 -04:00
J. Nick Koston 8a41370950
Add cache to split_entity_id (#71345) 2022-05-05 10:13:55 -07:00
Ville Skyttä 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
Maciej Bieniek 8c89f68d2c
Bump library version (#71349) 2022-05-05 18:40:56 +03:00
Antoni Czaplicki 191230f535
Refactor vulcan integration (#71175) 2022-05-05 14:32:36 +02:00
Markus Bong 248f01f41f
fix reading of battery messages (#70659) 2022-05-05 11:36:00 +02:00
Erik Montnemery 22d2587593
Tweak Meater typing and variable naming (#71333) 2022-05-05 11:24:43 +02:00
Pascal Vizeli e145d3c65b
Bump numpy to 1.21.6 (#71325) 2022-05-05 10:12:39 +02:00
Álvaro Fernández Rojas 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
Erik Montnemery e8f0d80fc9
Fix Meater (#71324) 2022-05-05 09:52:20 +03:00
Paulus Schoutsen a0474633fd
Fix apple tv warning (#71321) 2022-05-05 09:52:00 +03:00
Michael Chisholm 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
epenet db08c04da6
Only test for EncryptedBridge in Samsung J/H models (#71291) 2022-05-04 22:15:24 -07:00
J. Nick Koston 1da3b5048b
Ensure rachio retries setup later when cloud service is broken (#71300) 2022-05-04 22:13:23 -07:00
J. Nick Koston d67f19f8a4
Fix lutron caseta occupancy sensors (#71309)
* Fix lutron_caseta occupancy sensors

* Fix lutron_caseta occupancy sensors

* Make as service since its a group

* merge

* Revert "merge"

This reverts commit 69d19dc008.

* model and type not present
2022-05-04 22:10:27 -07:00
GitHub Action 2b3fc97020 [ci skip] Translation update 2022-05-05 00:22:23 +00:00
J. Nick Koston 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 Koston 13ce0a7d6a
Fix history using pre v25 queries during v26 migration (#71295) 2022-05-04 08:56:50 -07:00
Sean Vig 08770d015b
Change Amcrest event monitor to non-async (#69640) 2022-05-04 10:15:52 -05:00
Franck Nijhof d95113c8f2
Pin grpcio-status to 1.45.0 (#71293) 2022-05-04 16:56:29 +02:00
Marcel van der Veldt 3704b5cf5e
Bump aioslimproto to 2.0.1 (#71285) 2022-05-04 16:38:11 +02:00
Erik Montnemery 12bd5fae1a
Fix meater sensor (#71283)
* Fix meater sensor

* Cleanup MeaterEntityDescription

* Apply suggestions from code review

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

* Update sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-04 16:13:09 +02:00
Thomas Dietrich 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 Montnemery 1df99badcf
Allow scripts to turn themselves on (#71289) 2022-05-04 15:54:37 +02:00
Guido Schmitz fdee8800a0
Handle empty zeroconf properties in devolo_home_network (#71288)
* Handle empty zeroconf properties in devolo_home_network

* Change approach

* Restore test data
2022-05-04 15:51:21 +02:00
Joakim Sørensen 03ab9d07a8
Remove more info links for hassio system health (#71286) 2022-05-04 15:47:24 +02:00
Bram Kragten 309d8d70b1
Update frontend to 20220504.0 (#71284) 2022-05-04 14:19:16 +02:00
Marc Mueller 6eef3c16f2
Update pylint to 2.13.8 (#71280) 2022-05-04 12:14:24 +02:00
ollo69 ee8eac10c9
Address late review of AsusWRT unique id PR (#71281) 2022-05-04 11:39:55 +02:00
Tomasz 9e2f0b3af1
Rename UniqueID to unique id in asuswrt (#71279)
* Rename UniqueID to unique id

* Update en.json
2022-05-04 10:17:43 +02:00
starkillerOG 2c1d2c323d
Bump pynetgear to 0.10.0 (#71251) 2022-05-04 09:22:30 +02:00
Marvin Wichmann 4408ad82eb
Update xknx to 0.21.2 (#71271) 2022-05-03 21:14:56 -07:00
J. Nick Koston c949f010c1
Set entity category for isy auxiliary sensors (#71266) 2022-05-03 20:43:58 -05:00
GitHub Action 509dd657b8 [ci skip] Translation update 2022-05-04 00:22:09 +00:00
ollo69 93153b3790
Add UniqueID to AsusWRT config entry (#70478) 2022-05-03 13:56:57 -07:00
J. Nick Koston e30940ef2a
Move processing of recorder service call arguments into services.py (#71260) 2022-05-03 13:56:22 -07:00
Erik Montnemery e9abfad361
Reject MQTT topics which include control- or non-characters (#71263) 2022-05-03 12:19:43 -07:00
James Szalay 3717ec8811
Updated vesync component fans list to handle alt ids for models. (#71259)
* Updated vesync component fans list to handle alt ids for models.

* Lint

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-03 12:17:27 -07:00
Paulus Schoutsen 5934167e15
Bump aioslimproto to 2.0.0 (#71265) 2022-05-03 12:16:57 -07:00
Zack Barett c9d49ac9e4
Bump frontend to 20220503.0 (#71262) 2022-05-03 11:51:07 -07:00
J. Nick Koston 92a30a69a3
Fix oncue not logging back in when the session expires (#71258) 2022-05-03 11:35:38 -07:00
Tom Harris 3aeda6b18e
Load Insteon modem database on startup if needed (#71261) 2022-05-03 11:34:20 -07:00
J. Nick Koston 236d8aa277
Avoid recording static attributes for group entities (#71256) 2022-05-03 13:22:49 -05:00
J. Nick Koston e1be6dd34f
Move recorder services to services.py (#71249) 2022-05-03 10:38:44 -07:00
starkillerOG 0580803b7d
Prevent Netgear SSDP from updating host (#71240) 2022-05-03 10:38:20 -07:00
J. Nick Koston 8d40d9df85
Create ISY auxiliary sensors as sensor entities instead of attributes (#71254) 2022-05-03 09:49:52 -07:00
J. Nick Koston 60bfcc6be4
Allow hidden entities to be selected in homekit include mode (#71250) 2022-05-03 09:47:13 -07:00
Erik Montnemery eba125b093
Ensure 'this' variable is always defined for template entities (#70911) 2022-05-03 07:43:44 -07:00
Paulus Schoutsen 08b683dafd
Fix homepod streaming and browsing apps (#71230) 2022-05-03 07:42:06 -07:00
J. Nick Koston 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
Franck Nijhof 99360ad7f4
Indicate disabled steps in script trace (#71237) 2022-05-03 13:04:59 +02:00
Erik Montnemery 92f1855bcf
Fix script conditions (#71235) 2022-05-03 11:28:08 +02:00
Erik Montnemery 1931600eac
Isolate parallel subscripts (#71233) 2022-05-03 10:36:58 +02:00
prokon 1ef060700a
Add verisure lock method attribute (#70375)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-03 09:49:12 +02:00
Paulus Schoutsen a875789987
Bump aioslimproto to 1.0.2 (#71231) 2022-05-03 10:34:04 +03:00
jjlawren bbe807c655
Deprecate legacy Sonos grouping services (#71226) 2022-05-02 23:01:44 -07:00
jjlawren 9b03ef4829
Improve Sonos terminology for inclusiveness (#71206)
* Improve Sonos group terminology

* Deprecate Sonos-specific grouping services

* Push deprecation back one version

* Revert deprecation notice
2022-05-02 23:01:19 -07:00
J. Nick Koston 29bda196b5
Break apart recorder into tasks and core modules (#71222) 2022-05-02 21:53:56 -07:00
GitHub Action c594de25f7 [ci skip] Translation update 2022-05-03 00:23:56 +00:00
Erik Montnemery 4962605613
Fix enumeration of zwave-js device triggers (#71225)
* Fix enumeration of zwave-js device triggers

* Address review comments
2022-05-03 01:46:39 +02:00
Paulus Schoutsen fbc048f07b
Bump frontend to 20220502.0 (#71221) 2022-05-02 15:39:05 -07:00
J. Nick Koston 75026f9fed
Separate recorder logic for state_changed and non-state_changed events (#71204) 2022-05-02 17:22:53 -05:00
J. Nick Koston 188040b8bb
Use lambda_stmt for recorder queries and migrate them to queries module (#71219) 2022-05-02 15:17:21 -07:00
Paulus Schoutsen 40cf75844a
Add media source support to Bose Soundtouch (#71209) 2022-05-02 20:02:20 +02:00
Paulus Schoutsen 0926470ef0
Skip signing URL that we know requires no auth (#71208) 2022-05-02 19:51:13 +02:00
J. Nick Koston 0cdcdec809
Speed up and isolate legacy logbook context_id query (#71201) 2022-05-02 09:34:24 -07:00
Erik Montnemery 1aaf78ef99
Remove entity category system in favor of hidden_by (#68550) 2022-05-02 09:33:16 -07:00
Franck Nijhof a4682ae6e1
Adjust version number in template default deprecation warning (#71203) 2022-05-02 18:35:37 +03:00
Tom Harris 5e4e7ed152
Fix Insteon thermostats and reduce logging (#71179)
* Bump pyinsteon to 1.1.0

* Load modem aldb if read write mode is unkwown

* Correct reference to read_write_mode
2022-05-02 16:42:47 +02:00
Zoltán Tóth a74f035ae7
Fix SAJ Solar inverter RecursionError (#71157) 2022-05-02 16:42:23 +02:00
Erik Montnemery f35e7d1129
Allow cancelling async_at_start helper (#71196) 2022-05-02 07:41:14 -07:00
Erik Montnemery 1e18307a66
Add reauth flow to Meater (#69895) 2022-05-02 15:50:13 +02:00
David F. Mulcahey d6617eba7c
Fix bad ZHA _attr definitions (#71198) 2022-05-02 15:23:17 +02:00
Paulus Schoutsen 56de002727
Add media source support to AppleTV (#71185) 2022-05-02 15:09:49 +02:00
Erik Montnemery f6c2fb088c
Stop script if sub-script stops or aborts (#71195) 2022-05-02 14:59:58 +02:00
Paulus Schoutsen 3f7c6a1ba7
Offer visit device for Squeezelite32 devices (#71181) 2022-05-02 13:35:19 +02:00
Erik Montnemery 546ba8169d
Remove entity registry entries when script is removed (#71193) 2022-05-02 13:15:19 +02:00
stegm 738701a2d6
Handle missing kostal plenticore battery option (#65237)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-02 11:42:18 +02:00
Robert Svensson 37b59dfcc0
Make sure sensor state value is not None prior to trying to used the scaled value (#71189) 2022-05-02 10:51:19 +03:00
J. Nick Koston 5db014666c
Avoid recording state_changed events in the events table (#71165)
* squash

fix mypy

* Update homeassistant/components/recorder/models.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* pass all columns

* fix commented out code

* reduce logbook query complexity

* merge

* comment

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-02 02:10:34 -05:00
epenet 7026e5dd11
Fix Renault diagnostics (#71186) 2022-05-01 23:12:32 -07:00
Aaron Bach 802adaf43c
Fix issues with SimpliSafe email-based 2FA (#71180)
* FIx issues with email-based SimpliSafe 2FA

* Bump
2022-05-01 21:50:39 -07:00
Franck Nijhof 63679d3d29
Fix missing device & entity references in automations (#71103) 2022-05-01 21:49:50 -07:00
J. Nick Koston 2a9f043039
Use ULID short format for context ids (#71119) 2022-05-01 21:44:54 -07:00
J. Nick Koston b770ca319e
Improve scrape performance by using lxml parser (#71087)
* Improve scape performance by using lxml parser

* load it

* tweak

* tweak

* ensure libxml2 is installed in dev container
2022-05-01 21:04:05 -05:00
J. Nick Koston c23866e5e5
De-duplicate event data into a new event_data table (#71135) 2022-05-01 21:01:17 -05:00
J. Nick Koston b8442d9340
Add json decode caching to logbook (#71080) 2022-05-01 19:33:31 -05:00
GitHub Action 9b10658d01 [ci skip] Translation update 2022-05-02 00:22:04 +00:00
Raman Gupta ae01ec02e2
Allow custom integrations to support application_credentials platform (#71129) 2022-05-01 16:26:22 -07:00
Kuba Wolanin d8ee9c1922
Add Show logs URL to integration errors notification (#71142) 2022-05-01 16:14:30 -07:00
Dave T 26c6328b1f
Generic camera handle template adjacent to portnumber (#71031) 2022-05-01 16:13:21 -07:00
Allen Porter b97ca8e260
Bump gcal_sync to 0.7.1 to fix calendar API timezone handling (#71173) 2022-05-01 14:20:44 -07:00
Matt Zimmerman 40280cbd43
update python-smarttub to 0.0.32 (#71164) 2022-05-01 23:36:13 +03:00
G Johansson 5b25b94a22
Fix template error in sql (#71169) 2022-05-01 23:04:03 +03:00
Robert Svensson 63e3095062
Abort UniFi Network options flow if integration is not setup (#71128) 2022-05-01 21:00:38 +02:00
J. Nick Koston 2e20ec21c4
Bump zeroconf to 0.38.5 (#71160) 2022-05-01 18:49:17 +01:00
G Johansson 2cb9783cf5
Small cleanup Sensibo (#71149)
* Cleanup

* fix temp

* Modify set_temp

* Apply suggestions from code review

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-05-01 20:00:58 +03:00
J. Nick Koston c842672ed1
Fix missing device info in lutron_caseta (#71156)
- There was a missing return due to a bad merge conflict resolution

- Fixes #71154
2022-05-01 20:00:15 +03:00
J. Nick Koston 2d720973ee
Fix incomplete recorder typing (#71158) 2022-05-01 19:53:47 +03:00
G Johansson 4628b151ff
Bump pysensibo 1.0.14 (#71150) 2022-05-01 16:39:33 +03:00
Marvin Wichmann 6e1b787ba6
Add missing type information for panel_custom (#71122) 2022-05-01 13:21:27 +02:00
Marvin Wichmann ef09e89006
Update xknx to 0.21.1 (#71144) 2022-05-01 11:00:37 +02:00
GitHub Action ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
Allen Porter 285fdeb581
Add calendar trigger offsets (#70963)
* Add support for calendar trigger offsets

* Add offset end test

* Update homeassistant/components/calendar/trigger.py

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

* Always include offset in trigger data

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 17:21:30 -07:00
Álvaro Fernández Rojas 7b2947bad7
Add QNAP QSW diagnostics support (#70871)
* qnap_qsw: add diagnostics support

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

* qnap_qsw: diagnostics: several improvements

- Provide full config_entry.
- Reduce number of test asserts.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-30 23:13:35 +03:00
J. Nick Koston 109b4d45ca
Allow matching ssdp by manufacturerURL only (#71125) 2022-04-30 14:17:18 -05:00
Robert Svensson a0fe5b0247
Make deCONZ SSDP discovery more strict by matching on manufacturerURL (#71124) 2022-04-30 19:33:47 +02:00
epenet e3f224e115
Use shorthand attributes in neato vacuum (#70843) 2022-04-30 18:57:05 +02:00
Allen Porter c8ea264db8
Bump gcal_sync to 0.7.0 (#71116) 2022-04-30 19:33:30 +03:00
G Johansson 731a8ac74f
Sensibo bugfix device on (#71106)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-30 19:28:47 +03:00
Robert Svensson 1396213d78
Fix copy paste issue leaving one device trigger with a wrong subtype (#71121) 2022-04-30 19:26:14 +03:00
Shay Levy 75debb7dec
Add entity id to template error logging (#71107)
* Add entity id to template error logging

* Increase coverage
2022-04-30 19:24:24 +03:00
J. Nick Koston 66a21e0bc3
Add basic system health data to the recorder (#71086) 2022-04-30 11:10:20 -05:00
Robert Hillis f14bc1cece
Clean up Steam integration (#71091)
* Clean up Steam

* uno mas

* uno mas

* uno mas
2022-04-30 17:40:57 +02:00
Allen Porter 00b5d30e24
Add application credentials platform (#69148)
* Initial developer credentials scaffolding
- Support websocket list/add/delete
- Add developer credentials protocol from yaml config
- Handle OAuth credential registration and de-registration
- Tests for websocket and integration based registration

* Fix pydoc text

* Remove translations and update owners

* Update homeassistant/components/developer_credentials/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/developer_credentials/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Remove _async_get_developer_credential

* Rename to application credentials platform

* Fix race condition and add import support

* Increase code coverage (92%)

* Increase test coverage 93%

* Increase test coverage (94%)

* Increase test coverage (97%)

* Increase test covearge (98%)

* Increase test coverage (99%)

* Increase test coverage (100%)

* Remove http router frozen comment

* Remove auth domain override on import

* Remove debug statement

* Don't import the same client id multiple times

* Add auth dependency for local oauth implementation

* Revert older oauth2 changes from merge

* Update homeassistant/components/application_credentials/__init__.py

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

* Move config credential import to its own fixture

* Override the mock_application_credentials_integration fixture instead per test

* Update application credentials

* Add dictionary typing

* Use f-strings as per feedback

* Add additional structure needed for an MVP application credential

Add additional structure needed for an MVP, including a target
component Xbox

* Add websocket to list supported integrations for frontend selector

* Application credentials config

* Import xbox credentials

* Remove unnecessary async calls

* Update script/hassfest/application_credentials.py

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

* Update script/hassfest/application_credentials.py

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

* Update script/hassfest/application_credentials.py

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

* Update script/hassfest/application_credentials.py

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

* Import credentials with a fixed auth domain

Resolve an issue with compatibility of exisiting config entries when importing
client credentials

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 08:06:43 -07:00
Shay Levy ae8604d429
Fix Litterrobot available property (#71102) 2022-04-30 16:46:27 +02:00
Matthias Alphart 72bc4c5ee9
Update xknx to 0.21.0 (#71108) 2022-04-30 15:25:41 +02:00
G Johansson 1cdc5f70f2
Bump pysensibo to 1.0.13 (#71105) 2022-04-30 14:59:59 +03:00
Nathan Spencer 1ede67e51f
Reflect unavailable state when litter robot hasn't been seen recently (#70810) 2022-04-30 12:43:13 +03:00
Raman Gupta 5e3740d5ed
Add available property to kodi, with some code cleanup (#69115)
* Add available property to kodi, with some code cleanup

* Update homeassistant/components/kodi/media_player.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-30 10:05:22 +03:00
Raman Gupta 7b682e2990
Bump zwave-js-server-python to 0.36.1 (#71096) 2022-04-30 02:59:39 -04:00
J. Nick Koston 69fa7b0d61
Reduce calls to asyncio.iscoroutine (#71090) 2022-04-29 21:24:26 -07:00
Raman Gupta 0360613ddd
Cleanup eight_sleep (#69171)
* Cleanup eight_sleep

* Only set data after checking for users
2022-04-29 21:17:03 -04:00
GitHub Action d01666f3a2 [ci skip] Translation update 2022-04-30 00:25:25 +00:00
Diego Elio Pettenò cef5d6054c
withings: don't store the webhook URL in the state. (#69191)
The webhook url should be calculated at startup, not stored in the state
as otherwise a change in network requires re-configuring the integration
from scratch.

This is particularly important as external network configuration might
change when moving HA between networks, and it's not obvious it needs
to be re-added just for this.
2022-04-30 02:21:12 +03:00
Diogo Gomes 852eaa062c
update unit_of_measurement even if unit_of_measurement is known (#69699) 2022-04-30 02:16:05 +03:00
Paulus Schoutsen de26df0c6d
Fix /config/server_control redirect (#71084) 2022-04-29 16:09:38 -07:00
Tom Harris 7662d588a9
Patch Insteon Hub connectivity issues (#71081) 2022-04-29 16:09:21 -07:00
Zack Barett 85dbfa75ef
Frontend bump 20220429.0 (#71085) 2022-04-29 16:09:08 -07:00
J. Nick Koston 4eca162a0a
Add reauth support to ISY994 (#71069) 2022-04-29 15:46:25 -07:00
epenet 6635fc4e31
Use LightEntityFeature enum in limitlessled (#71061) 2022-04-30 01:38:49 +03:00
David F. Mulcahey f184f9e142
Fix ZHA cover initial state (#71083) 2022-04-29 15:35:53 -07:00
Robert Svensson 7f094a928b
Fix linking issue when deCONZ gateway is not unlocked (#71082) 2022-04-29 15:34:33 -07:00
Robert Svensson 865c75b631
Don't rely on deCONZ gateway object in config options flow (#71079) 2022-04-29 23:57:38 +03:00
Robert Svensson e1f4b17971
Pydeconz raise ResponseError when deCONZ Rest API Plugin is not yet ready (#71078) 2022-04-29 23:55:55 +03:00
epenet da8160a770
Use LightEntityFeature enum in wemo (#71058) 2022-04-29 22:49:16 +03:00
epenet faffd809d5
Use LightEntityFeature enum in osramlightify (#71059) 2022-04-29 22:48:55 +03:00
epenet 09d61edd9f
Use LightEntityFeature enum in mqtt (#71055) 2022-04-29 22:47:26 +03:00
epenet f08615fc76
Use LightEntityFeature enum in zha (#71060) 2022-04-29 22:45:25 +03:00
epenet e63aef79fe
Use LightEntityFeature enum in template (#71056) 2022-04-29 22:43:33 +03:00
epenet 6bb685eaba
Use LightEntityFeature enum in smartthings (#71057) 2022-04-29 22:42:45 +03:00
Erik Montnemery 2fb16fd06c
Deprecate white_value support in template light (#71044) 2022-04-29 22:40:23 +03:00
rappenze 57d0390882
Improve energy meter support of fibaro sensor (#71072) 2022-04-29 22:39:45 +03:00
Michael d90937182e
Fix "station is open" binary sensor in Tankerkoenig (#70928) 2022-04-29 12:29:06 -07:00
J. Nick Koston 11b91e44c8
Fix unsafe websocket stop call in isy994 (#71071)
Fixes
```
2022-04-29 12:49:10 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Alexander (192.168.209.83) for isy994
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/Users/bdraco/home-assistant/homeassistant/components/isy994/__init__.py", line 294, in async_unload_entry
    await hass.async_add_executor_job(_stop_auto_update)
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/bdraco/home-assistant/homeassistant/components/isy994/__init__.py", line 292, in _stop_auto_update
    isy.websocket.stop()
  File "/Users/bdraco/home-assistant/venv/lib/python3.9/site-packages/pyisy/events/websocket.py", line 110, in stop
    self.websocket_task.cancel()
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 753, in call_soon
    self._check_thread()
  File "/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 790, in _check_thread
    raise RuntimeError(
RuntimeError: Non-thread-safe operation invoked on an event loop other than the current one
```
2022-04-29 21:18:06 +03:00
G Johansson c90eb4d6b4
Fix sql integration issues 5.0 beta (#71063)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-29 10:00:44 -07:00
David F. Mulcahey 755020ff63
Update ZHA switch entities to leverage Zigpy cache appropriately (#71062) 2022-04-29 09:44:59 -07:00
Franck Nijhof 682ac52a20
Support shorthand logical operators in script sequences (#71022) 2022-04-29 18:06:21 +02:00
Erik Montnemery 76d105d0ba
Sort stuff in template light (#71045) 2022-04-29 09:46:02 +02:00
J. Nick Koston aafe6ff0e2
Fix history_stats for timezones with a positive offset from UTC (#71038) 2022-04-28 23:48:58 -07:00
J. Nick Koston b9c7a89b47
Prevent sqlalchemy Transparent SQL Compilation Caching from filling up during purge (#71015) 2022-04-28 23:48:28 -07:00
Paulus Schoutsen a57136783d
Fix race causing google config pre-init access (#71042) 2022-04-28 23:45:57 -07:00
Erik Montnemery 2f9beb4a4a
Deprecate white_value support in MQTT light (#71002) 2022-04-29 08:37:49 +02:00
Raj Laud c7d344692f
Squeezebox grouping (#70962) 2022-04-28 21:39:58 -07:00
J. Nick Koston 37384f7eb3
Bump sqlalchemy to 1.4.36 (#71039) 2022-04-28 21:32:46 -07:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
jjlawren 1f1932d224
Fix Sonos races related to grouping and startup (#71026) 2022-04-28 14:26:29 -07:00
Zack Barett 7e8c6d563f
Frontend Bump to 20220428.0 (#71029) 2022-04-28 14:24:04 -07:00
Paulus Schoutsen 00070e8804
Add redirect for server controls (#71027)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-04-28 14:09:54 -07:00
Robert Svensson 408946cfee
Bump pydeconz to v91 (#71030) 2022-04-28 14:09:35 -07:00
Aaron Bach d791a08002
Ensure that email-based 2FA in SimpliSafe shows the progress UI (#71021) 2022-04-28 14:05:55 -07:00
Shai Ungar 8883f5482b
Sabnzbd config flow improvments (#70981)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-28 22:25:17 +02:00
Tom Harris a9ca774e7e
Insteon Device Control Panel (#70834)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-28 12:35:43 -07:00
Marc Mueller 9af8cd030a
Type plex session decorator (#70991) 2022-04-28 21:06:05 +02:00
Marc Mueller 7649b5e6c9
Improve roku error decorator typing (#70992) 2022-04-28 21:05:22 +02:00
Marc Mueller cf90e34776
Type recorder retry decorator (#70993) 2022-04-28 21:04:41 +02:00
Marc Mueller 7fefd4bc67
Type decora error decorator (#70977) 2022-04-28 21:03:37 +02:00
David F. Mulcahey 1eb5316d89
Remove unnecessary update_before_add from ZHA (#71010)
* Additional streamlining for ZHA entity init

* fix tests
2022-04-28 20:57:26 +02:00
Marc Mueller 64fc93ba5f
Type heos error decorator (#70978) 2022-04-28 20:53:39 +02:00
Marc Mueller 319ae8b0b7
Type hive refresh decorator (#70979) 2022-04-28 20:52:08 +02:00
Marc Mueller a46b38d648
Type androidtv error decorator (#70976) 2022-04-28 20:51:21 +02:00
Aaron Bach d0f1168ff0
Ensure SimpliSafe re-auth only looks at SimpliSafe config entries (#71009)
* Ensure SimpliSafe re-auth only looks at SimpliSafe config entries

* Add a test

* Trigger Build

* Linting

* Comment

* Simplify test
2022-04-28 21:45:37 +03:00
starkillerOG ce9d000cd8
Motionblinds brands fix spelling (#71012)
* add supported_brands

* fix spelling
2022-04-28 21:42:14 +03:00
Fabian Affolter 805aa3375a
Add support for OpenWeatherMap's visibility (#71013)
* Add support for visibility

* Add docstrings
2022-04-28 21:39:50 +03:00
Robert Svensson caf71c854f
Handle situation where mac might not exist in clients (#71016) 2022-04-28 21:36:52 +03:00
Yuval Aboulafia 70e8f81be1
Loop load Jewish Calendar platforms (#70714) 2022-04-28 20:35:42 +02:00
epenet d907eb2810
Use LightEntityFeature enum in hue (#70987) 2022-04-28 21:32:39 +03:00
Marc Mueller ac044c8ffa
Type openhome error decorator (#70990) 2022-04-28 17:04:19 +02:00