Update LD2410 Home Assistant card sample (#3169)

* Update LD2410 Home Assistant card sample

Updated some out-of-date HA sensor entity IDs and made grammar corrections.

* Fix DEVICE_detection_distance
This commit is contained in:
Cong Hoang Nguyen 2023-10-26 02:12:42 +11:00 committed by GitHub
parent 7ef6443568
commit 255018db43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ Configuration variables:
Text Sensor
-----------
The ``ld2410`` text sensor allows you get information about your :doc:`ld2410`.
The ``ld2410`` text sensor allows you to get information about your :doc:`ld2410`.
.. code-block:: yaml
@ -376,7 +376,7 @@ Configuration variables:
Select
-----------
The ``ld2410`` select allows you control your :doc:`ld2410`.
The ``ld2410`` select allows you to control your :doc:`ld2410`.
.. code-block:: yaml
@ -472,7 +472,7 @@ In order to calibrate your ``ld2410`` sensor perform the following:
Home Assistant Card
*******************
For easy calibration process you can use the following custom manual card.
For easy calibration process, you can use the following custom manual card.
.. code-block:: yaml
@ -502,13 +502,13 @@ For easy calibration process you can use the following custom manual card.
- type: horizontal-stack
cards:
- type: entity
entity: 'sensor.DEVICE_distance_detection_cm'
entity: 'sensor.DEVICE_detection_distance'
name: distance
- type: entity
entity: 'sensor.DEVICE_moving_distance_cm'
entity: 'sensor.DEVICE_moving_distance'
name: move
- type: entity
entity: 'sensor.DEVICE_still_distance_cm'
entity: 'sensor.DEVICE_still_distance'
name: still
- type: horizontal-stack
cards:
@ -529,11 +529,11 @@ For easy calibration process you can use the following custom manual card.
name: presence
state_color: true
- type: entity
entity: 'binary_sensor.DEVICE_movement'
entity: 'binary_sensor.DEVICE_moving_target'
name: movement
state_color: true
- type: entity
entity: 'binary_sensor.DEVICE_still'
entity: 'binary_sensor.DEVICE_still_target'
name: still
state_color: true
- type: conditional