Remove setup from remote_rpi_gpio (#93901)
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
from gpiozero import LED, DigitalInputDevice
|
||||
from gpiozero.pins.pigpio import PiGPIOFactory
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
|
||||
CONF_BOUNCETIME = "bouncetime"
|
||||
CONF_INVERT_LOGIC = "invert_logic"
|
||||
CONF_PULL_MODE = "pull_mode"
|
||||
@@ -16,11 +13,6 @@ DEFAULT_PULL_MODE = "UP"
|
||||
DOMAIN = "remote_rpi_gpio"
|
||||
|
||||
|
||||
def setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Set up the Raspberry Pi Remote GPIO component."""
|
||||
return True
|
||||
|
||||
|
||||
def setup_output(address, port, invert_logic):
|
||||
"""Set up a GPIO as output."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user