From 48b6c5b5cb237d27ca1f1a192ab45d9fe9933c47 Mon Sep 17 00:00:00 2001 From: sfam Date: Fri, 15 Jan 2016 18:14:46 +0000 Subject: [PATCH] fix import BinarySensorDevice --- homeassistant/components/binary_sensor/rpi_gpio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"