You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error when running the async mqtt example:
Exception in message_received when handling msg on 'home-assistant/mqtt_example': 'payload_text' TypeError: async_setup.<locals>.message_received() missing 2 required positional arguments: 'payload' and 'qos'
Any ideas?
TIA
The text was updated successfully, but these errors were encountered:
Hey,
Ran into the same issue today, it seems that the message_received() function was changed at some point, and now expects a ReceiveMessage type object that contains all the previous arguments. Managed to do a quick and dirty fix to get the integration working, just by replacing :
I get the following error when running the async mqtt example:
Exception in message_received when handling msg on 'home-assistant/mqtt_example': 'payload_text' TypeError: async_setup.<locals>.message_received() missing 2 required positional arguments: 'payload' and 'qos'
Any ideas?
TIA
The text was updated successfully, but these errors were encountered: