* Updated the AlexaModeController to support the remote domain. Also added an alexa entitiy adapter for the remote domain.
* Fixed copy paste mistake.
* Fixed power state for remove domain.
* Updated the CapabilityResource to support labels with the corresponding locale. This local is read from the users config.
* Add the alexa display category 'REMOTE' and use it for the remote capability.
* Revert "Updated the CapabilityResource to support labels with the corresponding locale. This local is read from the users config."
This reverts commit fbdf37904a.
* Fix error when the remote does not have an activtiy list.
* Add tests for the state report of a remote entity.
* Add a test for alexas set mode directive for a remote entitiy.
* Add a test for alexas TurnOn and TurnOff directives for a remote entity.
* Apply suggestions from code review
Fix copy paste mistakes.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Improve attribute name as suggested.
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Add test case with zero and one activity.
* Add a comment why we use the mode controller instead of the input controller.
* Add test to check of the discovery returns all required interfaces for a remote entitiy.
* Tweak comment
* Add line breaks to fix max allowed chars per line.
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* 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>
* Add new display categories from Alexa Smart Home API
* Update Vacuum entities to use VACUUM_CLEANER category.
* Update Automation entities to use ACTIVITY_TRIGGER category.
* Update tests for Automation entities to use ACTIVITY_TRIGGER category.