From 71b88d18f964c1698766ba40f470cb12250143b6 Mon Sep 17 00:00:00 2001 From: sen Date: Mon, 28 Aug 2023 17:41:56 +0800 Subject: [PATCH] Limit the detection distance of the X-axis to 3m left and right (thx to walberjunior) --- 2a/yaml/beta/human-sensor-2a-beta-github.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/2a/yaml/beta/human-sensor-2a-beta-github.yaml b/2a/yaml/beta/human-sensor-2a-beta-github.yaml index efbe498..769b60c 100644 --- a/2a/yaml/beta/human-sensor-2a-beta-github.yaml +++ b/2a/yaml/beta/human-sensor-2a-beta-github.yaml @@ -140,8 +140,8 @@ number: - platform: template name: Zone1 X-Begin id: zone1_x_begin - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 mode: box device_class: distance entity_category: config @@ -155,8 +155,8 @@ number: name: Zone1 X-End id: zone1_x_end mode: box - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 device_class: distance unit_of_measurement: mm entity_category: config @@ -196,8 +196,8 @@ number: - platform: template name: Zone2 X-Begin id: zone2_x_begin - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 mode: box device_class: distance entity_category: config @@ -205,14 +205,14 @@ number: icon: mdi:arrow-left-bold step: 10 optimistic: True - initial_value: -6000 + initial_value: 0 restore_value: True - platform: template name: Zone2 X-End id: zone2_x_end mode: box - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 device_class: distance unit_of_measurement: mm entity_category: config @@ -252,8 +252,8 @@ number: - platform: template name: Zone3 X-Begin id: zone3_x_begin - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 mode: box device_class: distance entity_category: config @@ -267,8 +267,8 @@ number: name: Zone3 X-End id: zone3_x_end mode: box - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 device_class: distance unit_of_measurement: mm entity_category: config @@ -308,8 +308,8 @@ number: - platform: template name: Zout1 X-Begin id: zone_ex1_x_begin - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 mode: box device_class: distance entity_category: config @@ -323,8 +323,8 @@ number: name: Zout1 X-End id: zone_ex1_x_end mode: box - min_value: -6000 - max_value: 6000 + min_value: -3000 + max_value: 3000 device_class: distance unit_of_measurement: mm entity_category: config