Describe the issue you are experiencing
The problem
Hello!
I enter in file /homeassistant/esphome/secrets.yaml the following (and only) line:
<<: !include ../secrets.yaml
The File editor then complains with a red exclamation mark symbol and the following error:
cannot merge mappings; the provided source object is unacceptable (1:29)
1 | <<: .include ../secrets.yaml
---------------------------------^
Nevertheless, an ESPHome node correctly gets the secrets from one level above, i.e. from /homeassistant/secrets.yaml.
Please note:
I've entered: <<: !include ../secrets.yaml
FE complains: <<: .include ../secrets.yaml
Is the File editor misinterpreting the trailing exclamation mark (!) as a period (.)?
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?
5.8.0
Steps to reproduce the issue
-
Enter in file /homeassistant/secrets.yaml the following line (example):
wifi_password: "blablabla"
-
Enter in file /homeassistant/esphome/secrets.yaml the following (and only) line:
<<: !include ../secrets.yaml
-
Observe the File editor error message:
cannot merge mappings; the provided source object is unacceptable (1:29)
1 | <<: .include ../secrets.yaml
---------------------------------^
System Health information
No response
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
Describe the issue you are experiencing
The problem
Hello!
I enter in file
/homeassistant/esphome/secrets.yamlthe following (and only) line:<<: !include ../secrets.yamlThe File editor then complains with a red exclamation mark symbol and the following error:
Nevertheless, an ESPHome node correctly gets the secrets from one level above, i.e. from
/homeassistant/secrets.yaml.Please note:
I've entered:
<<: !include ../secrets.yamlFE complains:
<<: .include ../secrets.yamlIs the File editor misinterpreting the trailing exclamation mark (!) as a period (.)?
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?
5.8.0
Steps to reproduce the issue
Enter in file
/homeassistant/secrets.yamlthe following line (example):wifi_password: "blablabla"Enter in file
/homeassistant/esphome/secrets.yamlthe following (and only) line:<<: !include ../secrets.yamlObserve the File editor error message:
System Health information
No response
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