Upgrade pmsensor to 0.3 (#2883)

This commit is contained in:
Open Home Automation 2016-08-19 14:56:10 +02:00 committed by Fabian Affolter
parent ca1de9cac1
commit def9bbf827
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity
import homeassistant.helpers.config_validation as cv
from homeassistant.components.sensor import PLATFORM_SCHEMA
REQUIREMENTS = ['pmsensor==0.2']
REQUIREMENTS = ['pmsensor==0.3']
_LOGGER = logging.getLogger(__name__)
@ -29,7 +29,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup the available PM sensors."""
from pmsensor import serial_data_collector as pm
from pmsensor import serial_pm as pm
try:
coll = pm.PMDataCollector(config.get(CONF_SERIAL_DEVICE),

View File

@ -255,7 +255,7 @@ pilight==0.0.2
plexapi==2.0.2
# homeassistant.components.sensor.serial_pm
pmsensor==0.2
pmsensor==0.3
# homeassistant.components.climate.proliphix
# homeassistant.components.thermostat.proliphix