This commit is contained in:
Øyvind Saltvik 2012-08-04 22:10:58 +02:00
parent cce0c16801
commit 7130ad71c9

View file

@ -10,7 +10,7 @@ allMethods = telldus.TELLDUS_TURNON | telldus.TELLDUS_TURNOFF | telldus.TELLDUS_
for i in xrange(devices):
deviceid = telldus.tdGetDeviceId(i)
name = tdGetName(id)
name = tdGetName(deviceid)
print "%s - %s\n" % (deviceid, name)