From f0751cb37df816eed47f70a9bf5618df0dbe1438 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 20 Dec 2019 18:56:00 +0100 Subject: [PATCH] Fixed typo --- platypush/plugins/gpio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/gpio/__init__.py b/platypush/plugins/gpio/__init__.py index 0912f1c0..4617fb5f 100644 --- a/platypush/plugins/gpio/__init__.py +++ b/platypush/plugins/gpio/__init__.py @@ -57,7 +57,7 @@ class GpioPlugin(Plugin): return getattr(gpio, mode_str) @action - def write(self, pin: Union[int, str], int, value: Union[int, bool], + def write(self, pin: Union[int, str], value: Union[int, bool], name: Optional[str] = None, mode: Optional[str] = None) -> Dict[str, Any]: """ Write a byte value to a pin.