Adapt new version of TwinPush API