tfyoung / esphome-junctek_kgf

Component for esphome to read status from a Junctek KG-F coulometer/battery monitor via UART
MIT License
25 stars 15 forks source link

[ah_total_used] is an invalid option for [sensor.junctek_khf] #19

Open Arnix11 opened 10 months ago

Arnix11 commented 10 months ago

Hi Oli, I try to compile your code with esphome 2023.7.1 and get error like that:

INFO ESPHome 2023.11.4 INFO Reading configuration /config/esphome/esphome-web-daa12b.yaml... Failed config

sensor.junctek_khf: [source /config/esphome/esphome-web-daa12b.yaml:40]

[ah_total_used] is an invalid option for [sensor.junctek_khf]. Please check the indentation. ah_total_used: name: junctek1_ah_total_used

Can you help me repair this error? Thanks. Arnold.