Run asyncio event loop in debug mode during tests (#13058)

* Run asyncio event loop in debug mode during tests

* Remove debug mode again
This commit is contained in:
Paulus Schoutsen 2018-03-11 12:32:12 -07:00 committed by GitHub
parent 26960283a0
commit d0f089975d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 8 deletions

View file

@ -229,7 +229,7 @@ class GenericThermostat(ClimateDevice):
"""List of available operation modes."""
return self._operation_list
def set_operation_mode(self, operation_mode):
async def async_set_operation_mode(self, operation_mode):
"""Set operation mode."""
if operation_mode == STATE_HEAT:
self._current_operation = STATE_HEAT