Added id to switch.wemo.status for compatibility with the frontend

This commit is contained in:
Fabio Manganiello 2019-12-04 02:50:22 +01:00
parent b4dbb0c5a6
commit fea39b1306

View file

@ -111,6 +111,7 @@ class SwitchWemoPlugin(SwitchPlugin):
return [
{
'id': addr,
'ip': addr,
'name': name if name != addr else self.get_name(addr).output,
'on': self.get_state(addr).output,