Mav_cmd_do_set_home

In MAV_CMD_DO_SET_HOME:


param1 is 1 or 0.

That is probably a typo. the official docs are at:
https://mavlink.io/en/messages/common.html#MAV_CMD_DO_SET_HOME

Please report a bug using https://github.com/ArduPilot/ardupilot_wiki/issues/new