mirror of
https://github.com/esphome/esphome.git
synced 2025-09-30 09:02:17 +01:00
Fix gpio validation for esp32 variants (#2609)
Co-authored-by: Otto Winter <otto@otto-winter.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
11
esphome/components/esp32/gpio_esp32_h2.py
Normal file
11
esphome/components/esp32/gpio_esp32_h2.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import esphome.config_validation as cv
|
||||
|
||||
|
||||
def esp32_h2_validate_gpio_pin(value):
|
||||
# ESP32-H2 not yet supported
|
||||
raise cv.Invalid("ESP32-H2 isn't supported yet")
|
||||
|
||||
|
||||
def esp32_h2_validate_supports(value):
|
||||
# ESP32-H2 not yet supported
|
||||
raise cv.Invalid("ESP32-H2 isn't supported yet")
|
Reference in New Issue
Block a user