I am trying to create a notification for my Govee thermometer batteries when their power levels drop below a certain level. I can use a function node to send either the topic (Govee device name) or the payload (battery level), but how can I send both with a function node ?
msg.payload = {
data: {
title: "Govee Low Battery Alert",
message: msg.topic
}
}
return msg;