Doc fixes

This commit is contained in:
Fabio Manganiello 2018-07-24 15:01:01 +00:00
parent 3d29371489
commit 3ab77e32f4
3 changed files with 7 additions and 1 deletions

View file

@ -11,6 +11,7 @@ Plugins
platypush/plugins/calendar.rst platypush/plugins/calendar.rst
platypush/plugins/calendar.ical.rst platypush/plugins/calendar.ical.rst
platypush/plugins/camera.pi.rst platypush/plugins/camera.pi.rst
platypush/plugins/clipboard.rst
platypush/plugins/db.rst platypush/plugins/db.rst
platypush/plugins/google.rst platypush/plugins/google.rst
platypush/plugins/google.calendar.rst platypush/plugins/google.calendar.rst

View file

@ -20,6 +20,11 @@ class FlicButtonEvent(Event):
def matches_condition(self, condition): 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) result = EventMatchResult(is_match=False)
if not isinstance(self, condition.type) \ if not isinstance(self, condition.type) \

View file

@ -48,7 +48,7 @@ class IftttPlugin(Plugin):
:param event_name: Name of the event :param event_name: Name of the event
:type event_name: str :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 :type values: list
""" """