def stop_power_zone(id): zone = f'power{id}' log.debug(f'stop_power_zone() called with zone: {zone}') neptune.stop_zone(zone) return redirect(url_for('power', id=id))
def stop_rodi_zone(): log.debug('stop_rode_zone() called') zone = 'zone28' neptune.stop_zone(zone) return redirect(url_for('rodi'))