This line was the issue, it should be `ready: init`. After this change it is now working