From 71d3791e9e7efe46ff67fe6b865e29c0bea9273a Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 6 Jun 2025 16:20:34 +0700 Subject: [PATCH] Add ConnectionType enum for connection type specification --- custom_components/benq_smartboard/benq_smartboard_lib.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/benq_smartboard/benq_smartboard_lib.py b/custom_components/benq_smartboard/benq_smartboard_lib.py index 0be0d27..bf18d6b 100644 --- a/custom_components/benq_smartboard/benq_smartboard_lib.py +++ b/custom_components/benq_smartboard/benq_smartboard_lib.py @@ -157,6 +157,11 @@ class SwitchOnStatus(Enum): FORCE_ON = '001' LAST_STATUS = '002' +@unique +class ConnectionType(Enum): + TCP = 'tcp' + SERIAL = 'serial' + # -- The Main BenQSmartBoard Class --------------------------------------------