We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8926961 commit 9166d32Copy full SHA for 9166d32
1 file changed
custom_components/switch_port_card_pro/const.py
@@ -6,7 +6,7 @@
6
7
# Config entry keys
8
CONF_HOST: Final = "host"
9
-CONF_SNMP_PORT = 161
+CONF_SNMP_PORT = "snmp_port"
10
CONF_COMMUNITY: Final = "community"
11
CONF_PORTS: Final = "ports"
12
CONF_INCLUDE_VLANS: Final = "include_vlans"
@@ -38,7 +38,7 @@
38
"v2c": 1,
39
"v3": 2,
40
}
41
-
+DEFAULT_SNMP_PORT: Final = 161
42
# Default monitored ports (1–28 is safe for most 24+4 switches)
43
DEFAULT_PORTS: Final = list(range(1, 9)) # remove 29 as this is too many for most users
44
0 commit comments