Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

WIP Rules editor

robindekkers865dff32827a
diff --git a/ui/component/or-rules-editor/src/or-rule-then-condition/index.ts b/ui/component/or-rules-editor/src/or-rule-then-condition/index.ts
index b648c8530..85778958b 100644
--- a/ui/component/or-rules-editor/src/or-rule-then-condition/index.ts
+++ b/ui/component/or-rules-editor/src/or-rule-then-condition/index.ts
@@ -41,7 +41,7 @@ class OrRuleThenCondition extends LitElement {
@property({type: Number})
private value: number = 0;
- protected createInputControl(condition:RuleActionWriteAttribute) {
+ protected createInputControl(condition:RuleActionWriteAttribute):TemplateResult {
for (let i=0; i< handler.handlers.length; i++) {
let h = handler.handlers[i];