From a1e54faa7ba61cf22b4da6fde47f1144464f3dbc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 12 Nov 2017 11:57:31 +0100 Subject: [PATCH] Upgrade pysnmp to 4.4.2 --- homeassistant/components/device_tracker/snmp.py | 8 ++++---- homeassistant/components/sensor/snmp.py | 2 +- homeassistant/components/switch/snmp.py | 2 +- requirements_all.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/device_tracker/snmp.py b/homeassistant/components/device_tracker/snmp.py index 8c1bf6dc67b258..add027e1823765 100644 --- a/homeassistant/components/device_tracker/snmp.py +++ b/homeassistant/components/device_tracker/snmp.py @@ -14,14 +14,14 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -_LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pysnmp==4.4.2'] -REQUIREMENTS = ['pysnmp==4.4.1'] +_LOGGER = logging.getLogger(__name__) -CONF_COMMUNITY = 'community' CONF_AUTHKEY = 'authkey' -CONF_PRIVKEY = 'privkey' CONF_BASEOID = 'baseoid' +CONF_COMMUNITY = 'community' +CONF_PRIVKEY = 'privkey' DEFAULT_COMMUNITY = 'public' diff --git a/homeassistant/components/sensor/snmp.py b/homeassistant/components/sensor/snmp.py index 841ff107826754..982e7d9559b2a9 100644 --- a/homeassistant/components/sensor/snmp.py +++ b/homeassistant/components/sensor/snmp.py @@ -16,7 +16,7 @@ CONF_HOST, CONF_NAME, CONF_PORT, CONF_UNIT_OF_MEASUREMENT, STATE_UNKNOWN, CONF_VALUE_TEMPLATE) -REQUIREMENTS = ['pysnmp==4.4.1'] +REQUIREMENTS = ['pysnmp==4.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switch/snmp.py b/homeassistant/components/switch/snmp.py index d372991c3e2737..99ba9d8cd5455d 100644 --- a/homeassistant/components/switch/snmp.py +++ b/homeassistant/components/switch/snmp.py @@ -13,7 +13,7 @@ CONF_HOST, CONF_NAME, CONF_PORT, CONF_PAYLOAD_ON, CONF_PAYLOAD_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysnmp==4.4.1'] +REQUIREMENTS = ['pysnmp==4.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 25bed72b32bba0..cd042c018deddf 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -789,7 +789,7 @@ pysma==0.1.3 # homeassistant.components.device_tracker.snmp # homeassistant.components.sensor.snmp # homeassistant.components.switch.snmp -pysnmp==4.4.1 +pysnmp==4.4.2 # homeassistant.components.sensor.thinkingcleaner # homeassistant.components.switch.thinkingcleaner