- Code: Select all
indigo.server.log(str(self.eEnergyCostTime)) gives: [[0, 24], [100, 24], [100, 24]] as it should be
- Code: Select all
indigo.server.log(str(self.eEnergyCostTime[0,0])) gives: <type 'exceptions.TypeError'>: list indices must be integers should log "0"
I am stuck on this one for more than 2 hours. no clue what to change, test .. I can put in i where i is 0 same result.
anything obvious?
Karl