Refactor API message format

This commit is contained in:
R. Richard
2019-08-28 16:31:43 +02:00
parent 996e8e2af7
commit 25f54a71b5
7 changed files with 14 additions and 14 deletions

View File

@ -58,7 +58,7 @@ class HistoryMonitor(ABC, InotifyObserver):
def send_message(self, command):
self.uplink.send_message({
'key': f'history.{self.domain}',
'value': command
'command': command
}, intent=Intent.EVENT)