Question:
Retain will “retain” the last published payload.
let’s say I want to retain more than one “config” parameter.
I’ve tried sending multiple values within the same payload IE (via Home assistant) :
- service: mqtt.publish
metadata: {}
data:
retain: true
topic: OMG_BLE2/OMG_BLE2/commands/MQTTtoBT/config
payload: >-
{"white-list":["D3:04:00:00:xx:xx","C4:7C:8D:6C:xx:xx"],"minrssi":-70,"intervalcnct":5000}
but this doesn’t seem to go through. Any advice?
Thanks