From bthome.io:
The trigger based device flag is telling the receiver that it should expect that the device is sending BLE advertisements at a regular interval (bit 2 = 0) or at an irregular interval (bit 2 = 1), e.g. only when someone pushes a button. This can be usefull information for a receiver, e.g. to prevent the device from going to unavailable.
Make the device into a sleepy sensors and prevent it from going to unavailable, just call buildPaket(true).
From bthome.io: The trigger based device flag is telling the receiver that it should expect that the device is sending BLE advertisements at a regular interval (bit 2 = 0) or at an irregular interval (bit 2 = 1), e.g. only when someone pushes a button. This can be usefull information for a receiver, e.g. to prevent the device from going to unavailable.
Make the device into a sleepy sensors and prevent it from going to unavailable, just call buildPaket(true).