more tests

This commit is contained in:
Brian Martin
2019-02-16 02:54:39 -05:00
parent 409b04b713
commit 9919baad27
4 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -1018,7 +1018,7 @@ class VacBotCommand:
class Clean(VacBotCommand):
def __init__(self, mode='auto', speed='normal', iot=False, action='start',terminal=False, **kwargs):
if kwargs is None:
if kwargs == {}:
if not iot:
super().__init__('Clean', {'clean': {'type': CLEAN_MODE_TO_ECOVACS[mode], 'speed': FAN_SPEED_TO_ECOVACS[speed]}})
else: