Fix for double # syntax error

This commit is contained in:
John Dillenburg
2025-09-10 14:01:29 -05:00
parent 7dc846a6eb
commit 1c5813746d
2 changed files with 11 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
##include "adxl345.h"
#include "adxl345.h"
#include "esphome/core/log.h"
#include <cmath>

View File

@@ -1,3 +1,13 @@
#
# ld1115h as a ESPHome package
#
# Parameters:
# uart_rx_pin - pin the receive line is connected to, e.g., GPIO1
# uart_tx_pin - pin the transmit line is connected to, e.g., GPIO3
#
# packages:
# ld1115h: !include { file: packages/ld1115h.yaml, vars: { uart_rx_pin: GPIO16, uart_tx_pin: GPIO17 }}
#
esphome:
on_boot: #LD1115H Initial Setting
priority: -200
@@ -19,10 +29,6 @@ external_components:
url: https://github.com/ssieb/custom_components #Thanks for @ssieb components.
components: [ serial ]
# Disable logging to UART
logger:
baud_rate: 0
uart:
id: LD1115H_UART_BUS
rx_pin: ${uart_rx_pin}