mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user