Upgrade pysnmp-lextudio to version 6.0.9 (#112795)

This commit is contained in:
Lex Li 2024-03-09 14:51:08 -05:00 committed by GitHub
parent 033dd35655
commit 9974af39ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4 additions and 7 deletions

View File

@ -5,5 +5,5 @@
"documentation": "https://www.home-assistant.io/integrations/snmp",
"iot_class": "local_polling",
"loggers": ["pyasn1", "pysmi", "pysnmp"],
"requirements": ["pysnmp-lextudio==5.0.34"]
"requirements": ["pysnmp-lextudio==6.0.9"]
}

View File

@ -238,7 +238,7 @@ class SnmpSwitch(SwitchEntity):
async def async_turn_on(self, **kwargs: Any) -> None:
"""Turn on the switch."""
# If vartype set, use it - http://snmplabs.com/pysnmp/docs/api-reference.html#pysnmp.smi.rfc1902.ObjectType
# If vartype set, use it - https://www.pysnmp.com/pysnmp/docs/api-reference.html#pysnmp.smi.rfc1902.ObjectType
await self._execute_command(self._command_payload_on)
async def async_turn_off(self, **kwargs: Any) -> None:

View File

@ -530,9 +530,6 @@ filterwarnings = [
"ignore:loop argument is deprecated:DeprecationWarning:emulated_roku",
# https://github.com/thecynic/pylutron - v0.2.10
"ignore:setDaemon\\(\\) is deprecated, set the daemon attribute instead:DeprecationWarning:pylutron",
# Fixed for Python 3.12
# https://github.com/lextudio/pysnmp/issues/10
"ignore:The asyncore module is deprecated and will be removed in Python 3.12:DeprecationWarning:pysnmp.carrier.asyncore.base",
# Wrong stacklevel
# https://bugs.launchpad.net/beautifulsoup/+bug/2034451
"ignore:It looks like you're parsing an XML document using an HTML parser:UserWarning:bs4.builder",

View File

@ -2149,7 +2149,7 @@ pysmartthings==0.7.8
pysml==0.0.12
# homeassistant.components.snmp
pysnmp-lextudio==5.0.34
pysnmp-lextudio==6.0.9
# homeassistant.components.snooz
pysnooz==0.8.6

View File

@ -1670,7 +1670,7 @@ pysmartthings==0.7.8
pysml==0.0.12
# homeassistant.components.snmp
pysnmp-lextudio==5.0.34
pysnmp-lextudio==6.0.9
# homeassistant.components.snooz
pysnooz==0.8.6