same as for providers/alarm.rb