gateway_id can be nil
Merge branch 'develop' of github.com:amooma/GS5 into develop