OpenMQ conflict if used in two different HomeAssistant integrations
rospogrigio opened this issue · 2 comments
Hi, I am facing an issue using OpenMQ. I am trying to use it in a custom integration I am developing, and I am using the official Tuya Integration at the same time.
What I am experiencing is that I have set a message listener with the openmq.add_message_listener
command, but at that point, I see that some status messages are received by the official Tuya Integration's listener, and some by my integration's one: they keep stealing the messages to each other, leading to having non-consistent status for the devices in both integrations.
Note that, if I launch the same code in a script (outside HomeAssistant) at the same time, it works perfectly and receives all the messages (that are divided between the two Integrations in HomeAssistant).
So, questions:
- is this an expected behavior or is it a bug?
- in any case, how can I overcome it and have both Integrations receive all the messages?
Thank you
Hi, is anyone reading these Issues? Can anyone provide feedback on what I have reported?
Thank you