From b7a05a8d4272ff889eba0f8df5311941d7a94b07 Mon Sep 17 00:00:00 2001 From: CptSkippy Date: Mon, 27 May 2024 00:25:12 -0700 Subject: [PATCH] Making script/ci-custom changes. --- esphome/components/ld2415h/ld2415h.cpp | 2 +- esphome/components/ld2415h/ld2415h.h | 2 +- esphome/components/ld2415h/number/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/ld2415h/ld2415h.cpp b/esphome/components/ld2415h/ld2415h.cpp index 1f686ebcb1..b2ebae40fd 100644 --- a/esphome/components/ld2415h/ld2415h.cpp +++ b/esphome/components/ld2415h/ld2415h.cpp @@ -452,4 +452,4 @@ const char *i_to_s_(std::map map, uint8_t i) { } } // namespace ld2415h -} // namespace esphome \ No newline at end of file +} // namespace esphome diff --git a/esphome/components/ld2415h/ld2415h.h b/esphome/components/ld2415h/ld2415h.h index 98e6a7d7cd..6642389dc2 100644 --- a/esphome/components/ld2415h/ld2415h.h +++ b/esphome/components/ld2415h/ld2415h.h @@ -141,4 +141,4 @@ class LD2415HComponent : public Component, public uart::UARTDevice { }; } // namespace ld2415h -} // namespace esphome \ No newline at end of file +} // namespace esphome diff --git a/esphome/components/ld2415h/number/__init__.py b/esphome/components/ld2415h/number/__init__.py index 4e75487f37..06f7f8593b 100644 --- a/esphome/components/ld2415h/number/__init__.py +++ b/esphome/components/ld2415h/number/__init__.py @@ -3,6 +3,7 @@ from esphome.components import number import esphome.config_validation as cv from esphome.const import ( ENTITY_CATEGORY_CONFIG, + CONF_SENSITIVITY, UNIT_DEGREES, UNIT_EMPTY, UNIT_KILOMETER_PER_HOUR, @@ -18,7 +19,6 @@ ICON_VIBRATE = "mdi:vibrate" CONF_MIN_SPEED_THRESHOLD = "min_speed_threshold" CONF_COMPENSATION_ANGLE = "compensation_angle" -CONF_SENSITIVITY = "sensitivity" CONF_VIBRATION_CORRECTION = "vibration_correction" CONF_RELAY_TRIGGER_DURATION = "relay_trigger_duration" CONF_RELAY_TRIGGER_SPEED = "relay_trigger_speed"