Until now, I’ve been doing network pings through Node-RED exclusively. I was playing around with setting up some binary sensors in my templates.yaml file (referenced from configuration.yaml) and this is causing problems:
# Network ping sensors - binary_sensor: - unique_id: upstairs_mesh_node name: Mesh Node platform: ping host: 192.168.1.1 count: 5 scan_interval: 600
I get this error on checking config:
Logger: homeassistant.config Source: config.py:916 First occurred: 8:31:55 AM (7 occurrences) Last logged: 8:42:42 AM Invalid config for [template]: [platform] is an invalid option for [template]. Check: template->binary_sensor->0->platform. (See /config/templates.yaml, line 659).
The sensor syntax, spacing and everything is identical to my other sensors. Any ideas?