From 33bed2bbfb84c8ba380cb24479c3728bd863521e Mon Sep 17 00:00:00 2001 From: John Doe Date: Fri, 15 May 2020 22:54:36 +0800 Subject: [PATCH] Add more enpoins names for validation (#3552) --- lib/util/utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/util/utils.js b/lib/util/utils.js index a6def62a1..c87fd1188 100644 --- a/lib/util/utils.js +++ b/lib/util/utils.js @@ -32,6 +32,10 @@ const endpointNames = [ 'top_left', 'top_right', 'white', 'rgb', 'cct', 'system', 'top', 'bottom', 'center_left', 'center_right', 'ep1', 'ep2', 'row_1', 'row_2', 'row_3', 'row_4', 'relay', 'l1', 'l2', 'l3', 'l4', 'l5', 'l6', 'l7', 'l8', + 'button_1', 'button_2', 'button_3', 'button_4', 'button_5', + 'button_6', 'button_7', 'button_8', 'button_9', 'button_10', + 'button_11', 'button_12', 'button_13', 'button_14', 'button_15', + 'button_16', 'button_17', 'button_18', 'button_19', 'button_20', ]; function flatten(arr) {