1
mirror of https://github.com/home-assistant/core synced 2024-09-18 19:55:20 +02:00
ha-core/tests/components/vacuum
Conrad Juhl Andersen 2ff5b4ce95 Add support for STATES of vacuums (#15573)
* Vacuum: Added support for STATES

* Added debug logging and corrected state order

* typo

* Fix travis error, STATE = STATE for readability

* status -> state

* Changed to Entity instead of ToogleEntity

* Updated some vacuums

* Revert changes

* Revert Changes

* added SUPPORT_STATE

* Woof?

* Implement on/off if STATE not supported

* Moved new state vaccum to Class StateVacuumDevice

* Error: I should go to bed

* Moved around methods for easier reading

* Added StateVacuumDevice demo vacuum

* Added tests for StateVacuumDevice demo vacuum

* Fix styling errors

* Refactored to BaseVaccum

* Vacuum will now go back to dock

* Class BaseVacuum is for internal use only

* return -> await

* return -> await
2018-08-01 05:51:38 -07:00
..
__init__.py Xiaomi vacuum as platform of new vacuum component derived from ToggleEntity, and services (#8623) 2017-08-04 15:27:10 +02:00
test_demo.py Add support for STATES of vacuums (#15573) 2018-08-01 05:51:38 -07:00
test_dyson.py renaming icons (#13982) 2018-04-18 15:46:44 -04:00
test_mqtt.py Fix MQTT retained message not being re-dispatched (#12004) 2018-02-11 09:17:58 -08:00
test_xiaomi_miio.py Xiaomi MiIO Vacuum: Use a unique data key per domain (#12743) 2018-02-28 13:15:45 -08:00