diff --git a/esphome/components/nrf52/gpio.py b/esphome/components/nrf52/gpio.py index a2329be521..b6325e1220 100644 --- a/esphome/components/nrf52/gpio.py +++ b/esphome/components/nrf52/gpio.py @@ -12,7 +12,7 @@ from esphome.components.zephyr.const import ( zephyr_ns, ) -GPIOPin = zephyr_ns.class_("ZephyrGPIOPin", cg.InternalGPIOPin) +ZephyrGPIOPin = zephyr_ns.class_("ZephyrGPIOPin", cg.InternalGPIOPin) def _translate_pin(value):