Print the message before executing them.
This commit is contained in:
parent
b9d2324552
commit
84330f8518
1 changed files with 2 additions and 2 deletions
|
@ -32,9 +32,9 @@ class TelldusCore():
|
|||
device['state'] = self.lib.tdLastSentCommand(device['id'], supportedMethods)
|
||||
|
||||
def turnoff(self, id):
|
||||
self.lib.tdTurnOff(id)
|
||||
print "Turning off: %i" % id
|
||||
self.lib.tdTurnOff(id)
|
||||
|
||||
def turnon(self, id):
|
||||
self.lib.tdTurnOn(id)
|
||||
print "Turning on: %i" % id
|
||||
self.lib.tdTurnOn(id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue