Exemple #1
0
def manual_run_rodi():
    log.debug('manual_run_rodi() called')
    zone = 'zone28'
    neptune.run_zone(zone)
    return redirect(url_for('rodi'))
Exemple #2
0
def manual_power_run(id):
    zone = f'power{id}'
    log.debug(f'manual_power_run() called with powerzone: {zone}')
    neptune.run_zone(zone)
    return redirect(url_for('power', id=id))
Exemple #3
0
def manual_run(id):
    zone = f'zone{id}'
    log.debug(f'manual_run() called with zone: {zone}')
    neptune.run_zone(zone)
    return redirect(url_for('zone', id=id))