modify 'duration' parameter to accept strings like 1m and 5h for minute and hour durations
modify 'duration' parameter to accept strings like 1m and 5h for minute and hour durations

chendo/lifx-http,chendo/lifx-http