Closed georg90 closed 4 years ago
Hi, I think the problem is that the MqttPresence sensor can only deal with simple payloads (e.g. "true", "false" strings) right now, and it is not possible to use a certain property inside a JSON payload.
I have tested your scenario and as far as I can see it works as expected with the new JSON parse feature
released pimatic-mqtt@0.9.13
Please re-open if you're still seeing the issue
Hi,
my Xiaomi presence sensors report their state via a boolean (true/false). Could we enable to accept boolean as onMessage/offMessage?
Else we could cast the incoming message to string?
Thanks a lot!