def when_i_search_device_by_number(step, number): device_action_webi.search_device(number, by_number=True)
def when_i_reset_to_autoprov_the_device_from_webi(step, mac): device_action_webi.search_device(mac) common.click_on_line_with_alert('Reset to autoprov mode', mac) device_action_webi.search_device('')
def when_i_search_device(step, search): device_action_webi.search_device(search)
def when_i_synchronize_the_device_group1_from_webi(step, mac): device_action_webi.search_device(mac) common.click_on_line_with_alert('Synchronize', mac) device_action_webi.search_device('')