Add back name to sensor toDict