Skip to content

Patch: Propagate Real MQTT Payload to Update Callback #35

@N0NameN0

Description

@N0NameN0

This patch enhances the notify() mechanism in the pyhOn library so that the actual MQTT message payload is passed through to user callbacks
instead of always sending None. It updates the signature of Hon.notify() to accept an evt argument and modifies the MQTT client’s
_on_publish_received handler to forward the decoded payload, enabling real‐time parameter updates (e.g. remainingTimeMM) to be received by
client code.

patch.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions