It is some time since I used esphome and I am confused. I am trying to count pulses from 3 differesnt pulse sources (electric meters)below is my script
esphome:
name: test06
friendly_name: pulse_counter
esp8266:
board: nodemcu
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "L6h2FdWxobJYo/JtejCA86Sy2DwmKkB7PNDVtTSSGjI="
ota:
- platform: esphome
password: "09d2cc8e3fa6f68d0fbf4bd9d6b7dea5"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test06 Fallback Hotspot"
password: "UpP8JyuSrChq"
#captive_portal:
sensor:
- platform: pulse_counter
pin: GPIO04
name: "Pulse Counter"
#update_interval: 60s
total:
name: COUNTER_A"
update_interval: 60s
- platform: pulse_counter
pin: GPIO5
name: " Pulse CounterB"
#update_interval: 600s
total:
name: " COUNTER_B"
update_interval: 600s
- platform: pulse_counter
pin: GPIO0
name: " Pulse CounterC"
#update_interval: 600s
total:
name: " COUNTER_C"
update_interval: 600s
type or paste code here
I know there are errors in my file and I do not know how to correct them. Can anybody point me in the right direction Please