diff --git a/homeassistant/components/sensor/command_line.py b/homeassistant/components/sensor/command_line.py index e3e361c1ae2..b7372edb0dc 100644 --- a/homeassistant/components/sensor/command_line.py +++ b/homeassistant/components/sensor/command_line.py @@ -54,7 +54,7 @@ class CommandSensor(Entity): self._hass = hass self.data = data self._name = name - self._state = False + self._state = STATE_UNKNOWN self._unit_of_measurement = unit_of_measurement self._value_template = value_template self.update()