def update(self, params):
dev_info = self.json_state.get('<STR_LIT>')<EOL>dev_info.update({k: params[k] for k in params if dev_info.get(k)})<EOL>
Update the dev_info data from a dictionary.

        Only updates if it already exists in the device.