mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Upgrade pysnmp to 4.3.10 (#9722)
This commit is contained in:
parent
2479ce9123
commit
e502202de7
@ -16,7 +16,7 @@ from homeassistant.const import CONF_HOST
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
REQUIREMENTS = ['pysnmp==4.3.9']
|
REQUIREMENTS = ['pysnmp==4.3.10']
|
||||||
|
|
||||||
CONF_COMMUNITY = 'community'
|
CONF_COMMUNITY = 'community'
|
||||||
CONF_AUTHKEY = 'authkey'
|
CONF_AUTHKEY = 'authkey'
|
||||||
@ -36,7 +36,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||||||
|
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
def get_scanner(hass, config):
|
def get_scanner(hass, config):
|
||||||
"""Validate the configuration and return an snmp scanner."""
|
"""Validate the configuration and return an SNMP scanner."""
|
||||||
scanner = SnmpScanner(config[DOMAIN])
|
scanner = SnmpScanner(config[DOMAIN])
|
||||||
|
|
||||||
return scanner if scanner.success_init else None
|
return scanner if scanner.success_init else None
|
||||||
|
@ -16,7 +16,7 @@ from homeassistant.const import (
|
|||||||
CONF_HOST, CONF_NAME, CONF_PORT, CONF_UNIT_OF_MEASUREMENT, STATE_UNKNOWN,
|
CONF_HOST, CONF_NAME, CONF_PORT, CONF_UNIT_OF_MEASUREMENT, STATE_UNKNOWN,
|
||||||
CONF_VALUE_TEMPLATE)
|
CONF_VALUE_TEMPLATE)
|
||||||
|
|
||||||
REQUIREMENTS = ['pysnmp==4.3.9']
|
REQUIREMENTS = ['pysnmp==4.3.10']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -729,7 +729,7 @@ pysma==0.1.3
|
|||||||
|
|
||||||
# homeassistant.components.device_tracker.snmp
|
# homeassistant.components.device_tracker.snmp
|
||||||
# homeassistant.components.sensor.snmp
|
# homeassistant.components.sensor.snmp
|
||||||
pysnmp==4.3.9
|
pysnmp==4.3.10
|
||||||
|
|
||||||
# homeassistant.components.sensor.thinkingcleaner
|
# homeassistant.components.sensor.thinkingcleaner
|
||||||
# homeassistant.components.switch.thinkingcleaner
|
# homeassistant.components.switch.thinkingcleaner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user