Patch: Propagate Real MQTT Payload to Update Callback
Ouverte
- Langage dominant
- Python
- Étoiles
- 499
- Forks
- 1.7k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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](https://github.com/user-attachments/files/21763392/patch.txt)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.