First, why alter so much about the harm spell in the trigger and description? Why not just say "expend a use of channel energy to cast command undead" and define that per the description?
Next, it says change the duration to 24 hours, but the longest duration you can get is 1 hour if the target critically fails their saving throw.