Commit Graph

50190 Commits (1ac71455cbcaf05d8b9b13d69b9bd7372c92111c)

Author SHA1 Message Date
J. Nick Koston 5e59c3fd6d
Add switch platform to Big Ass Fans (#71954) 2022-05-18 13:36:47 -07:00
J. Nick Koston 2745573610
Small cleanups lutron_caseta (#72099) 2022-05-18 13:35:35 -07:00
Paulus Schoutsen 204762d23a
Merge pull request #72107 from home-assistant/rc 2022-05-18 13:23:10 -07:00
Paulus Schoutsen 18b40990a2
Bump frontend to 20220518.0 (#72106) 2022-05-18 13:22:30 -07:00
Paulus Schoutsen 1b107f6845 Bumped version to 2022.5.5 2022-05-18 12:14:42 -07:00
epenet 996633553b Cleanup unused import in SamsungTV (#72102) 2022-05-18 12:14:36 -07:00
epenet a1df9c33aa Ignore UpnpXmlContentError in SamsungTV (#72056) 2022-05-18 12:14:35 -07:00
Shay Levy 6b0c7a2dd4 Fix filesize doing IO in event loop (#72038) 2022-05-18 12:14:34 -07:00
J. Nick Koston d34d3baa07 Include initial state in history_stats count (#71952) 2022-05-18 12:14:33 -07:00
Simone Chemelli 6155a64222 Properly handle Shelly gen2 device disconnect (#71937) 2022-05-18 12:14:32 -07:00
epenet a0d1c5d1e6 Suppress Upnp error in SamsungTV resubscribe (#71925)
* Suppress Upnp error in SamsungTV resubscribe

* Supress UpnpCommunicationError instead

* Log resubscribe errors

* Add tests

* Add exc_info
2022-05-18 12:14:31 -07:00
Maciej Bieniek ce39461810 Revert changing `pysnmp` to `pysnmplib` (#71901) 2022-05-18 12:14:30 -07:00
RadekHvizdos 81f9cc40dd Add missing Shelly Cover sensors bugfix (#71831)
Switching Shelly Plus 2PM from switch to cover mode results in missing sensors for Power, Voltage, Energy and Temperature.

These parameters are still available in the API, but need to be accessed via "cover" key instead of "switch" key.

This change adds the missing sensors.
2022-05-18 12:14:29 -07:00
Christopher Bailey 5f3c7f11d8 Fix handling package detection for latest UniFi Protect beta (#71821)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-18 12:14:29 -07:00
Ethan Madden 2448661371 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-18 12:14:28 -07:00
rappenze 107615ebef Limit parallel requests in fibaro light (#71762) 2022-05-18 12:14:27 -07:00
Avi Miller 5fbc4b8dba Remove LIFX bulb discovery from the inflight list if it fails to connect (#71673)
Remove the bulb discovery from the inflight list if it fails to connect

Signed-off-by: Avi Miller <me@dje.li>
2022-05-18 12:14:26 -07:00
Simone Chemelli a3bd911ce3 Warn user if "model" key is missing from Shelly firmware (#71612)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 12:14:25 -07:00
Michael 5deb78a0dd Refresh camera stream source of Synology DSM connected cameras (#70938)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-18 12:14:02 -07:00
epenet 99941b1c32
Warn on use of deprecated async_get_registry (#72088)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 12:04:06 -07:00
epenet 349347cade
Cleanup unused import in SamsungTV (#72102) 2022-05-18 21:04:42 +03:00
Michael e300908a8e
Refresh camera stream source of Synology DSM connected cameras (#70938)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-18 10:59:35 -07:00
epenet 784fbf3291
Cleanup nest async method which is not awaiting (#72096) 2022-05-18 20:50:15 +03:00
J. Nick Koston 985bcb23f2
Fix SAWarning in logbook queries (#72101) 2022-05-18 12:33:58 -05:00
Simone Chemelli 4a95539d9d
Warn user if "model" key is missing from Shelly firmware (#71612)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 10:29:02 -07:00
J. Nick Koston c74b241949
Include initial state in history_stats count (#71952) 2022-05-18 10:28:04 -07:00
epenet 8f7f3f328e
Suppress Upnp error in SamsungTV resubscribe (#71925)
* Suppress Upnp error in SamsungTV resubscribe

* Supress UpnpCommunicationError instead

* Log resubscribe errors

* Add tests

* Add exc_info
2022-05-18 10:01:56 -07:00
Jesse Hills 8ff0ced846
Initial implementation of ESPHome media players (#72047)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-05-18 09:46:13 -07:00
epenet f4b252a51d
Cleanup hue async methods which are not awaiting (#72097) 2022-05-18 09:43:43 -07:00
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