diff --git a/homely/_ui.py b/homely/_ui.py
index <HASH>..<HASH> 100644
--- a/homely/_ui.py
+++ b/homely/_ui.py
@@ -384,8 +384,10 @@ def yesno(name, prompt, default=None, recommended=None, noprompt=None):
     if recommended is not None:
         rec = "[recommended={}] ".format("Y" if recommended else "N")
 
+    input_ = raw_input if sys.version_info[0] < 3 else input
+
     while True:
-        answer = input("{} {}[{}]: ".format(prompt, rec, options))
+        answer = input_("{} {} {} : ".format(prompt, rec, options))
         if answer == "" and default is not None:
             retval = default
             break
[9] homely._ui: need to use raw_input() for python2