![]() Packages is the way to go if you want to reduce the size of configuration.yaml. ![]() If you are not using packages, read up at that link and it will guide you through setting it up. #2) If you are already using Packages, just add a new file called amcrest.yaml in your packages folder. #1) split these up by having 2 lines in your configuration.yaml amcrest: !include amcrest.yamlĪmcrest.yaml would include - host: !secret amcrest_2_ip The only thing that should be in that file, since you are including it from (See /config/configuration.yaml, line 14).Īny pointers how to fix the code for “cameras/amcrest.yaml”? Invalid config for : required key not provided data. ![]() So I changed the configuration.yaml file to include:Ĭamera: !include cameras/amcrest.yaml (–> line 14 in the code)Īnd placed following code under “cameras/amcrest.yaml” camera amcrest-2:īut the configuration is coming as invalid with following error: ![]() amcrest:īut I want to keep configuration file short and clean and move this code to another file under “cameras/amcrest.yaml”. So I have following code working fine when placed in configuration.yaml file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |