Remove setup from remote_rpi_gpio (#93901)

This commit is contained in:
Erik Montnemery 2023-06-01 11:36:20 +02:00 committed by GitHub
parent 08bfe8f5cc
commit f2ea2a886c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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