mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Remove setup from remote_rpi_gpio (#93901)
This commit is contained in:
parent
08bfe8f5cc
commit
f2ea2a886c
@ -2,9 +2,6 @@
|
|||||||
from gpiozero import LED, DigitalInputDevice
|
from gpiozero import LED, DigitalInputDevice
|
||||||
from gpiozero.pins.pigpio import PiGPIOFactory
|
from gpiozero.pins.pigpio import PiGPIOFactory
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
|
||||||
from homeassistant.helpers.typing import ConfigType
|
|
||||||
|
|
||||||
CONF_BOUNCETIME = "bouncetime"
|
CONF_BOUNCETIME = "bouncetime"
|
||||||
CONF_INVERT_LOGIC = "invert_logic"
|
CONF_INVERT_LOGIC = "invert_logic"
|
||||||
CONF_PULL_MODE = "pull_mode"
|
CONF_PULL_MODE = "pull_mode"
|
||||||
@ -16,11 +13,6 @@ DEFAULT_PULL_MODE = "UP"
|
|||||||
DOMAIN = "remote_rpi_gpio"
|
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):
|
def setup_output(address, port, invert_logic):
|
||||||
"""Set up a GPIO as output."""
|
"""Set up a GPIO as output."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user