From 951fa603ff7a19c1a23569ad86f2a51df9304e15 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Sun, 7 Feb 2016 20:24:19 +0000 Subject: [PATCH] Support mPort voltage output switch types An mPort device has a voltage output port that, if configured, we should support like a switch. --- homeassistant/components/switch/mfi.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/switch/mfi.py b/homeassistant/components/switch/mfi.py index ac03e976e21..1cee23e906b 100644 --- a/homeassistant/components/switch/mfi.py +++ b/homeassistant/components/switch/mfi.py @@ -18,6 +18,9 @@ _LOGGER = logging.getLogger(__name__) SWITCH_MODELS = [ 'Outlet', + 'Output 5v', + 'Output 12v', + 'Output 24v', ]