Closed danielrudolf closed 10 months ago
What is the error or question?
This is the error log I get when I try to install into ESPhome in HA.
INFO ESPHome 2023.12.5 INFO Reading configuration /config/esphome/wassersensor.yaml... WARNING GPIO2 is a strapping PIN and should only be used for I/O with care. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins WARNING GPIO2 is a strapping PIN and should only be used for I/O with care. Attaching external pullup/down resistors to strapping pins can cause unexpected failures. See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins Failed config
sensor.adc: [source :63]
Pin 2 is used in multiple places. platform: adc pin: number: 2 mode: input: True output: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 name: light_sensor_a_dark id: light_sensor_a_dark raw: True internal: True on_value:
Pin 3 is used in multiple places. platform: adc pin: number: 3 mode: input: True output: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 id: light_sensor_b_dark name: light_sensor_b_dark raw: True internal: True on_value:
Pin 4 is used in multiple places. platform: adc pin: number: 4 mode: input: True output: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 id: light_sensor_c_dark name: light_sensor_c_dark raw: True internal: True on_value:
Pin 2 is used in multiple places. platform: adc pin: number: 2 mode: input: True output: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 name: light_sensor_a_light id: light_sensor_a_light raw: True internal: True on_value:
Pin 3 is used in multiple places. platform: adc pin: number: 3 mode: input: True output: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 id: light_sensor_b_light name: light_sensor_b_light raw: True internal: True on_value:
Pin 4 is used in multiple places. platform: adc pin: number: 4 mode: input: True output: False open_drain: False pullup: False pulldown: False inverted: False ignore_strapping_warning: False drive_strength: 20.0 id: light_sensor_c_light name: light_sensor_c_light raw: True internal: True on_value:
Please use code block in github for code sharing.
I am currently working on this problem. The latest version of esphome has new 'features' that are basically compiler warnings. However they return failed config. They also did not include a proper way of warning, so give me a moment so I can change the config.
Fixed in pull-request #25
Thank you for creating a pull request
I say thank you for the quick completion! I'll try it tonight! Thanks! I'll buy you a coffee!
keep me posted
Now its running! :)
Thats my Yaml i want to install: