My Zwave network does not comes up & all zwave devices are in unkown state. If i revert the format back and restart HA, everything is back to normal and working.
Can you please tell me what i am doing wrong? I am a novice HA user & trying to add more sensors/devices & it seems i have to use "- platform: " name format for additional devices.
Also can somebody explain to me if its better to use one big file for all my sensors or start using folder called sensors and individual file for each sensor/device (Pros and Cons)? Or if you could point me to documentation where his is explain. I was not able to find it.
Thank you very much!
i get an error when i do the configuration validation:
Invalid config for [sensor.template]: [front_yard_motion_sensor_battery] is an invalid option for [sensor.template]. Check: sensor.template->front_yard_motion_sensor_battery. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/template/
Invalid config for [binary_sensor.template]: [front_yard_motion_sensor] is an invalid option for [binary_sensor.template]. Check: binary_sensor.template->front_yard_motion_sensor. (See ?, line ?). Please check the docs at https://home-assistant.io/integrations/template/
It’s great to want to help others since that is the main thrust of this forum but you really have to make sure that you aren’t giving out wrong information. It just confuses people even more.
Can somebody explain to me if its better to use one big file for all my sensors or start using folder called sensors and create individual file for each sensor/device (Pros and Cons)? Or if you could point me to documentation where his is explained so I can understand it better. I was not able to find it.
Breaking your configuration up into multiple files makes it easier to maintain, because you can quickly get to what you want to modify. Also, if you’re using an include directory, then you don’t have to constantly update a master file, you just create a new file with the information you need and restart, and it’ll be included.
The downside is that it also makes it more complex. As you found out, there are some subtleties with how you use included files that aren’t completely obvious.
I for one split up my configuration.yaml into sub-files for each device type (sensors, binary_sensors, alerts, groups, input_selects, input_booleans, lights, notify, scenes, sensors, switches, zones). The only include directories I have are around automations, so I can easily drop a new automation in the directory and just re-load those. I wouldn’t personally recommend breaking sensors into a bunch of sub-files.
I tend to use packages where everything… templates, sensors, automations related to one component all live… There’s really no best way, only what you want and what is most manageable for you