Commit Graph

11226 Commits

Author SHA1 Message Date
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
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
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
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
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
Franck Nijhof
69cc6ab5f1 Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +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
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
Franck Nijhof
99f68ab858 Update dsmr_parser to v0.33 (#71946) 2022-05-16 21:04:59 -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
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
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
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
Matej Drobnič
690fb2ae86 Add back description and location to calendar endpoint (#71887) 2022-05-15 20:31:22 +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
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
Austin Mroczek
3d2f4e31af Add diagnostics for TotalConnect (#71506) 2022-05-14 21:06:05 -05: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
68632cb267 Implement use_include_order in the history websocket api (#71839) 2022-05-14 12:37:35 -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
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
Christopher Bailey
fdc8830dd3 Remove ssh switch from unsupported devices for UniFi Protect (#71859) 2022-05-14 11:07:17 -05: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
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
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
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
Erik Montnemery
4885331509 Fail template functions when no default specified (#71687) 2022-05-13 09:46:49 -07:00
Erik Montnemery
83080dbba8 Support this variable in template cover actions (#71793) 2022-05-13 09:34:00 -07:00