From 3ab77e32f49dbfc9c5c3bcd6d35a55beed5d79e7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 24 Jul 2018 15:01:01 +0000 Subject: [PATCH] Doc fixes --- docs/source/plugins.rst | 1 + platypush/message/event/button/flic/__init__.py | 5 +++++ platypush/plugins/ifttt.py | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/source/plugins.rst b/docs/source/plugins.rst index 4c2f70b19..6f0d24e3b 100644 --- a/docs/source/plugins.rst +++ b/docs/source/plugins.rst @@ -11,6 +11,7 @@ Plugins platypush/plugins/calendar.rst platypush/plugins/calendar.ical.rst platypush/plugins/camera.pi.rst + platypush/plugins/clipboard.rst platypush/plugins/db.rst platypush/plugins/google.rst platypush/plugins/google.calendar.rst diff --git a/platypush/message/event/button/flic/__init__.py b/platypush/message/event/button/flic/__init__.py index 917e82828..3c6a29538 100644 --- a/platypush/message/event/button/flic/__init__.py +++ b/platypush/message/event/button/flic/__init__.py @@ -20,6 +20,11 @@ class FlicButtonEvent(Event): def matches_condition(self, condition): + """ + :param condition: Condition to be checked against, as a sequence of button presses ("ShortPressEvent" and "LongPressEvent") + :type condition: list + """ + result = EventMatchResult(is_match=False) if not isinstance(self, condition.type) \ diff --git a/platypush/plugins/ifttt.py b/platypush/plugins/ifttt.py index 492810b8d..ae9a306ad 100644 --- a/platypush/plugins/ifttt.py +++ b/platypush/plugins/ifttt.py @@ -48,7 +48,7 @@ class IftttPlugin(Plugin): :param event_name: Name of the event :type event_name: str - :param values: Optional list of values to be passed to the event. By convention IFTTT names the values as ``value1,value2,...`. + :param values: Optional list of values to be passed to the event. By convention IFTTT names the values as ``value1,value2,...``. :type values: list """