Yes, that device is a switch. It is the device I use to test rules with.
I have 3 rules posted using location /TemperatureF
8c6e4a5b-b66e-472f-8fbe-a53b478b046a
d52e0e76-4703-48b6-9861-1b9f0e099209
4f473380-39ef-4291-ba5a-91e769690099
I posted a rule using that capability yesterday.
8c6e4a5b-b66e-472f-8fbe-a53b478b046a
If I attempt to post any of these rules again, it will fail with the error I gave you. If I take the location / TemperatureF out of the rule it will post.
This is a rule I first posted about 2 weeks ago…
{
"name": "Open or Close Shades after Sunset",
"timeZoneId": "America/New_York",
"actions": [
{
"if": {
"and": [
{
"equals": {
"left": {
"device": {
"devices": [
"f7e669af-3c7f-4603-995c-020a61f6b709"
],
"component": "main",
"capability": "legendabsolute60149.sunSetOffset1",
"attribute": "sunSetOffset"
}
},
"right": {
"integer": 26
}
}
},
{
"lessThan": {
"left": {
"location": {
"locationId": "7ed84d12-c245-413b-829b-16eccdd3aa41",
"attribute": "TemperatureF"
}
},
"right": {
"integer": 45
}
}
},
{
"not": {
"equals": {
"left": {
"device": {
"devices": [
"46511b1d-2ce3-49f3-a43b-9669e494d5e2"
],
"component": "main",
"capability": "windowShade",
"attribute": "windowShade"
}
},
"right": {
"string": "closed"
}
}
}
}
],
"then": [
{
"command": {
"devices": [
"6c88e8f7-fbfb-4528-a7b7-f0e75007d2f4",
"49b33caa-3690-4ac8-a521-d8629d2df0c0",
"9961f729-0835-4b71-ae9c-1584b2b6305a",
"21530b5d-c2b2-4a04-8e1a-b974e806705c"
],
"commands": [
{
"component": "main",
"capability": "windowShadeLevel",
"command": "setShadeLevel",
"arguments": [
{
"integer": 6
}
]
}
]
}
},
{
"command": {
"devices": [
"46511b1d-2ce3-49f3-a43b-9669e494d5e2"
],
"commands": [
{
"component": "main",
"capability": "windowShade",
"command": "close"
}
]
}
},
{
"command": {
"devices": [
"043e063c-cce2-42c3-815f-5fba76cf8c63"
],
"commands": [
{
"component": "main",
"capability": "windowShadeLevel",
"command": "setShadeLevel",
"arguments": [
{
"integer": 10
}
]
}
]
}
}
],
"else": [
{
"if": {
"and": [
{
"equals": {
"left": {
"device": {
"devices": [
"f7e669af-3c7f-4603-995c-020a61f6b709"
],
"component": "main",
"capability": "legendabsolute60149.sunSetOffset1",
"attribute": "sunSetOffset"
}
},
"right": {
"integer": 26
}
}
},
{
"equals": {
"left": {
"device": {
"devices": [
"46511b1d-2ce3-49f3-a43b-9669e494d5e2"
],
"component": "main",
"capability": "windowShade",
"attribute": "windowShade"
}
},
"right": {
"string": "closed"
}
}
},
{
"greaterThan": {
"left": {
"location": {
"locationId": "7ed84d12-c245-413b-829b-16eccdd3aa41",
"attribute": "TemperatureF"
}
},
"right": {
"integer": 65
}
}
}
],
"then": [
{
"command": {
"devices": [
"6c88e8f7-fbfb-4528-a7b7-f0e75007d2f4",
"49b33caa-3690-4ac8-a521-d8629d2df0c0",
"9961f729-0835-4b71-ae9c-1584b2b6305a",
"21530b5d-c2b2-4a04-8e1a-b974e806705c",
"043e063c-cce2-42c3-815f-5fba76cf8c63",
"46511b1d-2ce3-49f3-a43b-9669e494d5e2"
],
"commands": [
{
"component": "main",
"capability": "windowShade",
"command": "open"
}
]
}
}
]
}
}
]
}
}
]
}
I try to post it now, it gives me that error.
8 Open or Close Shades after Sunset d52e0e76-4703-48b6-9861-1b9f0e099209 7ed84d12-c245-413b-829b-16eccdd3aa41 Home
Details for rule "Open or Close Shades after Sunset"
Key Value
Status Enabled
Creator SMARTTHINGS
Execution Cloud
Owner ID 7ed84d12-c245-413b-829b-16eccdd3aa41
Owner Type Location
Date Created 2023-02-01T13:35:29Z
Date Updated 2023-02-01T13:35:29Z