mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
fix import BinarySensorDevice
This commit is contained in:
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…
x
Reference in New Issue
Block a user