Hi - I am trying to add 2 different templates to create switches in the configuration file, but I can’t seem to get them to work together. The last reference always seems to overwrite the previous one. I have tried various methods to do this, but must be doing something wrong with the syntax. Can anyone help?
Thanks @Daxi. I tried using the syntax you suggested but I got a configuration error
Invalid config for [switch.template]: [switch_skytv] is an invalid option for [switch.template]. Check: switch.template->switches->switch1->switch_skytv. (See ?, line ?).
The root element at the included yaml is switch_skytv, right?
Remove the root element and name the file switch_skytv.
The filename will be the switch name, the switch include file can only contain the child elements.
All files will be attached to switches named by their filename without yaml extension.
All yaml within the file will become child attributes of the name of the file.