Commit Graph

36118 Commits (b38289ee507d164e15dc3021b6aaae6134534eba)

Author SHA1 Message Date
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
Álvaro Fernández Rojas abe78b1212
Add QNAP QSW Button platform (#70980)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 19:24:29 -05:00
Álvaro Fernández Rojas e8a8d35289
Add Sensors for Airzone WebServer (#69748) 2022-05-13 19:23:18 -05:00
Robert Hillis 4ea6e5dfc0
Add config flow to Slack integration (#69880) 2022-05-13 20:05:06 -04:00
epenet 21b1667de9
Adjust Fan Modes in insteon (#71804) 2022-05-13 19:57:19 -04:00
jjlawren c5460ce4b9
Fix Sonos idle states (#71756) 2022-05-13 19:04:58 -04:00
Nathan Spencer 72a65b6a21
Add last seen and status code diagnostic sensors to litterrobot (#71760) 2022-05-13 19:03:25 -04:00
Christopher Bailey 3e386064cf
Fix handling package detection for latest UniFi Protect beta (#71821)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 18:42:33 -04:00
mkmer f6600bbc20
Add Aladdin connect config flow (#68304)
* Adding flow and async

* Fixes to init

* Lint and type

* Fixed coveragerc file

* Added Test Coverage

* Added Update Listener and removed unused code

* Wrong integration name in init.

* Nothing

* Added yaml import flow

* Added YAML import functionality

* Added back aladdin_connect files to coverage rc

* Removed commented code

* Clean up error message

* Update homeassistant/components/aladdin_connect/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/aladdin_connect/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/aladdin_connect/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Updated Documentation errors

* recommended change broke cover.py - backed out

* Cleaned up unused defenitions

* implimented recommended changes from gjohansson

* Dev environment cleanup

* Raised errors for better recovery, replaced removed update files, utilized PLATFORM vars to init platform

* Added back removal

* Added Code Owner

* Fixed more comment errors and import duplicates

* Added test coverage and formated code

* Added test coverage for model and init

* Added test_cover for full testing coverage

* Added await to async call

* Added missing asserts to failure tests

* Updated tranlsation

* Fixed wording in yaml import function, white space in const.py, return from validate_input.

* Update homeassistant/components/aladdin_connect/config_flow.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* "too much" whitespace

* Added back mising strings.json errors

* Added ConfigFlowReconfig and tests

* Finished up reauth config flow and associated tests

* Added reauth to strings, removed username from reauth

* recommended changes, ran script.translations, added auth test to reauth

* put back self.entry.data unpack.

* Cleanup for error message, fixed missing "asserts" in tests

* Added yaml import assertions

* Fixed documentation errors in test_cover.

* remove unused string.

* revised tests and wording for yaml import

* Documentation cleanup.

* Changed sideeffect names

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-14 00:41:01 +02:00
J. Nick Koston 663f6f8340
Complete refactoring of logbook humanify (#71830) 2022-05-13 14:56:16 -07:00
J. Nick Koston e06ea5e03e
Remove deprecated history function entry points (#71815) 2022-05-13 16:19:26 -04:00
J. Nick Koston 535ae56fe7
Remove unused entity_id argument in logbook context augmenter (#71829) 2022-05-13 13:17:41 -07:00
J. Nick Koston 2a2a7a62c5
Avoid matching entity_id/domain attributes in logbook when there is no entities_filter (#71825) 2022-05-13 13:16:33 -07:00
Erik Montnemery 08ee276277
Add tilt support to Tasmota covers (#71789)
* Add tilt support to Tasmota covers

* Bump hatasmota to 0.5.0
2022-05-13 22:03:21 +03:00
Dave T 807df530bc
Add diagnostics file export to generic camera (#71492) 2022-05-13 10:27:08 -07:00
J. Nick Koston 9bd508c0bf
Generate json for history and logbook websocket responses in the executor (#71813) 2022-05-13 13:17:54 -04:00
Erik Montnemery 83080dbba8
Support this variable in template cover actions (#71793) 2022-05-13 09:34:00 -07:00
Erik Montnemery a17fa6d6d5
Support this variable in template fan actions (#71795) 2022-05-13 09:33:44 -07:00
Erik Montnemery 8b412acc98
Support this variable in template lock actions (#71796) 2022-05-13 09:33:25 -07:00
Erik Montnemery 66ec4564f4
Support this variable in template number actions (#71797) 2022-05-13 09:33:00 -07:00
Erik Montnemery adde9130a1
Support this variable in template select actions (#71798) 2022-05-13 09:32:45 -07:00
Erik Montnemery 6f7a465347
Support this variable in template vacuum actions (#71800) 2022-05-13 09:32:19 -07:00
Erik Montnemery 9eca91afc9
Support this variable in template light actions (#71805) 2022-05-13 09:31:37 -07:00
J. Nick Koston d215cdc563
Avoid buffering logbook rows unless we are selecting less than a days worth (#71809) 2022-05-13 09:10:43 -07:00
J. Nick Koston e7e45209ec
Update stale docstring in logbook (#71814) 2022-05-13 09:07:26 -07:00
starkillerOG 28560e76e9
Fix mixing string references in Motion Blinds translations (#71806) 2022-05-13 17:29:56 +02:00
Erik Montnemery 042321be60
Support this variable in template button actions (#71792) 2022-05-13 17:28:36 +02:00
Erik Montnemery 184421dae6
Support this variable in template switch actions (#71799) 2022-05-13 16:44:27 +02:00
Avi Miller f487c04e02
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-13 13:30:44 +02:00
Thibaut 80d332ddf1
Don’t send None value within Command parameter value in Overkiz integration (#71582) 2022-05-13 12:36:08 +02:00
Erik Montnemery dba2f5ab1c
Support this variable in template alarm actions (#71744) 2022-05-13 12:17:40 +02:00
Mick Vleeshouwer f301de98e4
Add deprecation warning to Somfy integration (#71653) 2022-05-13 12:15:49 +02:00
Franck Nijhof c8d171c475
Remove deprecated Raspberry Pi GPIO integration (#71777) 2022-05-13 12:13:26 +02:00
Erik Montnemery 3adaad7381
Migrate limitlessled light to color_mode (#69430) 2022-05-13 11:40:22 +02:00
Robert Svensson 3d05a9d31f
Streamline setup of deCONZ lock from sensor platform (#71707) 2022-05-13 10:38:36 +02:00
Franck Nijhof e6d7170fd8
Remove deprecated WLED update button (#71775) 2022-05-13 11:18:16 +03:00
Robert Svensson bed2d1e37b
Streamline setup of deCONZ climate platform (#71708) 2022-05-13 09:51:19 +02:00
Jelte Zeilstra 75058e63a4
Create Update entities for Ubiquiti network devices (#71700)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-13 09:17:41 +02:00
Allen Porter 32e4046435
Prepare google calendar integration for Application Credentials (#71748)
* Prepare google calendar integration for Application Credentials

Update google calendar integration to have fewer dependencies on
yaml configuration data to prepare for supporting application
credentials, which means setup can happen without configuration.yaml
at all. This pre-factoring will allow the following PR adding
application credentials support to be more focused.

* Add test coverage for device auth checks
2022-05-13 04:33:52 +02:00
GitHub Action c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
J. Nick Koston 24a0007785
Add additional context data to logbook events (#71721) 2022-05-12 17:21:14 -07:00
J. Nick Koston 1d9fb4bca8
Fix process_datetime_to_timestamp and add test coverage (#71755) 2022-05-12 17:12:50 -07:00
J. Nick Koston 8ab27f26b9
Use ciso8601 for parsing datetimes with sqlalchemy sqlite dialect (#71766) 2022-05-12 17:11:43 -07:00
Paul Annekov d76ff7d5a2
Changed API for Ukraine Alarm (#71754) 2022-05-12 16:45:39 -07:00
uvjustin 7e49ae6410
Add use_wallclock_as_timestamps option to generic (#71245)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-12 16:43:24 -07:00
G Johansson a746d7c1d7
Improve code quality in sql integration (#71705) 2022-05-12 19:40:00 -04:00
Nathan Spencer ae89a1243a
Refactor litterrobot to use SensorEntityDescription (#71224) 2022-05-12 13:15:59 -05:00
Marvin ROGER 1cb00cbb79
Fix timezone issue on onvif integration (#70473) 2022-05-12 07:23:18 -07:00
Bouwe Westerdijk 5a7624bfd4
Bump plugwise to v0.18.2 (#71731) 2022-05-12 15:19:50 +02:00
epenet a0f741778a
Use HVACAction in mqtt (#71726) 2022-05-12 14:12:21 +02:00
Jesse Hills 39313057c4
Add amperage limit number to JuiceNet (#71716)
* Add amperage limit number to JuiceNet

* coverage exception

* Use mixin dataclass
2022-05-12 13:14:52 +02:00
Franck Nijhof bf314970ea
Remove username entity from Geocaching (#71728) 2022-05-12 13:14:33 +02:00
Rudolf Offereins 577b8cd976
Add Geocaching integration (#50284)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Reinder Reinders <reinder.reinders@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-05-12 12:12:47 +02:00
Franck Nijhof 135326a4a6
Remove YAML configuration from filesize (#71692) 2022-05-12 10:31:42 +02:00
Franck Nijhof 3ce19cd6f8
Remove YAML configuration from DuneHD (#71694) 2022-05-12 09:39:49 +02:00
Raman Gupta 533257021c
Parallelize zwave_js service calls (#71662)
* Parallelize zwave_js service calls to speed them up and handle exceptions properly

* Fix bug

* Add tests

* Fix comments

* Additional comment fixes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-12 03:07:58 -04:00
Raman Gupta 0d69adb404
Send initial message for certain zwave_js ws subscriptions (#71723)
* Send initial message for certain zwave_js ws subscriptions

* Be consistent

* fix tests and bugs
2022-05-12 03:07:11 -04:00
Raman Gupta ca52aa47aa
Enable sentry reporting for zwave_js (#71719)
* Enable sentry reporting for zwave_js

* Fix test
2022-05-12 03:05:35 -04:00
Raman Gupta 684fe242d9
Set PARALLEL_UPDATES to 0 for all zwave_js platforms (#71626) 2022-05-11 20:51:10 -07:00
J. Nick Koston 18bdc70185
Update sql to prepare for sqlalchemy 2.0 (#71532)
* Update sql to prepare for sqlalchemy 2.0

* config flow as well
2022-05-11 20:45:47 -07:00
J. Nick Koston 9cd81db5b3
Add device_id and logbook descriptions to lutron_caseta (#71713) 2022-05-11 20:45:16 -07:00
J. Nick Koston 1dc15bb7c8
Prevent history_stats from rejecting states when microseconds differ (#71704) 2022-05-11 20:44:35 -07:00
J. Nick Koston 04af9698d3
Add logbook/get_events websocket endpoint (#71706)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-11 22:28:06 -05:00
Raman Gupta b9f7d1f54c
Fix zwave_js device automation bug (#71715) 2022-05-11 22:55:12 -04:00
Glenn Waters a03a4b0d13
ElkM1 integration updates for new version of base library (#71508)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-11 21:32:19 -05:00
J. Nick Koston 19168227eb
Fix sqlalchemy warning about logbook query being converted from subquery (#71710) 2022-05-11 19:30:36 -07:00
Franck Nijhof 08851d8366
Remove YAML configuration from International Space Station (ISS) (#71693) 2022-05-12 02:32:02 +02:00
Nic Jansma 69a8232b45
Add missing Coinbase RATEs (#65101) 2022-05-12 02:22:54 +02:00
J. Nick Koston e2cef55162
Add history/history_during_period websocket endpoint (#71688) 2022-05-11 17:52:22 -05:00
J. Nick Koston 81e8d2ab86
Significantly improve logbook performance when selecting entities (#71657) 2022-05-11 15:27:02 -07:00
Trevor North 074dfd5a21
Allow RTMP sources for RTSPtoWeb (#71695) 2022-05-11 15:05:42 -07:00
Robert Svensson 554f079b02
Streamline setup of deCONZ switch platform (#71661) 2022-05-11 13:31:16 +02:00
Robert Svensson 44f8c555a6
Streamline setup of deCONZ siren platform (#71660) 2022-05-11 13:30:16 +02:00
Robert Svensson db17d7aecf
Streamline setup of deCONZ lock from light platform (#71659) 2022-05-11 13:20:09 +02:00
Robert Svensson 920c0d1667
Streamline setup of deCONZ cover platform (#71656) 2022-05-11 13:19:28 +02:00
Robert Svensson b9f3f1af6c
Streamline setup of deCONZ fan platform (#71658) 2022-05-11 13:18:20 +02:00
J. Nick Koston 04e3cee6c3
Bump flux_led to 0.28.29 (#71665) 2022-05-11 13:14:11 +02:00
Raman Gupta 34d4eb7c15
Improve eight sleep code quality and fix bug (#71622) 2022-05-11 13:12:44 +02:00
Guido Schmitz 557cba118f
Bump devolo_home_control (#71639) 2022-05-11 13:10:34 +02:00
Bouwe Westerdijk 2d5a82d10e
Refactor Plugwise select and add regulation_mode selector (#69210)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-05-11 10:48:13 +02:00
Erik Montnemery fb6cdb5a38
Optimistically set hs_color in template light (#71629)
* Optimistically set hs_color in template light

* Update light.py

* Update test
2022-05-11 09:57:54 +02:00
dacwe f18d794293
Bump yalexs to 1.1.25 for handling locks in "secure locked mode" as locked (#71666) 2022-05-10 19:34:03 -05:00
GitHub Action 3d2b0a17ce [ci skip] Translation update 2022-05-11 00:22:31 +00:00
Alexei Chetroi dcbac86fc0
Bump up ZHA dependencies (#71663) 2022-05-10 19:21:46 -04:00
Graham Arthur Blair 945eba9aa3
Change Ring Chime play sound Buttons to a Siren (#71449) 2022-05-10 13:49:38 -07:00
rappenze 2205898771
Fix wrong brightness level change visible in UI (#71655) 2022-05-10 23:33:40 +03:00
Álvaro Fernández Rojas 45290c4c09
Update aioairzone to 0.4.4 (#71641)
Implements PEP 561, which allows to remove coordinator cast for strict typing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-10 16:49:40 +02:00
Álvaro Fernández Rojas c994d06967
Update aioqsw to 0.0.8 (#71640)
Implements PEP 561, which allows to remove coordinator cast.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-10 16:48:26 +02:00
Franck Nijhof ef16e6c129
Fix Plugwise recovering from aiohttp client error (#71642) 2022-05-10 15:28:44 +02:00
J. Nick Koston 26177bd080
Convert logbook to use lambda_stmt (#71624) 2022-05-10 08:23:13 -05:00
Erik Montnemery 68c2b63ca1
Fix issue creation links in log messages (#71638) 2022-05-10 15:22:12 +02:00
Guido Schmitz 054ea77b45
Bump devolo-plc-api to 0.8.0 (#71633) 2022-05-10 13:00:00 +02:00
Álvaro Fernández Rojas 46becd4023
Address late Airzone strict typing comments (#71627)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-10 10:00:38 +02:00
Álvaro Fernández Rojas 0f41f56998
Address late QNAP QSW strict typing comments (#71628)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-10 09:59:10 +02:00
J. Nick Koston bf77c000ea
Complete baked query conversion for recorder.history (#71618) 2022-05-09 21:00:19 -07:00
GitHub Action 3de7ffde54 [ci skip] Translation update 2022-05-10 00:23:19 +00:00
Maciej Bieniek 7243f787f9
Bump nam backend library to version 1.2.4 (#71584) 2022-05-10 01:11:50 +03:00
Robert Svensson b731b7b69c
Bump pydeconz to v92 (#71613) 2022-05-10 00:03:03 +02:00
Andre Richter 3a00c95113
Add device_info and entity_category to Vallox (#67353)
* Add device_info and entity_category to Vallox

* Fix DeviceInfo

* Address review comments 1

* vallox suggested changes

Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 17:00:31 -05:00
J. Nick Koston d8336a5216
Fix missing context_id in script logbook entries (#71602) 2022-05-09 15:22:27 -05:00
J. Nick Koston 222baa53dd
Make database access in the eventloop raise an exception (#71547) 2022-05-09 15:22:08 -05:00
J. Nick Koston 2560d35f1c
Always show the start and stop event in logbook (#71600) 2022-05-09 15:21:21 -05:00
Erik Montnemery f859cb6b2e
Remove unneeded bind_hass from device_automation code (#71599) 2022-05-09 23:19:00 +03:00
Paulus Schoutsen 1c841590aa
Reduce mobile app error to debug (#71601) 2022-05-09 23:12:48 +03:00
Erik Montnemery 347193055e
Rename logbook humanify function (#71597)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-09 23:10:26 +03:00
Erik Montnemery bec3c6e66a
Add 'toggle' device action translation to fan (#71590) 2022-05-09 23:09:43 +03:00
Daniel Hjelseth Høyer bb052679df
Update adax lib (#71609)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-05-09 23:08:22 +03:00
Michael 287bc5e3dc
Add release url to Fritz!Tools update entity (#71606)
* add release url to update entity

* fix test
2022-05-09 23:07:47 +03:00
TheHolyRoger 0fcdca2d71
Add optional base64 decoding of mqtt camera image (#71223)
Add unittest for b64 decoding of camera, fix linting
2022-05-09 21:40:15 +02:00
Tom Harris 1a45e54324
Fix Insteon issue with dimmer default on level (#71426) 2022-05-09 13:20:45 -05:00
Álvaro Fernández Rojas d8e4f6d6e6
Add QNAP QSW to strict typing (#71603) 2022-05-09 12:57:27 -05:00
Álvaro Fernández Rojas b9b83c05e9
Add Airzone to strict typing (#71604) 2022-05-09 12:56:59 -05:00
epenet 75ce66e8bd
Migrate wemo light to ColorMode (#70857) 2022-05-09 18:42:18 +02:00
Álvaro Fernández Rojas 88c2c5c36c
Add Binary Sensors for Airzone Systems (#69736) 2022-05-09 09:07:11 -05:00
Paulus Schoutsen 539ce7ff0e
Allow mobile app to disable entities by default (#71562) 2022-05-09 08:05:31 -05:00
Á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
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
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
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
Á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
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
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
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