addons
addons copied to clipboard
File Editor - YAML error identified in Home Assistant File Editor, but not in ESPHome Dashboard File Editor
Describe the issue you are experiencing
Home Assistant File Editor identifies the following "unkown tag" error on a lambda in an esphome .yaml file:
unknown tag !<!lambda> (218:47)
215 | ... 216 | ... write: 217 | ... servo_1 218 | ... l: !lambda 'return x / 100.0;' ------------------------------------------^ 219 | ... 220 | ... r template to control servo 2
There is no error identified in the ESPHome Dashboard File Editor:
set_action:
then:
- servo.write:
id: servo_1
level: !lambda 'return x / 100.0;'
If the issue is that I should not be editing ESPHome yaml files in Home Assistant File Editor, or a FIle Editor configuration issue, I apologize for using your valuable time.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
File editor
What is the version of the add-on?
Home Assistant File Editor 5.8.0, ESPHome 2023.12.9
Steps to reproduce the issue
- Open File editor Add-On in Home Assistant
- Navigate to the esphome directory
- Open a yaml file (that has a !lambda in it)
- Open the error flag button to see the error
Alternately,
- Open ESPHome Dashboard Add-on in Home Assistant
- Open a yaml file using EDIT button
- No error is found ...
System Health information
There are currently no repairs available
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
No response
Additional information
No response