@@ -622,7 +622,7 @@ async def tinker_reboot(self, api, unhappy=False):
622622
623623 @pytest .mark .asyncio
624624 async def tinker_switch (
625- self , api , dev_id = None , members = None , model = "relay" , unhappy = False
625+ self , api , dev_id = None , model = "relay" , unhappy = False
626626 ):
627627 """Turn a Switch on and off to test functionality."""
628628 _LOGGER .info ("Asserting modifying settings for switch devices:" )
@@ -632,7 +632,7 @@ async def tinker_switch(
632632 for new_state in ["off" , "on" , "off" ]:
633633 _LOGGER .info ("- Switching %s" , new_state )
634634 try :
635- result = await api .set_switch_state (dev_id , members , model , new_state )
635+ result = await api .set_switch_state (dev_id , model , new_state )
636636 if result == convert [new_state ]:
637637 tinker_switch_passed = True
638638 _LOGGER .info (" + tinker_switch worked as intended" )
@@ -653,14 +653,14 @@ async def tinker_switch(
653653
654654 @pytest .mark .asyncio
655655 async def tinker_switch_bad_input (
656- self , api , dev_id = None , members = None , model = "relay" , unhappy = False
656+ self , api , dev_id = None , model = "relay" , unhappy = False
657657 ):
658658 """Enter a wrong state as input to toggle a Switch."""
659659 _LOGGER .info ("Test entering bad input set_switch_state:" )
660660 _LOGGER .info ("- Devices (%s):" , dev_id )
661661 new_state = "false"
662662 try :
663- await api .set_switch_state (dev_id , members , model , new_state )
663+ await api .set_switch_state (dev_id , model , new_state )
664664 except pw_exceptions .PlugwiseError :
665665 _LOGGER .info (" + failed input-check as expected" )
666666 return True # test is pass!
0 commit comments