Add DetectionSensorConfig.broadcast_all_state_transitions

This commit is contained in:
Augusto Zanellato 2024-09-19 21:48:47 +02:00
parent 5709c0a05e
commit c4636e0232
No known key found for this signature in database

View file

@ -183,6 +183,13 @@ message ModuleConfig {
* Only applicable if the board uses pull-up resistors on the pin
*/
bool use_pullup = 8;
/*
* Whether or not all the state transition should be broadcasted.
* Causes an additional message to be sent to mesh when detection state goes
* back to false.
*/
bool broadcast_all_state_transitions = 9;
}
/*