Open alandtse opened 2 years ago
Hello @alandtse,
Apologies too a while to response. There was a recent update in AD, and it only allows to make use of wildcards, only if AD subscribed to the MQTT topic using wildcards. So there is a recent fix for this, and its simply the app being response for the subscribing and not from plugin setup.
Kind use the latest and let me know how it goes
I'm not sure when it started, but after some recent updates of HA/AppDaemon, I noticed my monitor sensors weren't being created. Currently my HA/AppDaemon/Home_presence_app is at 2021.10.5/0.7.0/2.4.1. My configuration for home_presence_app is basically just defaults and didn't change from when it stopped working.
After debugging, I determined that the listen event was not processing anything from
monitor/#
. I ended up having to commenting out the wildcard arg in thelisten_event
registration and adding a manual filter inpresence_message
.Reading through the AppDaemon MQTT API, I have no idea why the
wildcard
kwarg is having a problem. I'd normally submit a PR but it seems like a step backward to disable the wildcard and filter in the callback. I did check the AppDaemon Issues and didn't see any mention of this there. Once I got my workaround, I didn't bother to go down the stack to figure out anything further due to attention-span constraints but I thought I'd at least report the issue if someone else runs into this and wants a workaround.