make l12 support esphome 2025.02.02

This commit is contained in:
sen 2025-03-13 19:56:18 +08:00
parent db2b68d53d
commit 4a46abca2c

View File

@ -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