Erik Montnemery
b7284b92ac
Clean up Alexa when logging out from cloud ( #109738 )
...
* Clean up Alexa when logging out from cloud
* Add test
2024-02-05 23:58:34 +01:00
Marc Mueller
c82933175d
Use builtin TimeoutError [a-d] ( #109678 )
2024-02-05 11:31:33 +01:00
Jan Bouwhuis
712ba2fdca
Add alexa PowerController on enabled features for climate entities ( #109174 )
...
Depend alexa PowerController on enabled features for climate entities
2024-01-30 20:38:32 -05:00
Jan Bouwhuis
a90d8b6a0c
Stabilize alexa discovery ( #108787 )
2024-01-24 18:56:21 +01:00
Jan Bouwhuis
c725238c20
Fix alexa fails reporting the state in specific cases ( #108743 )
...
* Fix alexa fails reporting the state in specific cases
* More cases
2024-01-23 23:36:44 +01:00
Jan Bouwhuis
de9bb20135
Fix invalid alexa climate or water_heater state report with double listed targetSetpoint ( #107673 )
2024-01-10 16:23:42 +01:00
Jan Bouwhuis
5bdcbc4e8b
Redact sensitive data in alexa debug logging ( #107676 )
...
* Redact sensitive data in alexa debug logging
* Add wrappers to diagnostics module
* Test http api log is redacted
2024-01-10 16:20:47 +01:00
Jan Bouwhuis
f536bc1d0c
Add valve support to Amazon Alexa ( #106053 )
...
Add valve platform to Amazon Alexa
2023-12-22 12:08:06 +01:00
Jan Bouwhuis
93c800c4e8
Add water_heater to alexa ( #106011 )
...
* Add water_heater support to alexa
* Improve test coverage
* Follow up comments
2023-12-20 16:48:02 +01:00
Jan Bouwhuis
a7155b154e
Fix alexa calling not featured cover services ( #105444 )
...
* Fix alexa calls not supported cover services
* Follow up comment and additional tests
2023-12-10 17:27:01 +01:00
Franck Nijhof
6a3c422d2f
Improve Amazon Alexa endpoint validation ( #105287 )
...
* Improve Amazon Alexa endpoint validation
* Add source comment
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-12-10 13:38:10 +01:00
Jan Bouwhuis
5c72d3c2d8
Restore removed guard for non-string inputs in Alexa ( #104263 )
2023-11-21 07:59:39 +01:00
Jan Bouwhuis
6372bc3aaa
Fix missed case alexa light attr can be None ( #102612 )
...
* Fix missed cased alexa light attr can be None
* Add test
2023-10-24 00:20:03 +02:00
Jan Bouwhuis
c2abc3dcec
Fix brightness and color_temp can be None for alexa light entities ( #102554 )
...
* Fix brightness and color_temp can be None in alexa
* Add test
2023-10-22 23:34:04 +02:00
Erik Montnemery
51576b7214
Improve typing of entity.entity_sources ( #99407 )
...
* Improve typing of entity.entity_sources
* Calculate entity info source when generating WS response
* Adjust typing
* Update tests
2023-09-12 20:41:26 +02:00
J. Nick Koston
0fe88d60ac
Guard expensive debug logging with isEnabledFor in alexa ( #100137 )
2023-09-11 11:39:10 -05:00
Jan Bouwhuis
7c7456df99
Handle alexa invalid climate temp adjustment ( #99740 )
...
* Handle temp adjust when target state not set
* Update homeassistant/components/alexa/errors.py
Co-authored-by: Robert Resch <robert@resch.dev>
* black
---------
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-06 18:54:16 +02:00
J. Nick Koston
262483f3f6
Replace async_timeout with asyncio.timeout A-B ( #98415 )
2023-08-15 10:29:28 +02:00
Marco Ranieri
54223fe06c
Enable Alexa Unlock directive ( #97127 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2023-08-14 17:47:50 +02:00
Jan Bouwhuis
500d9a4da0
Alexa strict type hints ( #97485 )
...
* Enable strict typing
* Adjustments for stict typing
2023-08-08 17:15:25 +02:00
Jan Bouwhuis
2a48159b69
Alexa typing part 6 (state_report) ( #97920 )
...
state_report
2023-08-08 15:46:54 +02:00
Jan Bouwhuis
0614702f98
Alexa typing part 5 (smart_home) ( #97918 )
...
* smart_home
* Fix test_disabled
* Remove unused type ignore
2023-08-08 11:48:50 +02:00
Jan Bouwhuis
3f542c47fd
Alexa typing part 4 (capabilities) ( #97915 )
...
* capabilities
* hvacmode
* tweaks
* name
* Corrections
* Missed hints
* remove unreachabe code
2023-08-08 11:07:52 +02:00
Jan Bouwhuis
d403625e60
Alexa typing part 3 (handlers) ( #97912 )
...
handlers
2023-08-07 23:59:56 +02:00
Jan Bouwhuis
5657cfa052
Alexa typing part 2 ( #97911 )
...
* Alexa typing part 2
* Update homeassistant/components/alexa/intent.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Missed type hints
* precision
* Follow up comment
* value
* revert abstract class changes
* raise NotImplementedError()
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-08-07 23:26:44 +02:00
Jan Bouwhuis
40a221c923
Alexa typing part 1 ( #97909 )
...
* Typing part 1
* mypy
* Correct typing for logbook
2023-08-07 20:36:30 +02:00
Jan Bouwhuis
2e8e5aabae
Refactor alexa modules to avoid circular deps ( #97618 )
...
* Refactor alexa modules to avoid circula deps
* Add test http api auth and AlexaConfig
* Update test
* Improve test
2023-08-05 21:32:53 +02:00
Jan Bouwhuis
3183ce7608
Add doorbell event support to alexa ( #97092 )
2023-07-23 20:16:46 +02:00
Mike Keesey
44aa531a51
Alexa temperature adjustment handle multiple setpoint ( #95821 )
...
* Alexa temperature adjustment handle multiple setpoint
In "auto" mode with many thermostats, the thermostats expose both an
upper and lower setpoint representing a range of temperatures. When a
temperature delta is sent from Alexa (e.g. "lower by 2 degrees), we need
to handle the case where the temperature property is not set, but
instead the upper and lower setpoint properties are set. In this case,
we adjust those properties via service call instead of the singular
value.
* Updating tests to fix coverage
2023-07-18 01:12:15 +02:00
Ville Skyttä
ced67e5800
Import `util.dt` as `dt_util` in `components/[a-d]*` ( #93756 )
2023-05-30 00:02:06 +03:00
Erik Montnemery
937ebb374c
Enable strict type checks of cloud ( #92576 )
...
* Enable strict type checks of cloud
* Fix circular import
* Address review comments
* Apply suggestions from code review
2023-05-24 11:46:11 +02:00
Flo
0f2caf864a
Alexa Intent: Use the 'id' field and expose nearest resolutions as variables ( #86709 )
...
* Use the 'id' field and nearest resolutions
Expose nearest Resolution (ID and Value) as Variables
* Add more specific type hints
* Change type definition of request
* Add deprecation warning and remove variables
* Remove deprecation warning & update tests
* Fix wrong value assignment
* revert future changes
2023-05-10 21:25:08 +02:00
Erik Montnemery
7d29d584fd
Fix race in Alexa async_enable_proactive_mode ( #92785 )
2023-05-09 19:58:00 +02:00
Erik Montnemery
b6664ce367
Improve cloud migration ( #92520 )
...
* Improve cloud migration
* Tweak
* Use entity_ids func
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-05-04 23:10:43 -04:00
Erik Montnemery
4860a8d1e8
Don't use storage collection helper in ExposedEntities ( #92396 )
...
* Don't use storage collection helper in ExposedEntities
* Fix tests
2023-05-03 12:39:22 +02:00
Erik Montnemery
e3c16e634b
Allow exposing entities not in the entity registry to assistants ( #92363 )
2023-05-02 22:08:09 +02:00
Erik Montnemery
058bb4c3e6
Drop deepcopy of Alexa config ( #89284 )
2023-03-07 16:16:46 +01:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 ( #89077 )
2023-03-03 11:26:13 +01:00
epenet
87dc692a20
Use json_loads_object in alexa ( #88610 )
2023-02-22 22:01:32 +01:00
Erik Montnemery
231aad7a68
Sort manifests 1 ( #87022 )
2023-02-08 20:29:44 +01:00
Erik Montnemery
e4285b0186
Comment lack of rounding in AlexaTemperatureSensor ( #87561 )
2023-02-06 19:37:14 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
epenet
8efd01b2e8
Type fixes for alexa entities ( #87077 )
...
* Type fixes for alexa entities
* Adjust get_type
2023-02-01 14:07:32 +01:00
Jan Bouwhuis
f182e314e5
Add number platform support to Alexa ( #86553 )
...
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2023-01-25 13:34:53 +01:00
Marc Mueller
60b799aac9
Misc typing improvements ( #86550 )
2023-01-25 11:05:36 +01:00
Franck Nijhof
91aaca6471
Code styling tweaks to the Alexa integration ( #86121 )
2023-01-18 01:01:30 +02:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet
91d6d620c2
Use new unit enums in alexa ( #83409 )
...
* Use new unit enums in alexa
* Adjust for mypy
2022-12-06 17:31:40 +01:00
Marc Mueller
1f30d761a6
Code style improvements [alexa] ( #83258 )
2022-12-05 09:36:03 +01:00