|
@@ -31,15 +31,15 @@ def create_dummy_event(ven_id):
|
|
|
"test_event": "false",
|
|
|
"vtn_comment": "This is an event"}
|
|
|
|
|
|
- event_signals = [{"intervals": [{"duration": "PT1M", "uid": 1, "signal_payload": 8},
|
|
|
- {"duration": "PT1M", "uid": 2, "signal_payload": 10},
|
|
|
- {"duration": "PT1M", "uid": 3, "signal_payload": 12},
|
|
|
- {"duration": "PT1M", "uid": 4, "signal_payload": 14},
|
|
|
- {"duration": "PT1M", "uid": 5, "signal_payload": 16},
|
|
|
- {"duration": "PT1M", "uid": 6, "signal_payload": 18},
|
|
|
- {"duration": "PT1M", "uid": 7, "signal_payload": 20},
|
|
|
- {"duration": "PT1M", "uid": 8, "signal_payload": 10},
|
|
|
- {"duration": "PT1M", "uid": 9, "signal_payload": 20}],
|
|
|
+ event_signals = [{"intervals": [{"duration": timedelta(minutes=1), "uid": 1, "signal_payload": 8},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 2, "signal_payload": 10},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 3, "signal_payload": 12},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 4, "signal_payload": 14},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 5, "signal_payload": 16},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 6, "signal_payload": 18},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 7, "signal_payload": 20},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 8, "signal_payload": 10},
|
|
|
+ {"duration": timedelta(minutes=1), "uid": 9, "signal_payload": 20}],
|
|
|
"signal_name": "LOAD_CONTROL",
|
|
|
#"signal_name": "simple",
|
|
|
#"signal_type": "level",
|