From 4a46abca2c588e257db00fc78d2dbae6ba78e546 Mon Sep 17 00:00:00 2001 From: sen Date: Thu, 13 Mar 2025 19:56:18 +0800 Subject: [PATCH] make l12 support esphome 2025.02.02 --- l12/yaml/human-sensor-l12-github.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/l12/yaml/human-sensor-l12-github.yaml b/l12/yaml/human-sensor-l12-github.yaml index 1f03f56..ab7b5b8 100644 --- a/l12/yaml/human-sensor-l12-github.yaml +++ b/l12/yaml/human-sensor-l12-github.yaml @@ -30,7 +30,7 @@ external_components: type: git url: https://github.com/screekworkshop/custom_components_support_for_screek_l12 ref: main - components: [esp32, uart, ld2412] + components: [uart, ld2412] esp32: board: lolin_c3_mini @@ -186,7 +186,9 @@ sensor: light: - platform: status_led name: sys_status - pin: GPIO13 + pin: + number: GPIO13 + ignore_pin_validation_error: true internal: True restore_mode: ALWAYS_OFF - platform: binary @@ -202,7 +204,9 @@ time: output: - platform: gpio id: board_info_ed - pin: GPIO12 + pin: + number: GPIO12 + ignore_pin_validation_error: true switch: - platform: factory_reset