From 49e86a78aa1685bead8ed418cacfb3ab3d29b402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Fr=C4=85cz?= Date: Fri, 29 Nov 2024 11:30:12 +0100 Subject: [PATCH] Enable all operators in battery level reaction --- .../src/channels/reactions/channel-function-triggers.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/frontend/src/channels/reactions/channel-function-triggers.js b/src/frontend/src/channels/reactions/channel-function-triggers.js index 660a5e8a1..1a1165c14 100644 --- a/src/frontend/src/channels/reactions/channel-function-triggers.js +++ b/src/frontend/src/channels/reactions/channel-function-triggers.js @@ -57,7 +57,6 @@ export const ChannelFunctionTriggers = { unit: () => '%', step: () => 1, field: 'battery_level', - operators: ['gt', 'ge', 'eq'], labelI18n: () => 'When the battery level will be', // i18n resumeLabelI18n: () => 'and wait until the battery level will be', // i18n }, @@ -654,7 +653,6 @@ export const ChannelFunctionTriggers = { unit: () => '%', step: () => 1, field: 'battery_level', - operators: ['gt', 'ge', 'eq'], labelI18n: () => 'When the battery level will be', // i18n resumeLabelI18n: () => 'and wait until the battery level will be', // i18n }, @@ -702,7 +700,6 @@ export const ChannelFunctionTriggers = { unit: () => '%', step: () => 1, field: 'battery_level', - // operators: ['gt', 'lt', 'eq'], labelI18n: () => 'When the battery level will be', // i18n resumeLabelI18n: () => 'and wait until the battery level will be', // i18n },