Commit Graph

38707 Commits (506d09d0580dc8550dda5b0a36390dcf768de411)

Author SHA1 Message Date
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
Maciej Bieniek 904be03d72
Revert changing `pysnmp` to `pysnmplib` (#71901) 2022-05-15 20:36:57 +02:00
Matej Drobnič 690fb2ae86
Add back description and location to calendar endpoint (#71887) 2022-05-15 20:31:22 +02:00
moritzbeck01 b6c7422607
Add timer to the the helper category (#71837) 2022-05-15 19:37:24 +02:00
Allen Porter f2da1fceb2
Bump gcal_sync to 0.8.0 (#71900) 2022-05-15 19:33:46 +02:00
uvjustin 221b77297e
Declare exports from stream explicitly (#71898) 2022-05-15 17:58:57 +02:00
J. Nick Koston 98809675ff
Convert history queries to use lambda_stmt (#71870)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-15 10:47:29 -05:00
Robert Svensson 8ea5ec6f08
Streamline setup of deCONZ number platform (#71840) 2022-05-15 15:56:45 +02:00
rappenze 2b637f71fa
Limit parallel requests in fibaro light (#71762) 2022-05-15 15:02:05 +02:00
RadekHvizdos 8549af3855
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-15 12:29:35 +03:00
uvjustin 617b0d04dc
Decouple stream options from PyAV options (#71247)
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-14 23:31:18 -07:00
J. Nick Koston e0bf1fba8d
Add logbook descriptions for mobile app zone enter and exit (#71749) 2022-05-14 23:05:56 -07:00
J. Nick Koston 1f753ecd88
Relocate sqlalchemy filter builder to recorder/filters.py (#71883) 2022-05-14 23:04:23 -07:00
J. Nick Koston 65f44bd80b
Exclude last_changed when same as last_updated for history websocket api (#71886) 2022-05-14 23:03:56 -07:00
starkillerOG 6a6d31180b
Motion blinds restore angle (#71790)
* restore tilt for TiltDevices

* add tilt option to set_absolute_position

* improve set_absolute_position service

* fix styling
2022-05-14 20:08:30 -07:00
J. Nick Koston 8f33437507
Correct typo in internal logbook function names (#71882) 2022-05-14 20:04:31 -07:00
Austin Mroczek 3d2f4e31af
Add diagnostics for TotalConnect (#71506) 2022-05-14 21:06:05 -05:00
GitHub Action 10624e93c8 [ci skip] Translation update 2022-05-15 00:30:16 +00:00
J. Nick Koston 51c6a68036
Add Big Ass Fans integration (#71498)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-14 17:22:47 -05:00
J. Nick Koston 0584e84c30
Add MySQL index hints to logbook (#71864)
* Add MySQL index hints to logbook

* fix mysql query planner
2022-05-14 17:01:36 -05:00
J. Nick Koston 68632cb267
Implement use_include_order in the history websocket api (#71839) 2022-05-14 12:37:35 -07:00
Allen Porter cd2898886b
Upgrade grpcio to 1.46.1 (#71865) 2022-05-14 12:24:52 -07:00
J. Nick Koston 4e9bc9eaff
Small cleanups to find_next_time_expression and addition of tests (#71845) 2022-05-14 12:13:32 -07:00
J. Nick Koston ebce5660e3
Sync event timed_fired and the context ulid time (#71854) 2022-05-14 12:12:08 -07:00
J. Nick Koston 8c2743bb67
Avoid storing last_changed in the database if its the same as last_updated (#71843) 2022-05-14 12:06:31 -07:00
jjlawren 532b3d780f
Rework Sonos battery and ping activity tracking (#70942) 2022-05-14 13:40:26 -05:00
Allen Porter 355445db2d
Add application credentials platform for google calendar integration (#71808)
* Add google application_credentials platform

* Further simplify custom auth implementation overrides

* Add test coverage in application_credentials

* Simplify wording in a comment

* Remove unused imports accidentally left from merge

* Wrap lines that are too long for style guide

* Move application credential loading to only where it is needed

* Leave CLIENT_ID and CLIENT_SECRET as required.
2022-05-14 10:27:47 -07:00
AlainH 656e88faec
Update pyRFXtrx dependency to 0.29.0 (#71852)
* rfxtrx: update pyRFXtrx dependency to 0.29.0

* Update requirements_all.txt / requirements_test_all.txt
2022-05-14 18:10:15 +02:00
Christopher Bailey fdc8830dd3
Remove ssh switch from unsupported devices for UniFi Protect (#71859) 2022-05-14 11:07:17 -05:00
eyager1 ba7d397704
Improve reliability of VLC metadata parsing (#71856)
* Improve reliability of metadata parsing.

* Remove media_album_name property

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-14 17:14:35 +02:00
G Johansson c0ae31d86c
Code quality Filesize (#71768) 2022-05-14 06:16:22 -05:00
Franck Nijhof 991f0b40f2
Remove YAML configuration from Discord (#71696) 2022-05-13 22:55:02 -05:00
Clifford W. Hansen ef9d8944f1
Update sonarr sensor (#71576)
Fixed issue when episodeFileCount/episodeCount might not exist
2022-05-13 22:09:09 -05:00
G Johansson d84c6af55d
Add multiple departures to Trafikverket Ferry (#71484) 2022-05-13 19:42:11 -05:00
J. Nick Koston a8f1dda004
Use ciso8601 for parsing MySQLdb datetimes (#71818)
* Use ciso8601 for parsing MySQLDB datetimes

The default parser is this:

5340191feb/MySQLdb/times.py (L66)

* tweak

* tweak

* add coverage for building the MySQLdb connect conv param
2022-05-13 19:26:09 -05:00