From 3173249dc320438a98f72872b25212993d0264a0 Mon Sep 17 00:00:00 2001 From: theolind Date: Sat, 7 Mar 2015 15:24:35 +0100 Subject: [PATCH] fixed typo --- homeassistant/components/sensor/systemmonitor.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/sensor/systemmonitor.py b/homeassistant/components/sensor/systemmonitor.py index 631610b09da..9fe67e206f2 100644 --- a/homeassistant/components/sensor/systemmonitor.py +++ b/homeassistant/components/sensor/systemmonitor.py @@ -29,13 +29,13 @@ def setup_platform(hass, config, add_devices, discovery_info=None): """ Sets up the sensors """ devices = [] - for resurce in config['resources']: - if 'arg' not in resurce: - resurce['arg'] = '' - if resurce['type'] not in sensor_types: - _LOGGER.error('Sensor type: "%s" does not exist', resurce['type']) + for resource in config['resources']: + if 'arg' not in resource: + resource['arg'] = '' + if resource['type'] not in sensor_types: + _LOGGER.error('Sensor type: "%s" does not exist', resource['type']) else: - devices.append(SystemMonitorSensor(resurce['type'], resurce['arg'])) + devices.append(SystemMonitorSensor(resource['type'], resource['arg'])) add_devices(devices)