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:
parent
26960283a0
commit
d0f089975d
4 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue