mampfes / esphome_obis_d0

esphome external component to support meters with OBIS D0 interface
MIT License
43 stars 7 forks source link

Failed config #1

Closed behnam85 closed 1 year ago

behnam85 commented 1 year ago

hello,

when i use multiple UART buses esphome fail config.

Failed config

sml: None

Too many candidates found for 'uart_id' type 'uart::UARTComponent' Some are 'my_uart', 'my_uart1'. []

################################################# esphome: name: sml-32

esp32: board: esp32dev framework: type: arduino

logger:

web_server: port: 80 local: true

api:

ota: password: "86ad66ea5b9b72bccf57812ec0157368"

wifi: ssid: Mi wifi1 password: behnam123

ap: {}

captive_portal:

external_components:

uart:

obis_d0:

sensor:

text_sensor:

binary_sensor:

##################################

switch:

output:

button:

mampfes commented 1 year ago

Please check if this fix works for you.

behnam85 commented 1 year ago

Hello . There is no error in compilation. thanks for solving this problem.