fix import BinarySensorDevice
This commit is contained in:
parent
d8d59d9a66
commit
48b6c5b5cb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ https://home-assistant.io/components/binary_sensor.rpi_gpio/
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import homeassistant.components.rpi_gpio as rpi_gpio
|
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)
|
from homeassistant.const import (DEVICE_DEFAULT_NAME)
|
||||||
|
|
||||||
DEFAULT_PULL_MODE = "UP"
|
DEFAULT_PULL_MODE = "UP"
|
||||||
|
|
Loading…
Add table
Reference in a new issue