Commit Graph

38741 Commits (3681596430cb0b065ce0c5117f6efd89d2460556)

Author SHA1 Message Date
epenet 50ca14538a
Cleanup deprecated async_get_registry in core (#72087) 2022-05-18 17:58:28 +02:00
J. Nick Koston bd78eec732
Fix reversed raise_on_progress in baf config_flow (#72094) 2022-05-18 17:42:14 +02:00
Erik Montnemery 037f6947d8
Fail recorder setup with unsupported dialect or version (#70888) 2022-05-18 16:52:46 +02:00
J. Nick Koston f3c582815c
Convert statistics to use lambda_stmt (#71903)
* Convert stats to use lambda_stmt

- Since baked queries are now [deprecated in 1.4](https://docs.sqlalchemy.org/en/14/orm/extensions/baked.html#module-sqlalchemy.ext.baked) the
  next step is to convert these to `lambda_stmt`

https://docs.sqlalchemy.org/en/14/core/connections.html#quick-guidelines-for-lambdas

* Update homeassistant/components/recorder/statistics.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-18 16:22:21 +02:00
Allen Porter 26ee289be3
Add return code to integration application credentials in config flow (#71986)
* Add return code to integration application credentials in config flow

* Update google tests to use new return code

* Update spotify test for no auth configured

* Add translation for oauth2_missing_credentials

* Add new return code to yolink

* Update homeassistant/strings.json

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-18 06:30:57 -07:00
Jesse Hills 23cb5cfd3f
Bump aioesphomeapi to 10.10.0 (#72083) 2022-05-18 14:27:02 +02:00
epenet 619a92eab9
Cleanup deprecated async_get_registry in fronius (#72067) 2022-05-18 14:23:49 +02:00
epenet 7c4cc389c9
Cleanup deprecated async_get_registry in geonetnz_quakes (#72064) 2022-05-18 14:22:56 +02:00
epenet 977c5b7693
Cleanup deprecated async_get_registry in gdacs (#72066) 2022-05-18 14:22:38 +02:00
epenet 4978d5f86e
Cleanup deprecated async_get_registry in homekit_controller (#72069) 2022-05-18 14:21:56 +02:00
epenet 70aa71eeed
Cleanup deprecated async_get_registry in isy994 (#72078) 2022-05-18 14:09:43 +02:00
epenet 64b0dd1e7a
Cleanup deprecated async_get_registry in plex (#72077) 2022-05-18 14:09:25 +02:00
epenet df13fcd1a5
Cleanup deprecated async_get_registry in synology_dsm (#72075) 2022-05-18 14:09:04 +02:00
epenet 9c4a046a2b
Cleanup deprecated async_get_registry in sense (#72074) 2022-05-18 13:53:57 +02:00
epenet b9c84bd655
Cleanup deprecated async_get_registry in opentherm_gw (#72070) 2022-05-18 13:47:09 +02:00
epenet 4e6887515b
Cleanup deprecated async_get_registry in zha (#72080) 2022-05-18 07:45:49 -04:00
epenet ca785266b4
Cleanup deprecated async_get_registry in hue (#72068) 2022-05-18 13:42:49 +02:00
epenet eae8a59b7b
Cleanup deprecated async_get_registry in gios (#72065) 2022-05-18 13:18:43 +02:00
epenet 19fdc3e630
Cleanup deprecated async_get_registry in edl21 (#72063) 2022-05-18 13:18:08 +02:00
epenet 1c5541c875
Cleanup deprecated async_get_registry in august (#72062) 2022-05-18 13:16:04 +02:00
epenet 0cea2eba84
Cleanup deprecated async_get_registry in airly (#72061) 2022-05-18 13:15:28 +02:00
epenet 8492f282cb
Cleanup deprecated async_get_registry in xbox (#72079) 2022-05-18 12:37:27 +02:00
epenet 8b5803735f
Cleanup deprecated async_get_registry in rfxtrx (#72073) 2022-05-18 12:00:01 +02:00
epenet fc84e4061f
Cleanup deprecated async_get_registry in philips_js (#72071) 2022-05-18 11:59:13 +02:00
epenet 2060f42818
Cleanup deprecated async_get_registry in acmeda (#72060) 2022-05-18 11:55:08 +02:00
epenet 5724d87c40
Cleanup deprecated async_get_registry in uptimerobot (#72076) 2022-05-18 11:46:09 +02:00
epenet 2851540453
Drop unnecessary async definitions in onewire (#72018) 2022-05-18 10:34:20 +02:00
epenet 8d57f70466
Ignore UpnpXmlContentError in SamsungTV (#72056) 2022-05-18 09:36:20 +02:00
Paulus Schoutsen 12020ffac1
Add Media Browser support to VLC (#72052) 2022-05-18 09:15:17 +02:00
Paulus Schoutsen 14361f9587
Add media browser support for GStreamer (#72051)
* Add media browser support for GStreamer

* Fix media type check
2022-05-18 09:14:33 +02:00
Shay Levy c52f535eb3
Fix filesize doing IO in event loop (#72038) 2022-05-18 09:00:46 +02:00
J. Nick Koston c4fc84ec1e
Add support for selecting device_ids from the logbook (#72039)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 01:58:30 -05:00
J. Nick Koston 0dc12c70e3
Add logbook descriptions for elkm1 keypad press events (#72017)
* Add logbook descriptions for elkm1 keypad press events

* drop extra block
2022-05-18 08:47:02 +02:00
Jesse Hills 2bb6e4bb87
Bump aioesphomeapi to 10.9.0 (#72049) 2022-05-18 08:15:15 +02:00
epenet 8eb4a16a0f
Drop unnecessary async definitions in samsungtv (#72019)
* Drop unnecessary async definitions in samsungtv

* keep prefix
2022-05-18 08:01:28 +02:00
Matthias Alphart bcabe5c6e4
Decouple up-down and position inversion for KNX covers (#72012) 2022-05-18 07:27:00 +02:00
J. Nick Koston ec01e00184
Small cleanup to logbook context augmenter (#72043) 2022-05-17 21:10:28 -07:00
GitHub Action 1d6659224f [ci skip] Translation update 2022-05-18 00:22:07 +00:00
J. Nick Koston a4c1bcefb9
Tune sqlite based on configured settings (#72016) 2022-05-17 18:12:15 -05:00
Franck Nijhof bfb47eb212
Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass

* Fix circular dep

* Fix import
2022-05-17 23:42:37 +03:00
epenet d1d6c6b923
Cleanup SamsungTV log message (#71987) 2022-05-17 22:50:03 +03:00
epenet afe2b71b2e
Update model info from SSDP in SamsungTV (#71992)
* Update model info from SSDP in SamsungTV

* Add tests
2022-05-17 22:49:19 +03:00
Álvaro Fernández Rojas a78f183b64
Fix Airzone sensor and binary sensor updates (#72025)
airzone: fix sensor and binary sensor updates

This regression was introduced in b9b83c05e9
along with the modifications for the strict typing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-17 22:47:28 +03:00
Franck Nijhof c3d19f3827
Clean up accessing device_registry helpers via hass (#72031) 2022-05-17 12:22:15 -07:00
Franck Nijhof 69e622b327
Clean up accessing intent helpers via hass (#72028) 2022-05-17 20:33:51 +02:00
Shay Levy 0d94324d58
Clean up Shelly async methods that are not awaiting (#72026) 2022-05-17 10:57:41 -07:00
Franck Nijhof c0da97b038
Clean up accessing service helpers via hass (#72013) 2022-05-17 10:56:57 -07:00
Paulus Schoutsen 5433c0a535
Make sure empty get_events results is always a list (#72021) 2022-05-17 10:43:58 -07:00
Franck Nijhof 8f4caf4141
Clean up accessing event helpers via hass (#72011) 2022-05-17 19:36:29 +02:00
Franck Nijhof 5f44d0f8f9
Clean up accessing storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
Franck Nijhof c8f700c803
Clean up accessing dispatcher helpers via hass (#72014)
Clean up accessing ditpatcher helpers via hass
2022-05-17 18:41:36 +02:00
Paulus Schoutsen 0b09376360
Mobile app to notify when sensor is disabled (#71561)
* Mobile app to notify when sensor is disabled

* Add entity status to get_config

* Allow overriding enabled/disabled
2022-05-17 09:05:49 -07:00
Elad Bar e4573273dc
Add Tuya Multi-functional Sensor (dgnbj) (#71778)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-05-17 17:57:19 +02:00
Franck Nijhof 69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +02:00
Matthias Alphart 81259f4eef
Update xknx to 0.21.3 (#72006) 2022-05-17 15:08:21 +02:00
Franck Nijhof cba2fda93d
Fix clear config entry from registry in Samsung TV migration (#72004)
* Fix clear config entry from device registry

* Fix clear config entry from entity registry
2022-05-17 14:13:21 +02:00
rhadamantys c67bbd06d4
Provide unique id for enocean devices (#71774)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-17 13:43:36 +02:00
Franck Nijhof 7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
ollo69 39b27e4d38
Improve NUT typing (#72002) 2022-05-17 13:08:38 +02:00
Allen Porter 7d26be2d4d
Add Home Connect application_credentials platform and deprecate configuration.yaml (#71988)
Add Home Connect application_credentials platform
2022-05-17 10:48:31 +02:00
Matrix e0154d6fb1
Add YoLink product integration (#69167)
* add yolink integration with door sensor

* Add test flow and update .coveragerc

* Yolink integration Bug fix

* resovle test flow

* issues resolve

* issues resolve

* issues resolve

* resolve issues

* issues resolve

* issues resolve

* change .coveragerc and test_flow

* Update yolink api version

* add test for config entry

* change config flow and add test cases

* remove config entry data

* Add token check for re-auth test flow

* fix test flow issues

* Add application credentials

* Add alias for application_credentials

* support application credentials and cloud account linking

* fix suggest change
2022-05-17 09:59:39 +02:00
Joakim Plate 513e276bba
Avoid polling fjaraskupan if no broadcast is received (#71969)
* Switch to subclassed coordinator

* Avoid polling fjäråskupan only do on request

We still want to timeout the availability if no data was received.

* Remove unused variable

* Update homeassistant/components/fjaraskupan/__init__.py

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-17 08:32:28 +02:00
J. Nick Koston a614ddca28
Support requesting translations for multiple integrations in a single request (#71979) 2022-05-17 01:23:11 -05:00
J. Nick Koston 78f0716574
Add support for specifying the integrations manifest/list fetches (#71982)
* Add support for specifying the integrations manifest/list fetches

See https://github.com/home-assistant/core/pull/71979 for
the motovation

* Update homeassistant/components/websocket_api/commands.py

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-17 01:22:56 -05:00
Allen Porter ddecf76f6f
Add application_credentials platform for netatmo (#71884) 2022-05-16 21:09:48 -07:00
Franck Nijhof 99f68ab858
Update dsmr_parser to v0.33 (#71946) 2022-05-16 21:04:59 -07:00
uvjustin 0608506bac
Reuse codec_context on stream thread restart (#71942) 2022-05-16 20:52:48 -07:00
Christopher Bailey 3de31939d8
Refactor button code to allow for other button types for UniFi Protect (#71911)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-16 22:51:13 -05:00
GitHub Action 2d1a612976 [ci skip] Translation update 2022-05-17 00:23:03 +00:00
Paulus Schoutsen 3b88c6c012
Inverse parallel updates default check, follow sync "update" method (#71720) 2022-05-16 17:10:34 -07:00
J. Nick Koston 1a6ccdbf59
Bump unifi-discovery to 1.1.3 (#71975) 2022-05-16 18:52:05 -05:00
ollo69 1747061820
Enable NUT strict typing (#71913) 2022-05-16 18:51:30 -05:00
jjlawren e339f43322
Add a timeout during Sonos speaker setup (#71973) 2022-05-16 18:03:39 -05:00
J. Nick Koston 8fcee01db0
Remove unnecessary flush from recorder (#71910) 2022-05-16 18:03:02 -05:00
J. Nick Koston f4a2afeb37
Guard against recorder pool current connection disappearing during global destruction (#71971) 2022-05-16 17:48:14 -05:00
Robert Svensson 007c6d2236
Streamline setup of deCONZ binary sensor platform (#71820) 2022-05-17 00:04:57 +02:00
Franck Nijhof 03e98a9a32
Update sentry-sdk to 1.5.12 (#71930)
* Update sentry-sdk to 1.5.12

* Remove now unneeded mypy ignore
2022-05-16 23:13:43 +03:00
Bram Kragten d22472208f
Update frontend to 20220516.0 (#71964) 2022-05-16 21:41:43 +02:00
J. Nick Koston fb7aead756
Guard expensive `cast`s in performance sensitive spots with `if TYPE_CHECKING` (#71960) 2022-05-16 21:15:04 +02:00
Franck Nijhof bac2dce5ee
Update twentemilieu to 0.6.1 (#71953) 2022-05-16 20:14:04 +02:00
David F. Mulcahey 57c94c0350
Add additional configuration entities for ZHA lights (#70597)
* Add more configuration entities for ZHA lights

* fix typing circular imports

* enhance filter in entity factory

* fix read attribute chunking

* add test

* add exception test
2022-05-16 13:04:32 -04:00
uvjustin 32b3ce5727
Clean up use_wallclock_as_timestamps in generic (#71940) 2022-05-16 09:06:54 -07:00
Franck Nijhof 514e7708b3
Update PyJWT to 2.4.0 (#71928) 2022-05-16 07:38:01 -07:00
J. Nick Koston e74794d500
Add sensor platform to Big Ass Fans (#71877) 2022-05-16 16:10:18 +02:00
Marc Mueller 2d7723169a
Update pylint to 2.13.9 (#71941)
* Update pylint to 2.13.9

* Small change
2022-05-16 15:01:31 +02:00
Franck Nijhof a902899058
Remove auto_start translation from HomeKit (#71938) 2022-05-16 07:44:07 -05:00
Franck Nijhof fcd9fcffe6
Update watchdog to 2.1.8 (#71927) 2022-05-16 13:55:21 +03:00
Franck Nijhof 732082b770
Update apprise to 0.9.8.3 (#71934) 2022-05-16 13:54:24 +03:00
Simone Chemelli 0ee838b25e
Properly handle Shelly gen2 device disconnect (#71937) 2022-05-16 12:50:03 +02:00
Joakim Sørensen f7a2a6ea21
Bump awesomeversion from 22.2.0 to 22.5.1 (#71933) 2022-05-16 12:26:54 +02:00
Ethan Madden e30a9d1fc0
Fix VeSync air_quality fan attribute (#71771)
* Refactor attribute inclusion for VeSync fans.

A recent change to pyvesync (introduced in 2.2) changed `air_quality` to
refer to air quality as an integer representation of perceived air
quality rather than a direct reading of the PM2.5 sensor. With 2.3 the
PM2.5 sensor access was restored as `air_quality_value`. Unfortunately,
`air_quality_value` was not added as an attribute on the fan object, and
rather only exists in the `details` dictionary on the fan object.

* Update homeassistant/components/vesync/fan.py

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

* Rename `air_quality_value` attribute to `pm25`

This should make it more clear what the attribute actually represents

* `air_quality` attribute reports `air_quality_value`

This restores previous behavior for this integration to what it was
before the `pyvesync==2.02` upgrade, using the `air_quality` attribute
to report pm2.5 concentrations (formerly `air_quality`) rather the
vague measurement now reported by `air_quality`.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-16 10:30:49 +02:00
Franck Nijhof 77d39f9c4f
Add missing title translation for the Siren domain (#71924) 2022-05-16 10:07:39 +02:00
Allen Porter 7c68278482
Add application_credentials platform to geocaching integration (#71880) 2022-05-16 09:57:25 +02:00
Allen Porter aa35b87884
Improve error handling for application credentials deletion (#71868) 2022-05-16 09:37:36 +02:00
Allen Porter a32321aa9f
Mark xbox configuration.yaml as deprecated after app creds import (#71908) 2022-05-16 09:35:29 +02:00
Allen Porter 2613c865f7
Add Spotify application_credentials platform (#71871) 2022-05-16 09:31:14 +02:00
J. Nick Koston a70e2a33dc
Fixing purging legacy rows and improve performance (#71916) 2022-05-15 21:25:07 -07:00
J. Nick Koston 089eb9960a
Reduce logbook websocket payload size and parse json attributes via the DBM (#71895) 2022-05-15 20:48:57 -07:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
moritzbeck01 73f2f2ad1b
Add counter to the the helper category (#71838) 2022-05-15 21:19:18 +02:00