fix import BinarySensorDevice
parent
d8d59d9a66
commit
48b6c5b5cb
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue