},
"Delay Start after On": {
"plugin": "Alias",
- "from": { "sender": "Example State", "state": true, "changed": true },
+ "from": { "sender": "Example State", "event": "changed", "state": true },
"to": { "target": "Off Delay", "command": "wait" }
},
"State Off after Delay": {
"plugin": "Alias",
"from": { "sender": "Off Delay", "event": "finished" },
- "to": { "target": "Example State", "command": "set state", "state": false }
+ "to": { "target": "Example State", "command": "set state", "new state": false }
},
"Debug Logger": {
"plugin": "Log",
async def test_commands(websocket):
commands = [{'target': 'Example State',
- 'command': 'set state', 'state': True},
+ 'command': 'set state', 'new state': True},
{'target': 'Example State', 'command':
'get state'}]
for command in commands: