Closed dobernhardt closed 9 months ago
I have one low-importance rule that publishes to MQTT that seems to not be working. I just left it in a 1.1.2 docker container for the time being after troubleshooting for a bit. I don't think I saw any errors, though.
It really was just simply the missing callable argument. PR created https://github.com/spacemanspiff2007/HABApp/pull/422
Thank you for reporting, is fixed with the new release
After the update to 23.09.1 I see errors in my rules related to MqttItem.publish.
When looking into the code it looks like that in the publish method of the mqtt connection the topic (which is a str) is passes as the first argument into run_func_from_async which expects a callable.
It probably is just missing the async_publish as a first argument. I will give it a try tomorrow and can provide a PR.