Skip to content

Conversation

@3735943886
Copy link
Contributor

@3735943886 3735943886 commented Dec 8, 2025

Currently, @mqtt_trigger forces UTF-8 decoding of the payload, which prevents the trigger from firing when non-UTF-8 message is received.

This PR introduces an optional encoding parameter to the @mqtt_trigger decorator, allowing users to explicitly specify how the incoming payload should be decoded.

Fixes #780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@mqtt_trigger Failure to Handle Non-UTF-8 Messages

1 participant