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.
This commit is contained in:
Jan Harkes 2016-02-23 10:05:14 -05:00
parent 60d579af84
commit 9b0b3c474e

View File

@ -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',