From 3b423900623fc1fc801f638ba4bb94b04ba40506 Mon Sep 17 00:00:00 2001 From: Bart274 Date: Mon, 18 Jan 2016 13:48:09 +0100 Subject: [PATCH] Update command_sensor.py --- homeassistant/components/binary_sensor/command_sensor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/binary_sensor/command_sensor.py b/homeassistant/components/binary_sensor/command_sensor.py index 11c8af141bd..8798e457e71 100644 --- a/homeassistant/components/binary_sensor/command_sensor.py +++ b/homeassistant/components/binary_sensor/command_sensor.py @@ -5,13 +5,12 @@ Allows to configure custom shell commands to turn a value into a logical value for a binary sensor. """ import logging -import subprocess from datetime import timedelta from homeassistant.const import CONF_VALUE_TEMPLATE from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.components.sensor.command_sensor import CommandSensorData -from homeassistant.util import template, Throttle +from homeassistant.util import template _LOGGER = logging.getLogger(__name__)