no more $smType in webapp

This commit is contained in:
ari committed 2022-05-13 17:26:44 -04:00
1 parent 429dfd5b50
commit c118ccc99b
20 files changed
+327 -502

No files matched your search

@@ -9,13 +9,9 @@ const makeDefault = (nodeType: keyof AutomationNodeMapping): AutomationNode => {
switch (nodeType) {
case 'action':
return {
$smType: 'action',
action: "service",
action_data: {
'data': {},
'service': '',
'target': {},
}
'data': {},
'service': '',
'target': {},
}
case 'condition':
return {