"Example State": {
"plugin": "State"
},
- ...
+ "State to Graph On": {
+ "plugin": "Alias",
+ "from": { "sender": { "const": "Example State" },
+ "state": { "const": true } },
+ "to": { "target": "Test Graph",
+ "command": "set",
+ "node": "testnode",
+ "guid": "0123456789",
+ "attribute": "testboolean",
+ "value": "1" }
+ },
+ "State to Graph Off": {
+ "plugin": "Alias",
+ "from": { "sender": { "const": "Example State" },
+ "state": { "const": true } },
+ "to": { "target": "Test Graph",
+ "command": "set",
+ "node": "testnode",
+ "guid": "0123456789",
+ "attribute": "testboolean",
+ "value": "0" }
+ },
+ "Get from Graph": {
+ "plugin": "Alias",
+ "from": { "target": { "const": "Get from Graph" },
+ "command": { "const": "execute" } },
+ "to": { "target": "Test Graph",
+ "command": "get",
+ "node": "testnode",
+ "guid": "0123456789",
+ "attribute": "testboolean" }
+ }
}