From 9b0b3c474e250193730308b555034d458697e01b Mon Sep 17 00:00:00 2001 From: Jan Harkes Date: Tue, 23 Feb 2016 10:05:14 -0500 Subject: [PATCH] Fix dispatching of WeMo switch devices. I only have WeMo Link and Insight devices and assumed model names of other devices were fairly straightforward. But it looks like the regular WeMo switch uses 'Socket' as the model name. --- homeassistant/components/wemo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/wemo.py b/homeassistant/components/wemo.py index 1d4c1592dfc..fb1cc4e77d3 100644 --- a/homeassistant/components/wemo.py +++ b/homeassistant/components/wemo.py @@ -24,7 +24,7 @@ WEMO_MODEL_DISPATCH = { 'Insight': DISCOVER_SWITCHES, 'Maker': DISCOVER_SWITCHES, 'Motion': DISCOVER_MOTION, - 'Switch': DISCOVER_SWITCHES, + 'Socket': DISCOVER_SWITCHES, } WEMO_SERVICE_DISPATCH = { DISCOVER_LIGHTS: 'light',