Commit Graph
12351 Commits
Author SHA1 Message Date
Matej DrobničandGitHub 690fb2ae86 Add back description and location to calendar endpoint (#71887) 2022-05-15 20:31:22 +02:00
uvjustinandGitHub 221b77297e Declare exports from stream explicitly (#71898) 2022-05-15 17:58:57 +02:00
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
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 KostonandGitHub e0bf1fba8d Add logbook descriptions for mobile app zone enter and exit (#71749) 2022-05-14 23:05:56 -07:00
J. Nick KostonandGitHub 1f753ecd88 Relocate sqlalchemy filter builder to recorder/filters.py (#71883) 2022-05-14 23:04:23 -07:00
J. Nick KostonandGitHub 65f44bd80b Exclude last_changed when same as last_updated for history websocket api (#71886) 2022-05-14 23:03:56 -07:00
Austin MroczekandGitHub 3d2f4e31af Add diagnostics for TotalConnect (#71506) 2022-05-14 21:06:05 -05:00
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 KostonandGitHub 68632cb267 Implement use_include_order in the history websocket api (#71839) 2022-05-14 12:37:35 -07:00
J. Nick KostonandGitHub 4e9bc9eaff Small cleanups to find_next_time_expression and addition of tests (#71845) 2022-05-14 12:13:32 -07:00
J. Nick KostonandGitHub ebce5660e3 Sync event timed_fired and the context ulid time (#71854) 2022-05-14 12:12:08 -07:00
J. Nick KostonandGitHub 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 PorterandGitHub 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 BaileyandGitHub fdc8830dd3 Remove ssh switch from unsupported devices for UniFi Protect (#71859) 2022-05-14 11:07:17 -05:00
G JohanssonandGitHub c0ae31d86c Code quality Filesize (#71768) 2022-05-14 06:16:22 -05:00
Franck NijhofandGitHub 991f0b40f2 Remove YAML configuration from Discord (#71696) 2022-05-13 22:55:02 -05:00
G JohanssonandGitHub 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 KostonandGitHub a8f1dda004 Use ciso8601 for parsing MySQLdb datetimes (#71818)
* Use ciso8601 for parsing MySQLDB datetimes

The default parser is this:

https://github.com/PyMySQL/mysqlclient/blob/5340191feb16b1f99a7b43fe7c74a2f690138cb1/MySQLdb/times.py#L66

* tweak

* tweak

* add coverage for building the MySQLdb connect conv param
2022-05-13 19:26:09 -05:00
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 RojasandGitHub e8a8d35289 Add Sensors for Airzone WebServer (#69748) 2022-05-13 19:23:18 -05:00
Robert HillisandGitHub 4ea6e5dfc0 Add config flow to Slack integration (#69880) 2022-05-13 20:05:06 -04:00
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
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 KostonandGitHub 663f6f8340 Complete refactoring of logbook humanify (#71830) 2022-05-13 14:56:16 -07:00
J. Nick KostonandGitHub 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 MontnemeryandGitHub 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 TandGitHub 807df530bc Add diagnostics file export to generic camera (#71492) 2022-05-13 10:27:08 -07:00
Erik MontnemeryandGitHub 4885331509 Fail template functions when no default specified (#71687) 2022-05-13 09:46:49 -07:00
Erik MontnemeryandGitHub 83080dbba8 Support this variable in template cover actions (#71793) 2022-05-13 09:34:00 -07:00
Erik MontnemeryandGitHub a17fa6d6d5 Support this variable in template fan actions (#71795) 2022-05-13 09:33:44 -07:00
Erik MontnemeryandGitHub 8b412acc98 Support this variable in template lock actions (#71796) 2022-05-13 09:33:25 -07:00
Erik MontnemeryandGitHub 66ec4564f4 Support this variable in template number actions (#71797) 2022-05-13 09:33:00 -07:00
Erik MontnemeryandGitHub adde9130a1 Support this variable in template select actions (#71798) 2022-05-13 09:32:45 -07:00
Erik MontnemeryandGitHub 6f7a465347 Support this variable in template vacuum actions (#71800) 2022-05-13 09:32:19 -07:00
Erik MontnemeryandGitHub 9eca91afc9 Support this variable in template light actions (#71805) 2022-05-13 09:31:37 -07:00
Erik MontnemeryandGitHub 042321be60 Support this variable in template button actions (#71792) 2022-05-13 17:28:36 +02:00
Erik MontnemeryandGitHub 184421dae6 Support this variable in template switch actions (#71799) 2022-05-13 16:44:27 +02:00
Erik MontnemeryandGitHub 6cff2f8571 Tweak template light tests (#71729) 2022-05-13 12:22:34 +02:00
Erik MontnemeryandGitHub dba2f5ab1c Support this variable in template alarm actions (#71744) 2022-05-13 12:17:40 +02:00
Franck NijhofandGitHub e6d7170fd8 Remove deprecated WLED update button (#71775) 2022-05-13 11:18:16 +03:00
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 PorterandGitHub 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
J. Nick KostonandGitHub 7ab4960b1e Restore v23 stats migration tests (#71743) 2022-05-12 21:14:02 -04:00
J. Nick KostonandGitHub 24a0007785 Add additional context data to logbook events (#71721) 2022-05-12 17:21:14 -07:00
J. Nick KostonandGitHub 1d9fb4bca8 Fix process_datetime_to_timestamp and add test coverage (#71755) 2022-05-12 17:12:50 -07:00
Paul AnnekovandGitHub d76ff7d5a2 Changed API for Ukraine Alarm (#71754) 2022-05-12 16:45:39 -07:00
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 JohanssonandGitHub a746d7c1d7 Improve code quality in sql integration (#71705) 2022-05-12 19:40:00 -04:00
Nathan SpencerandGitHub ae89a1243a Refactor litterrobot to use SensorEntityDescription (#71224) 2022-05-12 13:15:59 -05:00