Closed bashers222 closed 10 months ago
Obviously you've got it incorrectly intended. Should be like the one below.
number:
- platform: template
id: eltek_voltage
name: "Eltek FP2 voltage"
device_class: voltage
sorry, what i meant was I copied the raw code to a brand new vanilla ESPhome YAML (and updated wifi accordingly) But ESPhome thorws an error when it attempts to validate the code as per the repo. What ive added above is the ESPhome output
You're code has the correct indentation, but ESPhome is not happy for some reason and i dont believe its indentation
No idea, compiled without any issue here.
Im running v2022.11.4 and you're on 2023.10.6. Thats probably my first avenue of investigation :)
yep, that sorted it. sorry to trouble you
Perfect, enjoy that.
ESPHOME is failing validation of this yaml code immediately: