From 290f4831779b736b3707cbf3d590fb68890320f9 Mon Sep 17 00:00:00 2001 From: manuel Date: Thu, 23 Oct 2025 09:59:55 +0200 Subject: move to GPIOxy rather then Dx pin identifier --- esphome/config/office-pc-control.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'esphome/config/office-pc-control.yaml') diff --git a/esphome/config/office-pc-control.yaml b/esphome/config/office-pc-control.yaml index 30033bb..f82d66c 100644 --- a/esphome/config/office-pc-control.yaml +++ b/esphome/config/office-pc-control.yaml @@ -55,13 +55,13 @@ output: - platform: gpio id: pc_reset pin: - number: D2 # GPIO4 + number: GPIO4 # D2 inverted: true # pc power/reset pins are GND activated - platform: gpio id: pc_power_onoff pin: - number: D3 # GPIO0 + number: GPIO0 # D3 inverted: true # pc power/reset pins are GND activated - platform: gpio @@ -77,12 +77,12 @@ output: - platform: gpio id: unused_gpio13 pin: - number: D7 # GPIO13 + number: GPIO13 # D7 mode: INPUT_PULLUP - platform: gpio id: unused_gpio16 pin: - number: D0 # GPIO16 + number: GPIO16 # D0 mode: INPUT_PULLDOWN button: @@ -112,7 +112,7 @@ light: type: GRB variant: 800KBPS num_leds: 16 - pin: D4 # GPIO2 + pin: GPIO2 # D4 method: type: esp8266_uart bus: 1 @@ -130,7 +130,7 @@ binary_sensor: name: "Touch button" id: touch_button pin: - number: D8 # GPIO15 + number: GPIO15 # D8 mode: INPUT internal: true filters: @@ -143,7 +143,7 @@ binary_sensor: name: "Power button" id: power_button pin: - number: D5 # GPIO14 + number: GPIO14 # D5 mode: INPUT_PULLUP inverted: true internal: true @@ -169,7 +169,7 @@ binary_sensor: name: "Reset button" id: reset_button pin: - number: D6 # GPIO12 + number: GPIO12 # D6 mode: INPUT_PULLUP inverted: true internal: true @@ -201,7 +201,7 @@ binary_sensor: name: "Powered" icon: "mdi:desktop-tower" pin: - number: D1 # GPIO5 + number: GPIO5 # D1 mode: INPUT_PULLUP filters: - delayed_on: 100ms -- cgit v1.2.3