Added id to switch.wemo.status for compatibility with the frontend
This commit is contained in:
parent
b4dbb0c5a6
commit
fea39b1306
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ class SwitchWemoPlugin(SwitchPlugin):
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
'id': addr,
|
||||||
'ip': addr,
|
'ip': addr,
|
||||||
'name': name if name != addr else self.get_name(addr).output,
|
'name': name if name != addr else self.get_name(addr).output,
|
||||||
'on': self.get_state(addr).output,
|
'on': self.get_state(addr).output,
|
||||||
|
|
Loading…
Reference in a new issue