Fix Button 2 GPIO assignment

This commit is contained in:
2026-09-25 21:22:02 +02:00
parent d84bb62549
commit 492566f6b5
+5 -5
View File
@@ -32,7 +32,7 @@ esphome:
id(panel)->set_effect_spread(sp == "Per Digit" ? 1 : sp == "Per LED" ? 2 : 0);
std::string ef = id(effect_mode).current_option();
id(panel)->set_effect(ef == "Color Cycle" ? 1 : ef == "Flash" ? 2 : 0);
esp32:
variant: esp32c3
flash_size: 4MB
@@ -44,7 +44,7 @@ logger:
# Enable Home Assistant API
api:
encryption:
encryption:
key: !secret apikey
actions:
- action: show_seconds
@@ -156,11 +156,11 @@ ota:
network:
enable_ipv6: true
wifi:
ssid: "Voltage-legacy"
password: !secret voltage_legacy_psk
#use_address: ${name}.home
#use_address: ${name}.home
power_save_mode: high
fast_connect: on
min_auth_mode: WPA2
@@ -244,7 +244,7 @@ binary_sensor:
id: button_2
name: Button 2
pin:
number: GPIO5 # MCU socket pin 10, net S2, bottom button on the case
number: GPIO7 # MCU socket pin 10, net S2, bottom button on the case
mode:
input: true
pullup: true