Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature Request: Add 'retained' status to @mqtt_trigger #754

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /