I need to send single parameter as a string to a virtual device that is a URL string plus the value of a slider in another device. I can’t figure out how to concatenate those two. Here’s what I have tried in the then:
{
"command": {
"devices": ["3b70d48d-d458-472e-befd-e18afd173382"],
"commands": [
{
"component": "main",
"capability": "partyvoice23922.webrequest",
"command": "GET",
"arguments": [
{
"string": {
"concat": [
{ "value": "http://192.168.1.172/cm?cmnd=TempTargetSet1%20" },
{
"device": {
"devices": ["b060adda-ecfa-4e49-ad6a-fe8fc2d7322"],
"component": "main",
"capability": "thermostatCoolingSetpoint",
"attribute": "coolingSetpoint"
}
}
]
}
}
]
}
]
}
}
I get “422 The request is malformed. Unknown target: Malformed body on line 1:383”
Is there a way to send the edited URL to webrequest?