app_main: Passing this handle to the endpoint as priv_data and using the handle in the driver on attribute_update.
esp_matter: Supporting factory reset API. app_driver: Enabling factory reset on button.