device id

This commit is contained in:
ari committed 2022-05-30 19:48:55 -04:00
1 parent 8a90b56ac3
commit f1b24ec783
17 files changed
+438 -65

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ export const getDescriptionFromAutomationNode = <N extends AutomationNodeTypes>(
return `Trigger ${node.event}`
}
if ('device_id' in node) {
return `${node.type} on ${node.device_id}`
return `${node.type ?? ""} on ${node.device_id ?? ""}`
}
if ('choose' in node) {
return "Choose"