def lights_off( arguments ): global __arduino zone = arguments[ 'zone' ].lower() if __arduino: ArdnLib.set_color( zone, 'off' ) else: print 'lights_off (', arguments, ')'