Skip to content

Commit 9166d32

Browse files
authored
Update const.py
1 parent 8926961 commit 9166d32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • custom_components/switch_port_card_pro

custom_components/switch_port_card_pro/const.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Config entry keys
88
CONF_HOST: Final = "host"
9-
CONF_SNMP_PORT = 161
9+
CONF_SNMP_PORT = "snmp_port"
1010
CONF_COMMUNITY: Final = "community"
1111
CONF_PORTS: Final = "ports"
1212
CONF_INCLUDE_VLANS: Final = "include_vlans"
@@ -38,7 +38,7 @@
3838
"v2c": 1,
3939
"v3": 2,
4040
}
41-
41+
DEFAULT_SNMP_PORT: Final = 161
4242
# Default monitored ports (1–28 is safe for most 24+4 switches)
4343
DEFAULT_PORTS: Final = list(range(1, 9)) # remove 29 as this is too many for most users
4444

0 commit comments

Comments
 (0)