Commit Graph

12328 Commits (f6600bbc209130cffee3b8b115e8309488eafc73)

Author SHA1 Message Date
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
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
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
Erik Montnemery 6cff2f8571
Tweak template light tests (#71729) 2022-05-13 12:22:34 +02:00
Erik Montnemery dba2f5ab1c
Support this variable in template alarm actions (#71744) 2022-05-13 12:17:40 +02:00
Franck Nijhof e6d7170fd8
Remove deprecated WLED update button (#71775) 2022-05-13 11:18:16 +03: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
J. Nick Koston 7ab4960b1e
Restore v23 stats migration tests (#71743) 2022-05-12 21:14:02 -04: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
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
Erik Montnemery 3332c853c4
Remove prints from template tests (#71746) 2022-05-12 18:34:26 +02:00
Erik Montnemery 11cc1feb85
Tweak template switch tests (#71738) 2022-05-12 17:08:21 +02:00
Erik Montnemery 35e4f11e0b
Tweak template lock tests (#71734) 2022-05-12 16:29:48 +02:00
Erik Montnemery b70e97e949
Remove unused calls fixture from template tests (#71735) 2022-05-12 16:04:01 +02:00
Erik Montnemery 1ef3800844
Tweak template cover tests (#71732) 2022-05-12 15:22:57 +02:00
Bouwe Westerdijk 5a7624bfd4
Bump plugwise to v0.18.2 (#71731) 2022-05-12 15:19:50 +02:00
Erik Montnemery 8f50a70ff5
Tweak template alarm tests (#71730) 2022-05-12 14:09:43 +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
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
Franck Nijhof 08851d8366
Remove YAML configuration from International Space Station (ISS) (#71693) 2022-05-12 02:32:02 +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
G Johansson 49491bcda5
Sensibo test data adjustment from late review (#71482)
* Sensibo test data

* Separate pytest fixture for json load

* Scope to session
2022-05-11 19:36:30 +02:00
J. Nick Koston 1304808f89
Add additional test cover for history_stats (#71648) 2022-05-11 13:09:55 +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
Graham Arthur Blair 945eba9aa3
Change Ring Chime play sound Buttons to a Siren (#71449) 2022-05-10 13:49:38 -07:00