mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00: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:
parent
60d579af84
commit
9b0b3c474e
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user