From fea39b130689588c9a5a2d3f49f418448a34d777 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 4 Dec 2019 02:50:22 +0100 Subject: [PATCH] Added id to switch.wemo.status for compatibility with the frontend --- platypush/plugins/switch/wemo/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/switch/wemo/__init__.py b/platypush/plugins/switch/wemo/__init__.py index 0286735f81..9eb8b2e57b 100644 --- a/platypush/plugins/switch/wemo/__init__.py +++ b/platypush/plugins/switch/wemo/__init__.py @@ -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,