enum values with the name of "on" and "off" have to be written within quotes, otherwise this is equal to "true" and "false" which causes the the swagger-codegen doesn't generate enum elements for "on" and "off". See https://github.com/swagger-api/swagger-codegen/issues/2559
the recently introduced parameter "get_favorites" is optional within the Netatmo API and has "false" as the default value. This way the change is downward compatible.
@cbornet : Hi, could you please merge that soon? This is only a small change and I would like to support the Presence floodlight within OpenHAB. Thanks :-)