Skip to content

Commit 4bb9937

Browse files
authored
[ld2410, ld2412] Formatting tweaks, fix typo (#5228)
1 parent 84e3823 commit 4bb9937

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

components/sensor/ld2410.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ Configuration variables:
7979
By default, each of the :doc:`Binary Sensor </components/binary_sensor/index>` components above includes the
8080
following :ref:`filter<binary_sensor-filters>` by default to prevent flooding Home Assistant with state updates:
8181

82-
- ``settle: 1000ms``
82+
.. code-block:: yaml
83+
84+
- settle: 1000ms
8385
8486
If you have defined other filters, this default will be overridden; you may of course add it back to your custom
8587
filter(s) as above if you wish.
@@ -190,7 +192,9 @@ Configuration variables:
190192
By default, each of the :doc:`Sensor </components/sensor/index>` components above includes the following
191193
:ref:`filter<sensor-filters>` by default to prevent flooding Home Assistant with state updates:
192194

193-
- ``throttle_with_priority: 1000ms``
195+
.. code-block:: yaml
196+
197+
- throttle_with_priority: 1000ms
194198
195199
If you have defined other filters, this default will be overridden; you may of course add it back to your custom
196200
filter(s) as above if you wish.

components/sensor/ld2412.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Use of a hardware UART is highly recommended as it best supports the default 115
2525
2626
# Example configuration entry
2727
ld2412:
28-
id: ld2412
2928
3029
Configuration variables:
3130
************************
@@ -64,8 +63,8 @@ Configuration variables:
6463
All options from :ref:`Binary Sensor <config-binary_sensor>`.
6564
- **has_still_target** (*Optional*): True if a still target is detected.
6665
All options from :ref:`Binary Sensor <config-binary_sensor>`.
67-
- **dynamic_background_correction_status** (*Optional*): True while a the dynamic background correction is in progress.
68-
All options from :ref:`Binary Sensor <config-binary_sensor>`.
66+
- **dynamic_background_correction_status** (*Optional*): True while the sensor is performing dynamic background
67+
correction. All options from :ref:`Binary Sensor <config-binary_sensor>`.
6968
- **ld2412_id** (*Optional*, :ref:`config-id`): Manually specify the ID for the component. Required when using multiple
7069
components.
7170

0 commit comments

Comments
 (0)