Assuming we’re still on-topic and this is about availability?
So far as I can see the Thing ‘availability’ is about standardized LWT messages, no transformations are offered.
Comment; while the config examples page got updated for availabityTopic, the subject is still completely missing from the generic docs. It does deserve a mention - would someone knowledgeable take this on, please?
File validation is only about basic syntax, it does not check if the parameter even exists, let alone is set to something meaningful.
will flag no error.
(One reason people bang on about using GUI instead)
Probably worth referring back to that.
So you can put the whole JSON string in the matches (being careful about quote marks)?
Are you looking in different places? The Bridge thing may define an LWT for other’s information when openHAB goes offline.
This is unrelated to Thing availability topics listening to external devices.
For giggles I will ask again - why does this Binding hide this doc? I ask when I know the answer: the binding author does not want/believe in file based configuration so will not allow the file based documentation in the binding documentation (a request denied prior for that reason)…a conceit that confounds users over and over again.
Oh wow, if only I’d seen this when starting out!! Doesn’t have anything about LWT though. Are you suggesting a PR into that page, rather than the normal openHAB docs?
OMG!!! I have been using OpenHAB since 2019 (or 2018? I think), and I have been using MQTT since the beginning and ONLY JUST NOW have I discovered this. And only after working on mqtt binding source code to do some PRs, I saw some references to availabilityTopic which piqued my interest.