diff --git a/homeassistant/components/binary_sensor/rpi_gpio.py b/homeassistant/components/binary_sensor/rpi_gpio.py index 39a7edecb79..2bb50fec766 100644 --- a/homeassistant/components/binary_sensor/rpi_gpio.py +++ b/homeassistant/components/binary_sensor/rpi_gpio.py @@ -9,7 +9,7 @@ https://home-assistant.io/components/binary_sensor.rpi_gpio/ import logging import homeassistant.components.rpi_gpio as rpi_gpio -from homeassistant.helpers.entity import Entity +from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.const import (DEVICE_DEFAULT_NAME) DEFAULT_PULL_MODE = "UP"