Repository: nrfconnect/sdk-nrf
Pull request #20647: doc: Matter samples reorganization
Author: login: peknis
Labels: name: doc-required
description: PR must not be merged without tech writer approval.
name: CI-disable
description: Disable CI for this PR
name: changelog-entry-required
description: Update changelog before merge. Remove label if entry is not needed or already added.
Created: 2025-02-27T11:17:28Z | Merged: 2025-03-07T07:46:47Z

Collecting common advanced configuration methods
in Matter samples under one title and using toggle.


Diff:
diff --git a/doc/nrf/includes/advanced_conf_matter.txt b/doc/nrf/includes/advanced_conf_matter.txt
new file mode 100644
index 000000000000..5839f8dd7028
--- /dev/null
+++ b/doc/nrf/includes/advanced_conf_matter.txt
@@ -0,0 +1,25 @@
+Advanced configuration options
+==============================
+
+This section describes other configuration options for the sample.
+
+Device Firmware Upgrade support
+-------------------------------
+
+.. include:: ../lock/README.rst
+    :start-after: matter_door_lock_sample_build_with_dfu_start
+    :end-before: matter_door_lock_sample_build_with_dfu_end
+
+FEM support
+-----------
+
+.. toggle::
+
+   .. include:: /includes/sample_fem_support.txt
+
+Factory data support
+--------------------
+
+.. include:: ../lock/README.rst
+    :start-after: matter_door_lock_sample_factory_data_start
+    :end-before: matter_door_lock_sample_factory_data_end
diff --git a/samples/matter/light_bulb/README.rst b/samples/matter/light_bulb/README.rst
index d23b476a0bec..2a5267a0b63b 100644
--- a/samples/matter/light_bulb/README.rst
+++ b/samples/matter/light_bulb/README.rst
@@ -120,26 +120,9 @@ Matter light bulb with Trusted Firmware-M
     :start-after: matter_template_build_with_tfm_start
     :end-before: matter_template_build_with_tfm_end
 
-Device Firmware Upgrade support
-===============================
-
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
-
-FEM support
-===========
-
-.. include:: /includes/sample_fem_support.txt
-
-Factory data support
-====================
-
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_factory_data_start
-    :end-before: matter_door_lock_sample_factory_data_end
+.. include:: /includes/advanced_conf_matter.txt
 
 .. _matter_light_bulb_aws_iot:
 
diff --git a/samples/matter/light_switch/README.rst b/samples/matter/light_switch/README.rst
index 063330bc93fe..caba13e7bbcd 100644
--- a/samples/matter/light_switch/README.rst
+++ b/samples/matter/light_switch/README.rst
@@ -142,26 +142,9 @@ The following snippet is available:
 
   .. include:: /includes/matter_snippets_note.txt
 
-FEM support
-===========
-
-.. include:: /includes/sample_fem_support.txt
-
-Device Firmware Upgrade support
-===============================
-
 .. |Bluetooth| replace:: Bluetooth®
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
-
-Factory data support
-====================
-
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_factory_data_start
-    :end-before: matter_door_lock_sample_factory_data_end
+.. include:: /includes/advanced_conf_matter.txt
 
 .. _matter_light_switch_sample_ui:
 
diff --git a/samples/matter/lock/README.rst b/samples/matter/lock/README.rst
index 2b406c97ad34..862d392404d7 100644
--- a/samples/matter/lock/README.rst
+++ b/samples/matter/lock/README.rst
@@ -277,52 +277,82 @@ The following snippet is available:
 
 .. _matter_lock_sample_configuration_dfu:
 
+Advanced configuration options
+==============================
+
+This section describes other configuration options for the sample.
+
 Device Firmware Upgrade support
-===============================
+-------------------------------
 
 .. |Bluetooth| replace:: Bluetooth
 
 .. matter_door_lock_sample_build_with_dfu_start
 
-.. note::
-   You can enable over-the-air Device Firmware Upgrade only on hardware platforms that have external flash memory.
-   Currently only nRF52840 DK, nRF5340 DK, nRF7002 DK and nRF54L15 DK support Device Firmware Upgrade feature.
+.. toggle::
 
-The sample supports over-the-air (OTA) device firmware upgrade (DFU) using one of the two following protocols:
+   .. note::
+      You can enable over-the-air Device Firmware Upgrade only on hardware platforms that have external flash memory.
+      Currently only nRF52840 DK, nRF5340 DK, nRF7002 DK and nRF54L15 DK support Device Firmware Upgrade feature.
 
-* Matter OTA update protocol that uses the Matter operational network for querying and downloading a new firmware image.
-* Simple Management Protocol (SMP) over |Bluetooth| LE.
-  In this case, the DFU can be done either using a smartphone application or a PC command line tool.
-  Note that this protocol is not part of the Matter specification.
+   The sample supports over-the-air (OTA) device firmware upgrade (DFU) using one of the two following protocols:
 
-In both cases, :ref:`MCUboot <mcuboot:mcuboot_wrapper>` secure bootloader is used to apply the new firmware image.
+   * Matter OTA update protocol that uses the Matter operational network for querying and downloading a new firmware image.
+   * Simple Management Protocol (SMP) over |Bluetooth| LE.
+     In this case, the DFU can be done either using a smartphone application or a PC command line tool.
+     Note that this protocol is not part of the Matter specification.
 
-The DFU over Matter is enabled by default.
-The following configuration arguments are available during the build process for configuring DFU:
+   In both cases, :ref:`MCUboot <mcuboot:mcuboot_wrapper>` secure bootloader is used to apply the new firmware image.
 
-* To configure the sample to support the DFU over Matter and SMP, use the ``-DCONFIG_CHIP_DFU_OVER_BT_SMP=y`` build flag.
+   The DFU over Matter is enabled by default.
+   The following configuration arguments are available during the build process for configuring DFU:
 
-See :ref:`cmake_options` for instructions on how to add these options to your build.
+   * To configure the sample to support the DFU over Matter and SMP, use the ``-DCONFIG_CHIP_DFU_OVER_BT_SMP=y`` build flag.
 
-When building on the command line, run the following command with *board_target* replaced with the board target name of the hardware platform you are using (see `Requirements`_), and *dfu_build_flag* replaced with the desired DFU build flag:
+   See :ref:`cmake_options` for instructions on how to add these options to your build.
 
-.. parsed-literal::
-   :class: highlight
+   When building on the command line, run the following command with *board_target* replaced with the board target name of the hardware platform you are using (see `Requirements`_), and *dfu_build_flag* replaced with the desired DFU build flag:
 
-   west build -b *board_target* -- *dfu_build_flag*
+   .. parsed-literal::
+      :class: highlight
 
-For example:
+      west build -b *board_target* -- *dfu_build_flag*
 
-.. code-block:: console
+   For example:
+
+   .. code-block:: console
 
-   west build -b nrf52840dk/nrf52840 -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y
+      west build -b nrf52840dk/nrf52840 -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y
 
 .. matter_door_lock_sample_build_with_dfu_end
 
+.. _matter_lock_sample_configuration_fem:
+
 FEM support
-===========
+-----------
+
+.. toggle::
+
+   .. include:: /includes/sample_fem_support.txt
+
+Factory data support
+--------------------
+
+.. matter_door_lock_sample_factory_data_start
+
+.. toggle::
+
+   In this sample, the factory data support is enabled by default for all configurations except for the target board nRF21540 DK.
+   This means that a new factory data set will be automatically generated when building for the target board.
 
-.. include:: /includes/sample_fem_support.txt
+   To disable factory data support, set the following Kconfig options to ``n``:
+
+   * :kconfig:option:`CONFIG_CHIP_FACTORY_DATA`
+   * ``SB_CONFIG_MATTER_FACTORY_DATA_GENERATE``
+
+   To learn more about factory data, read the :doc:`matter:nrfconnect_factory_data_configuration` page in the Matter documentation.
+
+   .. matter_door_lock_sample_factory_data_end
 
 .. _matter_lock_sample_configuration_nus:
 
@@ -348,23 +378,6 @@ The PIN code is different depending on the :ref:`configuration <matter_lock_samp
 
 See `Testing door lock using Bluetooth LE with Nordic UART Service`_ for more information about how to test this feature.
 
-Factory data support
-====================
-
-.. matter_door_lock_sample_factory_data_start
-
-In this sample, the factory data support is enabled by default for all configurations except for the target board nRF21540 DK.
-This means that a new factory data set will be automatically generated when building for the target board.
-
-To disable factory data support, set the following Kconfig options to ``n``:
-
-   * :kconfig:option:`CONFIG_CHIP_FACTORY_DATA`
-   * ``SB_CONFIG_MATTER_FACTORY_DATA_GENERATE``
-
-To learn more about factory data, read the :doc:`matter:nrfconnect_factory_data_configuration` page in the Matter documentation.
-
-.. matter_door_lock_sample_factory_data_end
-
 User interface
 **************
 
diff --git a/samples/matter/smoke_co_alarm/README.rst b/samples/matter/smoke_co_alarm/README.rst
index cdccd941efd3..4b78e6f20409 100644
--- a/samples/matter/smoke_co_alarm/README.rst
+++ b/samples/matter/smoke_co_alarm/README.rst
@@ -109,26 +109,9 @@ Matter smoke CO alarm custom configurations
     :start-after: matter_light_bulb_sample_configuration_file_types_start
     :end-before: matter_light_bulb_sample_configuration_file_types_end
 
-Device Firmware Upgrade support
-===============================
-
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
-
-FEM support
-===========
-
-.. include:: /includes/sample_fem_support.txt
-
-Factory data support
-====================
-
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_factory_data_start
-    :end-before: matter_door_lock_sample_factory_data_end
+.. include:: /includes/advanced_conf_matter.txt
 
 User interface
 **************
diff --git a/samples/matter/template/README.rst b/samples/matter/template/README.rst
index 1a2c316fd8e4..8cc60ca19421 100644
--- a/samples/matter/template/README.rst
+++ b/samples/matter/template/README.rst
@@ -126,44 +126,9 @@ For example:
 
 .. matter_template_build_with_tfm_end
 
-Device Firmware Upgrade support
-===============================
-
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
-
-Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
-This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
-This configuration is enabled by default for the :ref:`debug configuration <matter_template_custom_configs>`.
-
-The following is an example command to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only:
-
-.. code-block:: console
-
-    west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal
-
-To build the sample for the same purpose, but in the ``release`` configuration, use the following command:
-
-.. code-block:: console
-
-    west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal -Dtemplate_EXTRA_CONF_FILE=prj_release.conf
-
-Note that in this case, the size of the application partition is half of what it would be when using a configuration with external flash memory support.
-
-FEM support
-===========
-
-.. include:: /includes/sample_fem_support.txt
-
-Factory data support
-====================
-
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_factory_data_start
-    :end-before: matter_door_lock_sample_factory_data_end
+.. include:: /includes/advanced_conf_matter.txt
 
 User interface
 **************
diff --git a/samples/matter/thermostat/README.rst b/samples/matter/thermostat/README.rst
index d9ba2fb5defa..59a8fd26914b 100644
--- a/samples/matter/thermostat/README.rst
+++ b/samples/matter/thermostat/README.rst
@@ -119,14 +119,9 @@ Matter thermostat with Trusted Firmware-M
     :start-after: matter_template_build_with_tfm_start
     :end-before: matter_template_build_with_tfm_end
 
-Device Firmware Upgrade support
-===============================
-
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
+.. include:: /includes/advanced_conf_matter.txt
 
 .. _matter_thermostat_network_mode:
 
@@ -140,12 +135,6 @@ Remote testing in a network
     :start-after: matter_light_bulb_sample_remote_testing_start
     :end-before: matter_light_bulb_sample_remote_testing_end
 
-Factory data support
-====================
-
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_factory_data_start
-    :end-before: matter_door_lock_sample_factory_data_end
 
 User interface
 **************
diff --git a/samples/matter/window_covering/README.rst b/samples/matter/window_covering/README.rst
index efc0c6b98bbb..befb8f5dab81 100644
--- a/samples/matter/window_covering/README.rst
+++ b/samples/matter/window_covering/README.rst
@@ -103,27 +103,9 @@ Matter window covering with Trusted Firmware-M
     :start-after: matter_template_build_with_tfm_start
     :end-before: matter_template_build_with_tfm_end
 
-
-Device Firmware Upgrade support
-===============================
-
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
-
-FEM support
-===========
-
-.. include:: /includes/sample_fem_support.txt
-
-Factory data support
-====================
-
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_factory_data_start
-    :end-before: matter_door_lock_sample_factory_data_end
+.. include:: /includes/advanced_conf_matter.txt
 
 User interface
 **************


Reviews:
user: login: LuDuda
body: :+1:
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-02-28T14:43:09Z
user: login: maciejbaczmanski
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-03-06T08:40:25Z
user: login: LuDuda
body: Looks great! 👍 
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-03-06T09:50:58Z
user: login: LuDuda
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-06T10:27:41Z
user: login: peknis
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-06T10:38:57Z
user: login: umapraseeda
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-03-07T07:42:41Z

Review comments:
diff_hunk: @@ -126,88 +126,102 @@ For example:
 
 .. matter_template_build_with_tfm_end
 
+Advanced configuration options
+==============================
+
+This section describes other configuration options for the sample.
+
 Device Firmware Upgrade support
-===============================
+-------------------------------
 
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
+.. toggle::
 
-Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
-This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
-This configuration is enabled by default for the :ref:`debug configuration <matter_template_custom_configs>`.
+   .. include:: ../lock/README.rst
+       :start-after: matter_door_lock_sample_build_with_dfu_start
+       :end-before: matter_door_lock_sample_build_with_dfu_end
 
-The following is an example command to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only:
+   Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
+   This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
+   This configuration is enabled by default for the :ref:`debug configuration <matter_template_custom_configs>`.
 
-.. code-block:: console
+   The following is an example command to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only:
 
-    west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal
+   .. code-block:: console
 
-To build the sample for the same purpose, but in the ``release`` configuration, use the following command:
+       west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal
 
-.. code-block:: console
+   To build the sample for the same purpose, but in the ``release`` configuration, use the following command:
+
+   .. code-block:: console
 
-    west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal -Dtemplate_EXTRA_CONF_FILE=prj_release.conf
+       west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal -Dtemplate_EXTRA_CONF_FILE=prj_release.conf
 
-Note that in this case, the size of the application partition is half of what it would be when using a configuration with external flash memory support.
+   .. note::
+      In this case, the size of the application partition is half of what it would be when using a configuration with external flash memory support.
 
 SUIT DFU on nRF54H20
path: samples/matter/template/README.rst
user: login: LuDuda
body: This has been just removed (with nRF54H20 support - so you may need to do rebase).
created_at: 2025-03-06T09:50:22Z
author_association: CONTRIBUTOR
diff_hunk: @@ -126,44 +126,56 @@ For example:
 
 .. matter_template_build_with_tfm_end
 
+Advanced configuration options
+==============================
+
+This section describes other configuration options for the sample.
+
 Device Firmware Upgrade support
-===============================
+-------------------------------
 
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
+.. toggle::
 
-Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
-This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
-This configuration is enabled by default for the :ref:`debug configuration <matter_template_custom_configs>`.
+   .. include:: ../lock/README.rst
+       :start-after: matter_door_lock_sample_build_with_dfu_start
+       :end-before: matter_door_lock_sample_build_with_dfu_end
 
-The following is an example command to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only:
+   Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
+   This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
path: samples/matter/template/README.rst
user: login: LuDuda
body: ```suggestion
   This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal RRAM memory.
```
created_at: 2025-03-06T10:27:02Z
author_association: CONTRIBUTOR
diff_hunk: @@ -126,44 +126,56 @@ For example:
 
 .. matter_template_build_with_tfm_end
 
+Advanced configuration options
+==============================
+
+This section describes other configuration options for the sample.
+
 Device Firmware Upgrade support
-===============================
+-------------------------------
 
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
+.. toggle::
 
-Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
-This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
-This configuration is enabled by default for the :ref:`debug configuration <matter_template_custom_configs>`.
+   .. include:: ../lock/README.rst
+       :start-after: matter_door_lock_sample_build_with_dfu_start
+       :end-before: matter_door_lock_sample_build_with_dfu_end
 
-The following is an example command to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only:
+   Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
path: samples/matter/template/README.rst
user: login: LuDuda
body: Probably old issue:

```suggestion
   Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal RRAM for storage.
```
created_at: 2025-03-06T10:27:18Z
author_association: CONTRIBUTOR
diff_hunk: @@ -126,44 +126,56 @@ For example:
 
 .. matter_template_build_with_tfm_end
 
+Advanced configuration options
+==============================
+
+This section describes other configuration options for the sample.
+
 Device Firmware Upgrade support
-===============================
+-------------------------------
 
 .. |Bluetooth| replace:: Bluetooth
 
-.. include:: ../lock/README.rst
-    :start-after: matter_door_lock_sample_build_with_dfu_start
-    :end-before: matter_door_lock_sample_build_with_dfu_end
+.. toggle::
 
-Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
-This means that both the currently running firmware and the new firmware to be updated will be stored within the device's internal flash memory.
-This configuration is enabled by default for the :ref:`debug configuration <matter_template_custom_configs>`.
+   .. include:: ../lock/README.rst
+       :start-after: matter_door_lock_sample_build_with_dfu_start
+       :end-before: matter_door_lock_sample_build_with_dfu_end
 
-The following is an example command to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only:
+   Alternatively, for the nRF54L15 DK, the DFU can be configured to only use the internal MRAM for storage.
path: samples/matter/template/README.rst
user: login: peknis
body: How about line 149, should it be RRAM as well?
created_at: 2025-03-06T10:38:56Z
author_association: CONTRIBUTOR

PR comments:
user: login: NordicBuilder
created_at: 2025-02-27T11:21:02Z
body: ## CI Information

<sup>_To view the history of this post, clich the 'edited' button above_</sup>
Build number: 14
### Inputs:
#### Sources:
<details><summary> more details</summary>
</details>

#### Github labels
| Enabled | Name | Description |
| -- | -- | -- |
|| ci-disabled | _Disable the ci execution_ | 
|| ci-all-test | _Run all of ci, no test spec filtering will be done_ | 
|| ci-force-downstream | _Force execution of downstream even if twister fails_ | 
|| ci-run-twister | _Force run twister_ | 
|| ci-run-zephyr-twister | _Force run zephyr twister_ | 

<details><summary> List of changed files detected by CI (0)</summary>

```
```
</details>

### Outputs:

#### Toolchain
Version: 
Build docker image: 

#### Test Spec & Results: :white_check_mark: Success; :x: Failure; :orange_circle: Queued; :yellow_circle: Progress; :white_medium_square: Skipped; :warning: Quarantine
- :white_medium_square: Toolchain
- :white_medium_square: Build twister
- :white_medium_square: Integration tests



*Note: This message is automatically posted and updated by the CI*
author_association: CONTRIBUTOR
user: login: github-actions[bot]
created_at: 2025-02-27T12:37:48Z
body: You can find the documentation preview for this PR [here](https://ncsdoc.z6.web.core.windows.net/PR-20647/).

Preview links for modified nRF Connect SDK documents:


https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/light_bulb/README.html
https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/light_switch/README.html
https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/lock/README.html
https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/smoke_co_alarm/README.html
https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/template/README.html
https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/thermostat/README.html
https://ncsdoc.z6.web.core.windows.net/PR-20647/nrf/samples/matter/window_covering/README.html
author_association: NONE
user: login: sonarqubecloud[bot]
created_at: 2025-03-07T07:05:16Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=nrfconnect_sdk-nrf&pullRequest=20647) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=nrfconnect_sdk-nrf&pullRequest=20647&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=nrfconnect_sdk-nrf&pullRequest=20647&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=nrfconnect_sdk-nrf&pullRequest=20647&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=nrfconnect_sdk-nrf&pullRequest=20647&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=nrfconnect_sdk-nrf&pullRequest=20647&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=nrfconnect_sdk-nrf&pullRequest=20647)


author_association: NONE