#463 Set device dim max value instead of on