esphome/tests/component_tests/binary_sensor/test_binary_sensor.yaml

19 lines
277 B
YAML
Raw Normal View History

esphome:
name: test
platform: ESP8266
board: d1_mini_lite
binary_sensor:
- platform: gpio
id: bs_1
name: "test bs1"
internal: true
pin:
number: D0
- platform: gpio
id: bs_2
name: "test bs2"
internal: false
pin:
number: D1