binary_sensor: - platform: ping name: test2 host: 127.0.0.1 count: 1