-
Notifications
You must be signed in to change notification settings - Fork 58
Open
@3735943886
Description
Currently, when a function decorated with @mqtt_trigger
is triggered, there is no way to access the retain flag of the incoming MQTT message.
How about adding a new keyword argument, retain
, to the list of available variables passed to the decorated function. This variable would be a boolean (True or False) indicating the retained status of the message.
Metadata
Metadata
Assignees
Labels
No labels