core/tests/components/alexa
Jan Bouwhuis e73ca9bd18
Alexa fix Fan support and cleanup (#56053)
* del PowerLevelController, ena fan PowerController

* Use AlexaRangeContoller for speed or default

* Update tests

* no-else-return

* Avoid cases with only one preset_mode

* Only report ghost_mode to Alexa - fix bug

* Add some tests for patched code

* pylint

* pylint and tests with one preset_mode

* correct ghost preset mode check in test

* add tests for RangeController

* ghost preset_mode locale agnostic

* isort

* Update homeassistant/components/alexa/capabilities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/alexa/entities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/alexa/entities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/alexa/entities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/alexa/entities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update entities.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-09-24 08:14:45 +02:00
..
__init__.py Correct Alexa scene activation (#56469) 2021-09-20 22:51:17 -07:00
test_auth.py Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const (#36233) 2020-05-30 17:27:20 +02:00
test_capabilities.py Alexa fix Fan support and cleanup (#56053) 2021-09-24 08:14:45 +02:00
test_entities.py Make Alexa custom ID unique (#44839) 2021-01-05 17:35:28 +01:00
test_flash_briefings.py Fix alexa flash briefings after removal of api_password auth (#36789) 2020-06-23 08:58:25 -07:00
test_init.py Describe Google Assistant events (#49141) 2021-04-13 09:31:01 -07:00
test_intent.py Use content type json constant (#40312) 2020-09-23 20:21:55 +02:00
test_smart_home.py Alexa fix Fan support and cleanup (#56053) 2021-09-24 08:14:45 +02:00
test_smart_home_http.py Use content type json constant (#40312) 2020-09-23 20:21:55 +02:00
test_state_report.py Alexa fix Fan support and cleanup (#56053) 2021-09-24 08:14:45 +02:00