Send notifications to my phone from issue reporter
This commit is contained in:
@@ -4,6 +4,7 @@ const typeEnhancementLabel = flow.get("typeEnhancementLabel", "diskCon")
|
||||
const typeAdjustmentLabel = flow.get("typeAdjustmentLabel", "diskCon")
|
||||
const title = msg.text
|
||||
const type = msg.type
|
||||
const user = msg.user
|
||||
|
||||
let labels = [needsReponseLabel]
|
||||
let formatType = {}
|
||||
@@ -23,7 +24,7 @@ let newTitle = `${formatType}: ${title}`
|
||||
|
||||
msg.payload = {
|
||||
"title": newTitle,
|
||||
"body": "This issue was submitted by the automated form on the main Home Assistant dashboard",
|
||||
"body": `This issue was submitted by ${user.firstName} ${user.lastName}, using the automated form on the main Home Assistant dashboard`,
|
||||
"assignees":["tm24fan8"],
|
||||
"labels": labels
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user