@johan_bendz any chance of making this project open source? I would really like to contribute and add the power_on_behavior capability as a setting to the devices which support it (ZBMINI-L, ZBMINI-L2, SA-028/SA-029).
EDIT: In case you don’t accept contributions, from what I have been able to gather from the zigbee2mqtt source code it should use the default onOff cluster startUpOnOff attribute with the id 0x4003 (16387) and enum8 values with the following mapping:
{0: 'off', 1: 'on', 2: 'toggle', 255: 'previous'}
Also described here if you search for “StartUpOnOff”.