.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"language": "python",
|
||||
"language": "python2",
|
||||
"globalcontext": { "code": "print(\"GlobalContext: Init!\")\nvar1 = 66.6\nvar2 = 0"},
|
||||
"rules": {
|
||||
"rule01": {
|
||||
@@ -53,7 +53,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"script": { "code": "print(\"Dimmer 0 reached 100\")\nDevices[\"dummySwitch1\"].sendCommand({\"switch\": {\"set\": True}})" }
|
||||
"script": { "code": "print(\"Dimmer 0 reached 100\")\nDevices[\"dummySwitch1\"].sendCommand({u\"switch\": {u\"set\": True}})" }
|
||||
},
|
||||
"rule05": {
|
||||
"condition": {
|
||||
@@ -68,7 +68,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"script": { "code": "print(\"Dimmer 0 left 100\")\nDevices[\"dummySwitch1\"].sendCommand({\"switch\": {\"set\": False}})" }
|
||||
"script": { "code": "print(\"Dimmer 0 left 100\")\nDevices[\"dummySwitch1\"].sendCommand({u\"switch\": {\"set\": False}})" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user