`for i, appliance in enumerate(appliance_set.secondary):`