esphome device updates
This commit is contained in:
@@ -262,7 +262,7 @@ interval:
|
||||
#############################################
|
||||
number:
|
||||
- platform: template
|
||||
name: ${friendly_name} LD1125H mth1 #mth1 is 0~2.8m Sensitivity.
|
||||
name: "0-2.8m Sensitivity" # mth1 is 0~2.8m Sensitivity.
|
||||
id: LD1125H_mth1
|
||||
icon: "mdi:cogs"
|
||||
optimistic: true
|
||||
@@ -279,12 +279,12 @@ number:
|
||||
std::string th1st = "mth1=" + str_sprintf("%.0f",x) +"\r\n";
|
||||
return std::vector<uint8_t>(th1st.begin(), th1st.end());
|
||||
- platform: template
|
||||
name: ${friendly_name} LD1125H mth2 #mth2 is 2.8~8m Sensitivity.
|
||||
name: "2.8-8m Sensitivity" # mth2 is 2.8~8m Sensitivity.
|
||||
id: LD1125H_mth2
|
||||
icon: "mdi:cogs"
|
||||
optimistic: true
|
||||
restore_value: true #If you don't want to store the setting at ESP, set it to false.
|
||||
initial_value: "30" #Default mth2 Setting
|
||||
restore_value: true # If you don't want to store the setting at ESP, set it to false.
|
||||
initial_value: "30" # Default mth2 Setting
|
||||
min_value: 5
|
||||
max_value: 300
|
||||
step: 5
|
||||
@@ -296,12 +296,12 @@ number:
|
||||
std::string th2st = "mth2=" + str_sprintf("%.0f",x) +"\r\n";
|
||||
return std::vector<uint8_t>(th2st.begin(), th2st.end());
|
||||
- platform: template
|
||||
name: ${friendly_name} LD1125H mth3 #mth3 is above 8m Sensitivity.
|
||||
name: "8m+ Sensitivity" # mth3 is above 8m Sensitivity.
|
||||
id: LD1125H_mth3
|
||||
icon: "mdi:cogs"
|
||||
optimistic: true
|
||||
restore_value: true #If you don't want to store the setting at ESP, set it to false.
|
||||
initial_value: "20" #Default mth3 Setting
|
||||
restore_value: true # If you don't want to store the setting at ESP, set it to false.
|
||||
initial_value: "20" # Default mth3 Setting
|
||||
min_value: 5
|
||||
max_value: 200
|
||||
step: 5
|
||||
@@ -313,7 +313,7 @@ number:
|
||||
std::string th3st = "mth3=" + str_sprintf("%.0f",x) +"\r\n";
|
||||
return std::vector<uint8_t>(th3st.begin(), th3st.end());
|
||||
- platform: template
|
||||
name: ${friendly_name} LD1125H rmax #rmax is max detection distance.
|
||||
name: "Max Detection (m)" # rmax is max detection distance.
|
||||
id: LD1125H_rmax
|
||||
icon: "mdi:cogs"
|
||||
optimistic: true
|
||||
@@ -330,7 +330,7 @@ number:
|
||||
std::string rmaxst = "rmax=" + str_sprintf("%.1f",x) +"\r\n";
|
||||
return std::vector<uint8_t>(rmaxst.begin(), rmaxst.end());
|
||||
- platform: template
|
||||
name: ${friendly_name} LD1125H Clearence Time
|
||||
name: "Clearence Time (s)"
|
||||
id: LD1125H_Clear_Time
|
||||
icon: "mdi:cogs"
|
||||
optimistic: true
|
||||
@@ -340,7 +340,7 @@ number:
|
||||
max_value: 20
|
||||
step: 0.5
|
||||
- platform: template
|
||||
name: ${friendly_name} LD1125H Movement Time
|
||||
name: "Movement Time (s)"
|
||||
id: LD1125H_Mov_Time
|
||||
icon: "mdi:cogs"
|
||||
optimistic: true
|
||||
|
||||
Reference in New Issue
Block a user