Print the message before executing them.

This commit is contained in:
Micke Prag 2012-06-27 17:21:21 +02:00
parent b9d2324552
commit 84330f8518

View file

@ -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)