bruvv / LILYGO-T-Higrow-Esphome

GNU General Public License v2.0
30 stars 14 forks source link

Errors when compiling within ESPHome in HA #12

Closed P1X3L8 closed 1 year ago

P1X3L8 commented 1 year ago

Directory structure in HA;

/config/esphome/plant-sensor-01.yaml (renamed LILYGO-T-Higrow-ESP32.yaml) /config/esphome/common/battery.yaml /config/esphome/common/bluetooth.yaml /config/esphome/common/bme280.yaml /config/esphome/common/deepsleep.yaml /config/esphome/common/dht.yaml /config/esphome/common/plantsensors.yaml /config/esphome/common/text_sensors.yaml /config/esphome/common/waterpump.yaml

Errors output;

INFO Reading configuration /config/esphome/plant-sensor-01.yaml... WARNING GPIO4 is a Strapping PIN and should be avoided. 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 INFO Detected timezone 'America/Los_Angeles' Failed config

climate.bang_bang: [source /config/esphome/common/waterpump.yaml:9] platform: bang_bang visual: min_temperature: 0 max_temperature: 100 temperature_step: 1 name: plant-sensor-01 Regler

Dashes are not supported in IDs, please use underscores instead. sensor: plant-sensor-01_moisture default_target_temperature_low: 20 default_target_temperature_high: 70 heat_action:

P1X3L8 commented 1 year ago

My fault for using - in main yaml filename and also for devicename: (these must use _ only).