Bram Kragten and J. Nick Koston
7d77fa92c2
Add mode info attributes to script and automation ( #37815 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2020-07-14 10:47:59 -07:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Paulus Schoutsen
5bc6ed4cef
Add logbook platforms ( #37078 )
...
* Add logbook platforms
* Fix logbook describe test
2020-06-24 18:14:50 -07:00
Thomas Hollstegge
2c7876fa66
Fix alexa flash briefings after removal of api_password auth ( #36789 )
2020-06-23 08:58:25 -07:00
Jörg Thalheim
fbbc681ad4
Fix intent component initialisation ( #36064 )
...
The intent component expect this method from every module that is called intent.
Fixes #35522
2020-06-07 20:45:34 -07:00
Paulus Schoutsen
2a86d52dba
Alexa media player only include equalizer if supported sound mode ( #36285 )
2020-05-30 21:42:40 -07:00
Quentame
1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ( #36233 )
...
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const
* Fix pylint
* Use in tests
* Search for "client_id"
* Fix tests
* Fix test
* Fix test
2020-05-30 17:27:20 +02:00
foxy82
67f7a4bb57
Add more alexa doorbell event locales ( #36252 )
2020-05-29 14:39:17 -07:00
Chris Talkington
654195454b
Add roku tv input names to alexa inputs ( #36089 )
...
* add roku tv input names to alexa inputs
* Update const.py
2020-05-25 16:06:38 -04:00
Franck Nijhof
e3e3a113e9
async_get_url -> get_url ( #35382 )
2020-05-08 21:53:28 +02:00
Franck Nijhof
2223592486
Add get_url helper, deprecate base_url ( #35224 )
2020-05-08 02:29:47 +02:00
J. Nick Koston
6f6c670b3b
Make alexa and google aware of DEVICE_CLASS_GATE ( #35103 )
2020-05-03 13:29:12 -07:00
ochlocracy
0d598dd6d6
Modify requirements for CameraStreamController in Alexa ( #34470 )
2020-04-21 10:46:56 -07:00
springstan
9a40d5b7ed
Use HTTP_NOT_FOUND constant ( #33835 )
2020-04-09 00:57:47 +02:00
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* Use http ok constant
* Remove incorrect use
* Run isort
* Fix pylint by adding missing imports
* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
springstan
46bbe816f6
Remove None from dict.get(key, None) ( #33794 )
2020-04-07 21:06:05 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
Franck Nijhof
feed139ae7
Small code style improvements to Alexa integration ( #33660 )
2020-04-04 14:20:48 -07:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
ochlocracy
28a2c9c653
Implement Alexa.CameraStreamController in Alexa ( #32772 )
...
* Implement Alexa.CameraStreamController.
* Add dependencies.
* Add camera helpers for image url, and mjpeg url.
* Remove unsupported AlexaPowerController from cameras.
* Refactor camera_stream_url to hass_url
* Declare HLS instead of RTSP.
* Add test for async_get_image_url() and async_get_mpeg_stream_url().
* Sort imports.
* Fix camera.options to camera.stream_options. (#32767 )
(cherry picked from commit 9af95e8577 )
* Remove URL configuration option for AlexaCameraStreamController.
* Update test_initialize_camera_stream.
* Optimize camera stream configuration.
* Update Tests for optimized camera stream configuration.
* Sort imports.
* Add check for Stream integration.
* Checks and Balances.
* Remove unnecessary camera helpers.
* Return None instead of empty list for camera_stream_configurations().
2020-03-27 21:19:11 -07:00
Thomas Hollstegge
f3c07a5653
Alexa: Add support for starting and cancelling timers ( #32616 )
2020-03-09 21:59:06 -07:00
David Nielsen
988b400a9c
Fix TypeError Exception in AlexaSpeaker ( #32318 )
...
* alexa/capabilities.py: Fix TypeError Exception
- Remove division by zero try/catch -- there is no division
- Handle TypeError exception when current_volume = None
- Simplify math and return logic
* Add test for Alexa.Speaker's valid volume range
2020-03-09 09:38:31 -07:00
Thomas Hollstegge
22b5690607
Alexa: Support vacuums without turn_on/turn_off feature ( #32570 )
...
* Alexa: Support vacuums without turn_on/turn_off feature
2020-03-09 11:58:47 -04:00
ochlocracy
fa4f27f78e
Remove AlexaPowerController from device_class garage covers in… ( #32607 )
2020-03-09 08:25:33 -07:00
Paulus Schoutsen
8aea538662
Allow teaching logbook about events ( #32444 )
...
* Allow teaching logbook about events
* Use async_add_executor_job
* Fix tests
2020-03-05 11:55:50 -08:00
Paulus Schoutsen
900714a3ee
Do not report state when closing down ( #32168 )
2020-02-25 09:05:36 -08:00
Ville Skyttä
9b2544c923
Remove some unneeded pylint suppressions ( #32152 )
2020-02-24 16:47:15 -08:00
springstan
524a1a7587
Use f-strings in integrations starting with "A" ( #32110 )
...
* Use f-strings in integrations starting with A
* Use f-strings in tests for integrations starting with A
* Fix pylint by renaming variable
* Fix nested for loop in f-string for aprs device_tracker
* Break long lines into multiple short lines
* Break long lines into multiple short lines v2
2020-02-23 13:38:05 -08:00
ochlocracy
4602d7370c
Remove Alexa.InputController from devices without supported inputs in Alexa ( #31450 )
...
* Yield Alexa.InputController only for supported inputs.
* Add Comment.
* Comment fix.
2020-02-03 16:19:40 -08:00
ochlocracy
c8d9b83b24
Update StepSpeaker and Speaker interfaces in Alexa ( #31444 )
...
* Yield only one Speaker interface.
* Yield PowerController only is supported.
* Revert "Yield PowerController only is supported."
This reverts commit c0dbf7e4
* Add Alexa.Speaker interface properties.
* Refactor tests for Alexa.Speaker and Alexa.StepSpeaker.
* Code Smell Change.
* Fix R1705: Unnecessary "elif" after "return".
2020-02-03 14:20:39 -08:00
ochlocracy
e796de6c59
Filter int in fan speed_list when yielding RangeController in Alexa ( #31375 )
...
* Allow for int in fan speed_list.
* Test for int in fan speed_list.
* prevent yielding preset for int labels.
2020-02-01 16:44:40 -08:00
ochlocracy
fa2e409abd
Protect for unknown state attributes. ( #31354 )
2020-01-31 14:14:43 -08:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
ochlocracy
83dff16e1e
Add support for rangeValueDeltaDefault in Alexa AdjustRangeValue directive ( #31258 )
...
* Update tests with rangeValue and rangeValueDelta to use int.
* Add support for rangeValueDeltaDefault for covers.
* Update tests for range changes.
* Test for AdjustRangeValue with rangeValueDeltaDefault True.
* Update tilt error.
2020-01-29 09:04:57 -08:00
ochlocracy
7116c7404a
Add PowerController to covers in Alexa ( #31265 )
...
* Add PowerController to covers.
* Comment Fix.
* Update test device_class.
* Update Comment.
2020-01-29 09:03:20 -08:00
Paul Daumlechner and ochlocracy
ed970797be
Fix attribute in Alexa service call for cover tilt ( #31223 )
...
* Update attribute in Alexa service call for cover tilt
* Update Tests to fix Tilt Position call.
Co-authored-by: ochlocracy <5885236+ochlocracy@users.noreply.github.com >
2020-01-27 19:28:40 -05:00
ochlocracy
0eee152386
Include supported states in Alexa SecurityPanelController configuration object ( #31120 )
...
* Update Security Panel Controller.
* Update Security Panel Controller.
* Sort imports.
2020-01-24 17:57:58 -08:00
ochlocracy
4015a046d2
Update AdjustRange Handler Service Calls. ( #31016 )
...
Add a AlexaGlobalCatalog value to all labels.
2020-01-22 11:04:31 -08:00
ochlocracy
1d41cf96ca
Fix Alexa semantics for covers with tilt support. ( #30911 )
...
* Fix Alexa semantics for covers with tilt support.
* Clarify wording.
* Korrect grammar.
2020-01-17 15:04:46 -08:00
ochlocracy
bb42ff93f4
Add support for vacuums to Alexa. ( #30764 )
2020-01-15 09:15:31 -08:00
Paulus Schoutsen
1e3b3ecbe6
Set default locale for cloud Alexa config ( #30749 )
2020-01-14 08:33:45 +01:00
ochlocracy
605b0ceb5f
Add support for variable fan speed list length. ( #30574 )
2020-01-10 17:26:37 -08:00
ochlocracy
74a198e37b
Implement TimeHoldController Interface in Alexa ( #30650 )
...
* Implement Alexa.TimeHoldController Interface
* Add test for timer resume directive.
2020-01-10 23:11:50 +01:00
ochlocracy
d0062fc740
Fix Alexa ChangeReports Filter non-proactively_reported_properties ( #30655 )
...
* Fix Change Report Properties.
* Fix Change Report Properties.
2020-01-10 22:34:50 +01:00
Franck Nijhof
6f92c19302
Correct integration names in manifests (A-B) ( #30527 )
...
* Correct names in manifests (A-B)
* Just Baidu
* Asterisk Call Detail Records
2020-01-06 23:59:12 +01:00
Franck Nijhof
a84741392b
Format all manifests with prettier ( #30521 )
2020-01-06 21:28:23 +01:00
ochlocracy
6387a50697
Implement supported locales for Alexa capabilities ( #30285 )
...
* Implement Alexa capability supported locales.
* Check config for supported locales.
* Removed unused import.
* Applied some potpourri to improve code smell.
* Change supported_locales to set.
2020-01-03 21:23:22 +01:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
ochlocracy
25f78dd1a9
Implement EqualizerController in Alexa for media_player. ( #30159 )
2019-12-24 17:06:39 -05:00
ochlocracy and Paulus Schoutsen
a2678b2aff
Add support for input_number entities in Alexa integration ( #30139 )
...
* Add support for input_number entities
* Update homeassistant/components/alexa/capabilities.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Removed get methods to directly access required attributes dicts.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2019-12-23 15:17:37 +01:00