The BME280 plugin does not always return true on PLUGIN_READ as it first starts the measurement and then reschedules itself.
This may lead to constantly getting error state values, only to be updated after a successful measurement.
ESP32 can keep track of the pin state of a number of pins at boot.
With this update these pin states will be send at boot as an event, so one may act on it during boot.
Possible use case:
Detect voltage and immediately go to sleep again.
Later features may use these too to enter for example a service mode.
The WiFi setup page does set a flag to indicate the connect attempt was initiated from the setup.
But the flag was only reset when the setup page reloaded..
If that did not happen, the node could retry forever to (re)connect to the AP if the channel was changed or the node cannot see the old BSSID anymore (e.g. out of reach when using repeater)
Also the first attempt after changing WiFi settings would also (initially) fail due to retrying with old BSSID/channel combination.