def add_location_timezone_to_device(self, device_obj, location, timezone):
dictify_device_meta(device_obj)<EOL>device_obj['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>']['<STR_LIT:location>'] = location<EOL>device_obj['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>']['<STR_LIT>'] = location<EOL>device_obj['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>']['<STR_LIT>'] = timezone<EOL>device_obj['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>']['<STR_LIT>'] = timezone<EOL>return self.update_device(device_obj)<EOL>
Returns 'device object' with updated location

http://docs.exosite.com/portals/#update-device
http://docs.exosite.com/portals/#device-object