fix import BinarySensorDevice

pull/899/head
sfam 2016-01-15 18:14:46 +00:00
parent d8d59d9a66
commit 48b6c5b5cb
1 changed files with 1 additions and 1 deletions

View File

@ -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"