device
This commit is contained in:
parent
cce0c16801
commit
7130ad71c9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue