diff --git a/thread-device-1.yaml b/thread-device-1.yaml index 9f3be42..27411d7 100644 --- a/thread-device-1.yaml +++ b/thread-device-1.yaml @@ -50,13 +50,21 @@ text_sensor: ext_pan_id: name: "Thread Extended PAN ID" -light: - - platform: esp32_rmt_led_strip - rgb_order: GRB - pin: GPIO08 - num_leds: 1 - chipset: ws2812 - name: "Onboard LED" +binary_sensor: + - platform: gpio + pin: + number: GPIO10 + mode: INPUT_PULLUP + inverted: true + name: "GPIO10" + + light: + - platform: esp32_rmt_led_strip + rgb_order: GRB + pin: GPIO08 + num_leds: 1 + chipset: ws2812 + name: "Onboard LED" web_server: port: 80