Commit graph

49836 commits

Author SHA1 Message Date
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
G Johansson
0bc843c133
Add remaining tests for Sensibo (#71764)
* Sensibo remaining tests

* Use fixture for enable entity
2022-05-13 19:40:34 -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